LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to mount a directory? (https://www.linuxquestions.org/questions/linux-general-1/how-to-mount-a-directory-400641/)

mr_dizzle 01-07-2006 03:47 PM

How to mount a directory?
 
One of my servers has most of the drive space allocated to /home.
There is also a mount for /usr but not that much space is allocated to it.
All of the install/set-up scripts I have use the path of /usr.

Is there a way to allocate all of the space from /home to /usr and kill /home ?

Or should I mount /usr/local/apache (i want this directory) with the space from /home ?

I guess I am asking how to mount the space from /home to /usr/local/apache ??

I'm using ext3.

Thanks for you help.

Keruskerfuerst 01-07-2006 08:49 PM

Is there a way to allocate all of the space from /home to /usr and kill /home ?

If you backup /home, you can do that. Backup /home, umount /home and create instead of 1 partition 2 partitions. 1 part for /home, the other one for /usr (as desired).

Keruskerfuerst 01-07-2006 08:49 PM

Is there a way to allocate all of the space from /home to /usr and kill /home ?

If you backup /home, you can do that. Backup /home, umount /home and create instead of 1 partition 2 partitions. 1 part for /home, the other one for /usr (as desired).

Keruskerfuerst 01-08-2006 01:12 AM

But it is not easy to move an existing /usr

alunduil 01-08-2006 01:26 AM

why not just make a symbolic link from the full partition to the empty one?

Regards,

Alunduil

mr_dizzle 01-08-2006 05:20 PM

yeah, the symlink works and is probably the easiest way to fix.

thanks


All times are GMT -5. The time now is 10:15 PM.