I want /home to be mounted on /usr


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » System Level » File System

I want /home to be mounted on /usrLast Modified: Dec 3, 2009, 10:28 pm
If you currently have a large /usr partition, and /home is mounted onto a smaller / partition, you can move /home into /usr/home.

mkdir -p /usr/home
cp -Rp /home/* /usr/home/
mv /home /home.old
ln -s /usr/home /home

Test out everything, and make sure it all still works correctly.

Once satisfied that it's all working, and positive that the new location is being used, then you can delete /home.old:

rm -rf /home.old

Don't delete the directory yet, if you have any doubts.

You'll need to ensure that /usr has quotas enabled on it, and that the:

quota_partition=/usr

is set in your directadmin.conf.
 
Related Helpfiles
/var is full
Disk Usage is showing 0.00 or is too low

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST