Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.com!in1.uu.net!news.mindspring.com!usenet From: Ron Bolin <rlb@mindspring.com> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Howto Add a 2nd SCSI Disk, example Date: Thu, 28 Mar 1996 07:05:55 -0500 Organization: Federated Systems Group Lines: 32 Message-ID: <315A80A3.41C67EA6@mindspring.com> NNTP-Posting-Host: rlb.mindspring.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 2.01 (X11; I; FreeBSD 2.1.0-RELEASE i386) Just for documentation purposes, I figured out how to add a second SCSI disk (with Sean Fagan's tip). Here is the basics with an example of adding sd2 (on my system sd0 is for NT, sd1 is freebsd, sd2 is the 2nd freebsd disk I want to add): 1. Figure out your disk parameters and make an entry in /etc/disktab. For me it was a st12400n. 2. Zero out the boot block of the new disk with: dd if=/dev/zero of=/dev/rsd2 bs=1k count=1 3. fdisk -u /dev/rsd2, and update necessary info in the partition you wish to use. I used partion 3 (aka /dev/sd2c). 4. disklabel -rw /dev/sd2 st12400n. 5. newfs -T st12400n /dev/rsd2c. 6. run fsck /dev/rsd2c. 7. mount disk on a valid mount point. 8. add entry to /etc/fstab for automount. Hope this helps anyone that needs to add a second SCSI disk. -Ron -- **************************************************************************** Ron Bolin rlb@mindspring.com * GSU CS Grad Student gs01rlb@panther.gsu.edu * UNIX spoken here not MicroSoft Work Home * Federated Systems Group (System Specialist) (770) 263-2273 770-992-8877 * ****************************************************************************