Re: Put home directories on second hard drive?


Subject: Re: Put home directories on second hard drive?
From: Zeke Runyon (zrunyon@mac.com)
Date: Thu Dec 20 2001 - 21:06:23 MST


On Thursday, December 20, 2001, at 11:00 PM, Steve McGrane wrote:

> First, ID if it is sda, sdb, sdX... mke2fs /dev/sdX

I'm assuming a second SCSI hard drive would be /dev/sdb, right?

> Second Make a temporary mount point and mount... mkdir /mnt/newhome;
> mount
> /dev/sdX /mnt/newhome
>
> Third, copy all the files from /home to /mnt/newhome... man cp and
> add all
> the options you feel are appropriate.
>
> Fourth, and this is where it depends on your school... umount /home;
> umount /mnt/newhome; mnt /dev/sdX /mnt/newhome... I usually do this
> after
> rebooting to single user mode to make sure that no /home files are in
> use...
> on an x86 system, I use a boot disk, or I edit /etc/fstab to make this
> change live on the next boot.

This is where I get confused...

> If Fourth worked out, add it to /etc/fstab and figure out what to do
> with
> what was /home.

how?

So I wouldn't have to edit user's home directory locations to
/dev/sdb/home/user? I would mount the drive directly to /home?

                            ##
# Zeke Runyon | zrunyon@mac.com | zekeworld.home.dhs.org
# blog: communistsquirrel.home.dhs.org
# Mac OS X 10.1.1 5M28 | OS 9.2.1 | Yellow Dog Linux 2.1
# Communist squirrels shall rule the world.



This archive was generated by hypermail 2a24 : Thu Dec 20 2001 - 21:19:27 MST