Mounting
I got a _small_ Q here...
I have setup a system with 1 hdd devided in 3 (durring the Deb install).
|
Yes just like a normal mount, First though you'll have to do some work as root, to move home back onto the root partition.
So login as root, and unmount /home and make a dir in /mnt to remount it. say /mnt/home mount it then transfer the contents using mv to /home. umount /home mkdir /mnt/home mount /dev/hda2 /mnt/home cd /mnt/home mv -f * /home/ Now we need to move any contents of www to the partition, unmount it and remount it as www. cd /www mv -f * /mnt/home/ umount /mnt/home mount /dev/hda2 /www Now change fstab mountpoint from /home to /www. |
Tnx for the fast reply!
Just checkn....this wil move /home to hda1 and /www to hda6 (in this case), right? I guess I could have been more specific... I want to move /www to reside next to /home. The reason I asked is because /home does not apear as a symlink. |
What I've written will change the third partition from home to www. If you want www as a new partition, you'll need to repartition the disk.
home is not a symlink its a directory, you've have it as a partition, but the home directory always exists, but its used as a mount point for a partition. |
Ok, then I understod you right. Hmm.... I worked on a new server until 3 in the morning. D***. Next time I'll do that.
Thanks for the great info, leonscape! :) |
All times are GMT -5. The time now is 08:18 AM. |