On Mon, 2003-03-31 at 16:11, Edwin Humphries wrote:
> I want to add a second hard drive to my server, but I need to define it's mount 
> point as /home/.
> 
> I've worked out how to partition it and set up the file system, but all the advice 
> I've found so far uses rather useless (for me) mount points such as /new/, or 
> /mnt/hd2, or similar.
> 
> Can I mount the new drive into /home/?
> What will it do to the data already in that directory, and its subdirectories?

Nothing.  You won't be able to see any existing data on the /home
directory while the drive is mounted, but it'll still be there.  Any
data written while the new drive is mounted won't be reflected on the
/home directory.  The disk mounted on /home effectively hides the old
directory.

If you want to copy all of your /home dir to the new disk, mount the new
disk somewhere else first (e.g. /mnt/home) 'cp -a /home /mnt/home' then
unmount /mnt/home and remount it at /home.

Make sure no one is logged in (and using the /home directory) until
you've finished.

If you want the mount to be permanent, edit /etc/fstab and add a line
for this mount.

-- 
Cliff Wells, Software Engineer
Logiplex Corporation (www.logiplex.net)
(503) 978-6726 x308  (800) 735-0555 x308



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to