BackupPC-users

[BackupPC-users] Display inode usage in Server Status page.

2011-04-10 17:42:30
Subject: [BackupPC-users] Display inode usage in Server Status page.
From: "G.W. Haywood" <backup AT jubileegroup.co DOT uk>
To: backuppc-users AT lists.sourceforge DOT net
Date: Sun, 10 Apr 2011 22:39:34 +0100 (BST)
Hi there,

While lurking on the list I've seen a number of people mention running
out of inodes.  It seemed odd to me that there was no mention of the
inode usage on BackupPC's Server Status page.  So I did a quick bodge
on one of my systems to show it.  The patches are here:

http://www.jubileegroup.co.uk/JOS/misc/patches/BackupPC/show_inodes/

This seems to do what I want on my system but it was a very quick hack
and I can think of all sorts of reasons it might go wrong.  The df
'-i' option and the maximum inode percentage are hard coded, and they
should probably go in the configuration; in the BackupPC configuration
there are several values stored for the percentage disc capacity used
(e.g. yesterday's maximum) which I haven't implemented for the inode
percentage in my hack; I only patched the English language version of
the language-specific .pm files; the format of the output of the inode
percentage on the rendered page could be improved; there are several
places in the code where disc space usage is mentioned in output but
atm I've only modified a couple of them to show the inode percentage.

If anyone is interested in making this better, at least it's a start.

--

73,
Ged.

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>
  • [BackupPC-users] Display inode usage in Server Status page., G.W. Haywood <=