- To: <edwin@xxxxxxxxxxxxxxxx>, <slug@xxxxxxxxxxx>
- Subject: RE: [SLUG] Mounting a second hard drive
- From: "Brett Fenton" <brett.fenton@xxxxxxxxxxxxxxxxxx>
- Date: Tue Apr 1 10:21:02 2003
- Reply-to: <brett.fenton@xxxxxxxxxxxxxxxxxx>
The easist way to do it is to:
1. fdisk to make the partitions on the new disk
2. create the filesystem (different tools for diferent fs)
3. mount the disk in some temporary space eg /mnt/home2
4. copy all the data over from /home to /mnt/home2 ensuring that you
maintain file permissions
5. edit fstab so that /home mounts on the new device
6. for safety mv /home /home_old (you can delete if everything is okay
later)
alternatively you can copy all the data across and symlink /home to
the new location.
Brett
:> -----Original Message-----
:> From: slug-admin@xxxxxxxxxxx
:> [mailto:slug-admin@xxxxxxxxxxx]On Behalf Of
:> Edwin Humphries
:> Sent: Tuesday, 1 April 2003 10:11 AM
:> To: slug@xxxxxxxxxxx
:> Subject: [SLUG] Mounting a second hard drive
:>
:>
:> 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 wil it do to the data already in that directory, and
:> its subdirectories?
:>
:> Edwin Humphries,
:> Ironstone Technology Pty Ltd
:> edwin@xxxxxxxxxxxxxxxx
:> www.ironstone.com.au
:> Phone: 02 4233 2285
:> Fax: 02 4233 2299
:> Mobile: 0419 233 051
:> --
:> SLUG - Sydney Linux User's Group - http://slug.org.au/
:> More Info: http://lists.slug.org.au/listinfo/slug
:>