PDA

View Full Version : File System Readout Problem



hostanet
11-04-2003, 08:58 AM
There seems to be a problem in the file system usage readout.
Click > Admin Panel
Click > Complete Usage Statistics
The File System information shows double disk space of what is actually available and double disk space of what is actually been used.
All the other infomation is correct!

DirectAdmin Support
11-04-2003, 11:02 AM
Hello,

Are you referring to the partition stats? It uses "df" to check the disk usage. Try running "df" and see if it returns the same thing.

John

hostanet
11-06-2003, 08:30 AM
When I run "df" it shows half the values that Direct Admin shows.
The numbers listed under the following columns are twice the value they should be.
512K BLOCKS - USED - AVAIL

See attached screenshot.
The "filesystem" - "capacity" and "mounted on" columns are correct.

DirectAdmin Support
11-06-2003, 11:17 AM
Hello,

A 512 block is half the size of a 1k block, so you'll have twice as many. I guess your filesystem might be formatted a bit differently.

John

hostanet
11-06-2003, 11:21 AM
Yes - When I run "df" it does show "1K BLOCKS" at the top of the page instead of "512K BLOCKS".
I used the standard FreeBSD "ufs" when I set up the drives.
Is there a way to change Direct Admin so it reads correctly?
Thanks!
John

DirectAdmin Support
11-06-2003, 12:35 PM
Hello,

Strange... DirectAdmin runs "/bin/df" and parses exactly what you see. So maybe you have two copies of df? one being in a different path?

John

hostanet
11-24-2003, 09:25 AM
When I go to the command line and type in "df" or "df -h" I get the correct reading. When I type in "df -b" I get the incorrect reading (double the actual values) that is the same as Direct Admin shows me.

DirectAdmin Support
11-24-2003, 11:09 AM
Ok, I've set the df call to use -h, so it should fix it, and also make it more readable for everyone.

John