Koozali.org: home of the SME Server
Obsolete Releases => SME Server 6.x => Topic started by: ephraims on February 21, 2007, 01:53:02 AM
-
I have a customer that has a 175gb hard drive. They are down to there last two gigs but i can not determin where the space has gone. If i use durep and see what is being used by everyone there is only 100gb in the list .. Where is the other 73gb gone?..
I am doing checks on the other directories /var/logs /var/html and others and none of them have any noticable space usage up to about 100gb? any ideas as to where the space is being used
-
ephraims
http://www.wallpaperama.com/forums/linux-command-to-find-how-much-disk-space-is-being-used-show-display-t713.html
du -hc --max-depth=1
change location and maxdepth to suit requirements
eg
cd /home/e-smith/files
du -hc --max-depth=3
Does
df -h
show your total disk space as being available ?
-
Ray;
Thx for suggestion, I had a similar problem and found 78 Gb of old backups and the like.
If I keep this up, I might actually know something... (nfw)
Ian
-
ephraims
http://www.wallpaperama.com/forums/linux-command-to-find-how-much-disk-space-is-being-used-show-display-t713.html
du -hc --max-depth=1
change location and maxdepth to suit requirements
eg
cd /home/e-smith/files
du -hc --max-depth=3
Does
df -h
show your total disk space as being available ?
Thanks Ray, that was very beneficial to me as well.
I was looking at the durep contrib and Curly pointed out to me (http://forums.contribs.org/index.php?topic=31579.0) yesterday how to manually update the Disk Usage information shown on the panel. I took a look in /usr/sbin/durep.daily and I see entries for the users and ibays and I wondered if I could get it to show the usage for the entire drive...
***Preface - I have absolutely no idea what I am doing. It is entirely possible that what I did will cause me great pain later...***
I added the following line under the second line (the one that ends in /ibays)/usr/local/bin/durep -q -x -sf /var/www/html/root.ds /
I then went to /var/www/html and created an empty file named root.ds.
When I forced durep to update (/usr/sbin/durep.daily) and went back to the panel I had a third entry that shows the usage of the entire file system (as near as I can tell...)
This is handy to me, but maybe someone that knows what they are doing will tell me if I made a serious mistake?
Ryan