Hi Dave, On 1/9/07, Dave Shield <[EMAIL PROTECTED]> wrote: > On 09/01/07, Deon van der Merwe <[EMAIL PROTECTED]> wrote: > > According to net-snmp disk usage percentage is: 78.20% > > Different than df, but df is also strange... > > [EMAIL PROTECTED] df -B4096 > > Filesystem 4K-blocks Used Available Use% Mounted on > > /dev/sda3 8517017 6661036 1423331 83% / > > > > Again it reports 83% use, but if you do the calculation yourself you > > get: 78.20% which is the same as net-snmp... but what about this 83% > > then? > > Traditionally, Unix filesystems have reserved a small percentage of the > disk for "root-only" activity. This is therefore not available for general > use. > You'll note that User+Available = 8084367, which is not the same as the > total size. > 6661036/8084367 = 82.3%
Thanks for the pointer in the right direction. The confirmation is in the documentation: ================ man mke2fs ... -m reserved-blocks-percentage Specify the percentage of the filesystem blocks reserved for the super-user. This avoids fragmentation, and allows root-owned daemons, such as syslogd(8), to continue to function correctly after non-privileged processes are prevented from writing to the filesystem. The default percentage is 5%. ... ================ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users