Re: Put home directories on second hard drive?


Subject: Re: Put home directories on second hard drive?
From: Zeke Runyon (zrunyon@mac.com)
Date: Fri Dec 21 2001 - 18:13:19 MST


* Here's what I'm planning to do. Please look over/approve. *

1). Shut down the system and plug in the second SCSI drive.
2). Start up, do a dmesg | less to verify that the new drive is /dev/sdb
3). mkfs -t ext2 /dev/sdb <blocks> (how do I find out the exact number
of blocks?). Does this command reformat the drive?
4). mount this new drive at /newhome, copy all my /home files to /newhome
5). umount /dev/sdb, rm /home (knowing that I'm running nothing from the
directory currently), mount /dev/sdb /home
6). Edit /etc/fstab to add the new drive, my /etc/fstab file reads
currently:

/dev/sda9 / ext2
defaults 1 1
/dev/sda8 swap swap
defaults 0 0
/dev/cdrom /mnt/cdrom auto
noauto,ro,user 0 0
none /proc proc
defaults 0 0
none /proc/bus/usb usbdevfs
defaults 0 0
none /dev/pts devpts
gid=5,mode=620 0 0

What do I add?

/dev/sdb /home ext2 defaults

What _are_ the numbers (0 and 1) at the end of each line of my current
/etc/fstab file?

7). Reboot and hope everything works...

                            ##
# 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 : Fri Dec 21 2001 - 18:26:21 MST