[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] The filesystem [/] is getting very full



I recently faced the same problem.
I didn't have a script but I moved my usr directory to home and then created a symlink to it. After doing so, you'll have to restart some of your services that may have relied on data in the /usr directory (for instance mysql).

I used:

whilst in "/" and as root:

cp -a /usr /home
ln -s /home/usr usr

Restart any necessary services.
Course your milage may vary, and you may feel less stressed using a script, I know I gained a few grey hairs doing this.

Kam.


Hi Guys,

Just received this and i have looked in the archives, im sure i read here
not to long ago about a script that could be run that would move and symlink
certain directories from / to increase the space, but i cant find any
reference to it, could someone kindly point me in the right direction.

just some info here on the message and some outputs.

Total disk space:  726.04 MB
Free disk space:  49.88 MB
Percent Used:  93 %


[root /usr]# du / -xh --max-depth 1
12k     /lost+found
10k     /nsr
20M     /etc
3.9M    /bin
2.4M    /boot
13M     /lib
6.0k    /mnt
67M     /root
6.1M    /sbin
565M    /usr
80k     /dev
1.0k    /vol
678M    /


Regards.

Mark Priest

_____________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users