Date: Sat, 2 Aug 1997 20:39:14 -0400 From: Leo Papandreou <leo@talcom.net> To: questions@freebsd.org Subject: adding a new disk Message-ID: <19970802203913.32704@homer.supersex.com>
next in thread | raw e-mail | index | archive | help
Hello all, I am trying to add a new disk to 2.1.7 system. I am using both the narrow and wide interfaces on a single 2940. The existing disks are probed as 0, 2, 3 and 4 and are being mapped to sd0, sd1, sd2, sd3. The new disk I am adding, a seagate ST32430N, is set to ID 1 (1, 2 and 4 are available according to the documentation. Beats me, may have something to do with the fact that it was designed, manufactured to apple specs, and in fact pulled out of a mac). Ok so far except that once probed, FreeBSD assigns it sd1. I propose to do the following: (1) edit /etc/fstab bumping up sd1 to sd2, sd2 to sd3, sd3 to sd4 leaving sd0 alone (2) boot off the installation floppy, configure the new disk as FreeBSD, write the changes and back completely out of the installation. (3) reboot, newfs and label the new disk. Will this work without hosing the existing installation? If not, what do I have to do? ------------------------------------------------------------------------ This is output from du: Filesystem 512-blocks Used Avail Capacity Mounted on /dev/sd0a 127134 26064 90900 22% / /dev/sd2s1e 4270428 3837038 91756 98% /A /dev/sd2s1f 4345958 3562518 435764 89% /B /dev/sd3s1e 4270428 3734362 194432 95% /C /dev/sd3s1f 4352412 3078572 925648 77% /D /dev/sd1s1e 3972990 1695492 1959660 46% /news /dev/sd1s1f 3899710 1571160 2016574 44% /swen /dev/sd0s1f 1009086 526638 401722 57% /usr /dev/sd0s1e 594846 116208 431052 21% /var procfs 8 8 0 100% /proc ------------------------------------------------------------------------ /etc/fstab # Device Mountpoint FStype Options Dump? fsck pass# # (0=no) (0=no fsck) /dev/sd0s1b none swap sw 0 0 /dev/sd1s1b none swap sw 0 0 /dev/sd0a / ufs rw 1 1 /dev/sd2s1e /A ufs rw 1 1 /dev/sd2s1f /B ufs rw 1 1 /dev/sd3s1e /C ufs rw 1 1 /dev/sd3s1f /D ufs rw 1 1 /dev/sd1s1e /news ufs rw 1 1 /dev/sd1s1f /swen ufs rw 1 1 /dev/sd0s1f /usr ufs rw 1 1 /dev/sd0s1e /var ufs rw 1 1 proc /proc procfs rw 0 0 ------------------------------------------------------------------------ relevant info from /var/messages Aug 2 19:42:36 bart /kernel: ahc0 <Adaptec 2940 SCSI host adapter> rev 3 int a irq 11 on pci0:16 Aug 2 19:42:36 bart /kernel: ahc0: aic7870 Wide Channel, SCSI Id=7, 16 SCBs Aug 2 19:42:36 bart /kernel: ahc0 waiting for scsi devices to settle Aug 2 19:42:36 bart /kernel: (ahc0:0:0): "SEAGATE ST31230N 0300" type 0 fixed SCSI 2 Aug 2 19:42:36 bart /kernel: sd0(ahc0:0:0): Direct-Access 1010MB (2069860 512 byte sectors) Aug 2 19:42:36 bart /kernel: (ahc0:2:0): "Quantum XP34300 81HB" type 0 fixed SCSI 2 Aug 2 19:42:36 bart /kernel: sd1(ahc0:2:0): Direct-Access 4101MB (8399520 512 byte sectors) Aug 2 19:42:37 bart /kernel: (ahc0:3:0): "QUANTUM XP34550W LXY1" type 0 fixed SCSI 2 Aug 2 19:42:37 bart /kernel: sd2(ahc0:3:0): Direct-Access 4341MB (8890760 512 byte sectors) Aug 2 19:42:37 bart /kernel: (ahc0:4:0): "QUANTUM XP34550W LXY1" type 0 fixed SCSI 2 Aug 2 19:42:37 bart /kernel: sd3(ahc0:4:0): Direct-Access 4341MB (8890760 512 byte sectors)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970802203913.32704>