Web Hosting Talk







View Full Version : what's on taking up /dev/hda1 ?


eva2000
01-03-2001, 01:53 PM
what's taking up the hard drive space on a raq3 at /dev/hda1 ?

Filesystem Size Used Avail Use% Mounted on
/dev/hda1 726M 479M 247M 66% /
/dev/hda3 194M 8.3M 186M 4% /var
/dev/hda4 8.2G 653M 7.5G 8% /home

typus
01-03-2001, 02:21 PM
all of the directories that contain files besides /var and /home

Keeg
01-03-2001, 04:18 PM
check your /tmp directory

Steve

eva2000
01-03-2001, 04:33 PM
thanks steve.. but /tmp is empty ?

Keeg
01-03-2001, 04:50 PM
type du -s /* from a telnet or ssh prompt and it will tell you what each partition is using it will include /usr /home and /var you can ignore those.

Steve

Félix C.Courtemanche
01-03-2001, 05:10 PM
use du -sh /* if you want to have the results in MB, GB, etc.

dutchnet
08-17-2001, 03:41 PM
Hi,

Analog is taking up your space on the root file system


It most likely is caused by the web log getting extremely large. The following moved it to /home where there was plenty of room. Use the command df to see exact figures.

mkdir /home/webdata
cd /usr/admserv/html/.cobalt/report/
mv * /home/webdata/
cd ..
rm -r ./report
ln -s /home/webdata/ ./report

Try this before you start wacking RPMs. It made my / partition got from 94% used to 73% :)


Erik