Web Hosting Talk







View Full Version : Which dirs from the filesystem disk can be moved to home?


jaime
06-13-2001, 07:00 AM
Hello,

I'm receiving Disk Space warnings from my raq3. I have my filesystem disk with only 200 mb's free.

I've moved my mysql databases to the home disk and made symbolic links. Which other directories can I move to home making symbolic links?

Where do I have to look in the system disk to free space? how can I clean tmp files from there (where they are?¿ ) ?

Any help would be appreciated.

Thanks

huck
06-13-2001, 09:02 AM
I've moved /opt and /tmp to home. Other directories such as /etc, /bin, /sbin are highly critical files and should be left alone if possible.

You may want to look at include files and other things in /usr. Many of these directories can be moved as they are only used during program compilation.

Unless you have added a lot of files, your / should be within tolerance limits.

Also, note that the root's home directory is on / not /home. Do not put stuff in /root; use your admin directory.

jaime
06-13-2001, 09:33 AM
That's what I don't understand. I've Installed some months ago webalizer 1.3 and openssh 2.9. No more extra software or any other files.

The only thing I suspected caused the disk warning were the Mysql databases. I moved them to /home/sites/home/mysqldb and they were only about 15 mb's. I think this is not the cause of the warning.

I'll try to move the tmp and opt dirs as you did.

Can I also move the whole /usr dir ?

thanks

huck
06-13-2001, 09:40 AM
I've noticed that the control panel for the Raq gives false warnings regarding disk usage. Use df at the command line to check the real disk levels.

You should be able to move all of usr but if possible, I would stop all uncessary services during the re-location.