LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Home directories are full (https://www.linuxquestions.org/questions/linux-general-1/home-directories-are-full-186757/)

homerson 05-27-2004 09:46 PM

Home directories are full
 
My home directories are already full. I mounted a new hard drive. How can I allocate space from this new hard drive to the existing user home directories?

Is it possible?

Thanks,

Homer

Tinkster 05-27-2004 10:24 PM

I'd suggest to create a partition on the new hdd,
format it.
Mount it to some temporary directory.
Then copy all directories from /home over to the
temporary directory that the new hdd is mounted to.

Unmount new hdd.

Edit /etc/fstab, create an entry for
/home that points to the new partition.

Mount /home

See whether everything works fine.

If it does, unmount /home

Delete the files in the old home.

Mount /home again.

Voila :}


Cheers,
Tink


P.S.: Check my steps CAREFULLY, I may have
overlooked something, it's been a while that I did
it myself ;) The tips come with the GNU Licenses,
and NO responsibility :D


All times are GMT -5. The time now is 12:28 PM.