From owner-freebsd-questions@FreeBSD.ORG Wed Dec 22 22:25:48 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 374C616A4CE for ; Wed, 22 Dec 2004 22:25:48 +0000 (GMT) Received: from Webshield1.kwe.com (webshield1.kwe.com [202.19.126.106]) by mx1.FreeBSD.org (Postfix) with SMTP id 7CBDD43D41 for ; Wed, 22 Dec 2004 22:25:47 +0000 (GMT) (envelope-from faisal.ali@kwe.com) Received: From JER3000041 ([10.0.32.174]) by Webshield1.kwe.com (WebShield SMTP v4.5 MR1a P0803.345); id 110373288978; Wed, 22 Dec 2004 16:28:09 +0000 From: "Faisal Ali" To: Date: Wed, 22 Dec 2004 17:25:46 -0500 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0012_01C4E84B.45D75E30" X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcTodS5l+ejzwYstTKqZFsRenBqA3g== Message-Id: <20041222222547.7CBDD43D41@mx1.FreeBSD.org> X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Vinum bootable RAID-1 setup help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Dec 2004 22:25:48 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0012_01C4E84B.45D75E30 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Hello, I really tried my best to follow the FreeBSD handbook documentation to setup bootable RAID-1 volume, I just can't seem to understand Section 17.9.2, Iam working with 5.3 i386 Release. Attached is the output of what I have done so far. Please tell me how do I apply section 17.9.2 next. Sorry to ask such a lengthy question, but Iam contacting you after trying my utmost to follow the documentation. A quick history.I have setup FreeBSD 5.3 on HP NetServer containing two 4.26GB hotswappble Ultra2 SCSI drives. Thankyou Faisal Ali Network Engineer Kintetsu Global IT Inc. 100 Jericho Quadrangle, Suite 144 Jericho, NY 11753 ------=_NextPart_000_0012_01C4E84B.45D75E30 Content-Type: text/plain; name="vinum bootable RAID-1 setup.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="vinum bootable RAID-1 setup.txt" #df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/da0s1a 253678 35414 197970 15% / devfs 1 1 0 100% /dev /dev/da0s1e 253678 6 233378 0% /tmp /dev/da0s1f 2274424 376192 1716280 18% /usr /dev/da0s1d 253678 466 232918 0% /var #bsdlabel -e /dev/da0s1 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 524288 0 4.2BSD 2048 16384 32776 b: 2045808 524288 swap c: 8321607 0 unused 0 0 # "raw" part, = don't edit d: 524288 2570096 4.2BSD 2048 16384 32776 e: 524288 3094384 4.2BSD 2048 16384 32776 f: 4702935 3618672 4.2BSD 2048 16384 28552 #bsdlabel -e /dev/da1s1 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 524288 0 4.2BSD 2048 16384 32776 b: 2045808 524288 swap c: 8321607 0 unused 0 0 # "raw" part, = don't edit d: 524288 2570096 4.2BSD 2048 16384 32776 e: 524288 3094384 4.2BSD 2048 16384 32776 f: 4702935 3618672 4.2BSD 2048 16384 28552 # more /etc/fstab Device Mountpoint FStype Options Dump = Pass# /dev/da0s1b none swap sw 0 = 0 /dev/da0s1a / ufs rw 1 = 1 /dev/da0s1e /tmp ufs rw 2 = 2 /dev/da0s1f /usr ufs rw 2 = 2 /dev/da0s1d /var ufs rw 2 = 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 = 0 #vinum vinum -> mirror -v -n root-a /dev/da0s1a /dev/da1s1a vinum -> mirror -v -n swap-b /dev/da0s1b /dev/da1s1b vinum -> mirror -v -n tmp-e /dev/da0s1e /dev/da1s1e vinum -> mirror -v -n usr-f /dev/da0s1f /dev/da1s1f vinum -> mirror -v -n var-d /dev/da0s1d /dev/da1s1d vinum -> list 10 drives: D vinumdrive0 State: up /dev/da0s1a A: 0/256 MB (0%) D vinumdrive1 State: up /dev/da1s1a A: 0/256 MB (0%) D vinumdrive2 State: up /dev/da0s1b A: 0/998 MB (0%) D vinumdrive3 State: up /dev/da1s1b A: 0/998 MB (0%) D vinumdrive4 State: up /dev/da0s1e A: 0/256 MB (0%) D vinumdrive5 State: up /dev/da1s1e A: 0/256 MB (0%) D vinumdrive6 State: up /dev/da0s1f A: 0/2296 MB = (0%) D vinumdrive7 State: up /dev/da1s1f A: 0/2296 MB = (0%) D vinumdrive8 State: up /dev/da0s1d A: 0/256 MB (0%) D vinumdrive9 State: up /dev/da1s1d A: 0/256 MB (0%) 5 volumes: V root-a State: up Plexes: 2 Size: 255 = MB V swap-b State: up Plexes: 2 Size: 998 = MB V tmp-e State: up Plexes: 2 Size: 255 = MB V usr-f State: up Plexes: 2 Size: 2296 = MB V var-d State: up Plexes: 2 Size: 255 = MB 10 plexes: P root-a.p0 C State: up Subdisks: 1 Size: 255 = MB P root-a.p1 C State: up Subdisks: 1 Size: 255 = MB P swap-b.p0 C State: up Subdisks: 1 Size: 998 = MB P swap-b.p1 C State: up Subdisks: 1 Size: 998 = MB P tmp-e.p0 C State: up Subdisks: 1 Size: 255 = MB P tmp-e.p1 C State: up Subdisks: 1 Size: 255 = MB P usr-f.p0 C State: up Subdisks: 1 Size: 2296 = MB P usr-f.p1 C State: up Subdisks: 1 Size: 2296 = MB P var-d.p0 C State: up Subdisks: 1 Size: 255 = MB P var-d.p1 C State: up Subdisks: 1 Size: 255 = MB 10 subdisks: S root-a.p0.s0 State: up D: vinumdrive0 Size: 255 = MB S root-a.p1.s0 State: up D: vinumdrive1 Size: 255 = MB S swap-b.p0.s0 State: up D: vinumdrive2 Size: 998 = MB S swap-b.p1.s0 State: up D: vinumdrive3 Size: 998 = MB S tmp-e.p0.s0 State: up D: vinumdrive4 Size: 255 = MB S tmp-e.p1.s0 State: up D: vinumdrive5 Size: 255 = MB S usr-f.p0.s0 State: up D: vinumdrive6 Size: 2296 = MB S usr-f.p1.s0 State: up D: vinumdrive7 Size: 2296 = MB S var-d.p0.s0 State: up D: vinumdrive8 Size: 255 = MB S var-d.p1.s0 State: up D: vinumdrive9 Size: 255 = MB vinum -> quit # vinum l -rv root-a Volume root-a: Size: 268299776 bytes (255 MB) State: up Flags: 2 plexes Read policy: round robin Plex root-a.p0: Size: 268299776 bytes (255 MB) Subdisks: 1 State: up Organization: concat Part of volume root-a Plex root-a.p1: Size: 268299776 bytes (255 MB) Subdisks: 1 State: up Organization: concat Part of volume root-a Subdisk root-a.p0.s0: Size: 268299776 bytes (255 MB) State: up Plex root-a.p0 at offset 0 (0 B) Drive vinumdrive0 (/dev/da0s1a) at offset 135680 (132 = kB) Subdisk root-a.p1.s0: Size: 268299776 bytes (255 MB) State: up Plex root-a.p1 at offset 0 (0 B) Drive vinumdrive1 (/dev/da1s1a) at offset 135680 (132 = kB) # dmesg Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights = reserved. FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC MPTable: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium II/Pentium II Xeon/Celeron (399.32-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0x652 Stepping =3D 2 = Features=3D0x183fbff real memory =3D 536870912 (512 MB) avail memory =3D 515694592 (491 MB) ioapic0: Assuming intbase of 0 ioapic0 irqs 0-23 on motherboard npx0: [FAST] npx0: on motherboard npx0: INT 16 interface pcib0: pcibus 0 on motherboard pci0: on pcib0 isab0: at device 4.0 on pci0 isa0: on isab0 atapci0: port = 0xfcd0-0xfcdf,0x376,0x170-0x177,0x3f6,0x1f0 -0x1f7 at device 4.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 uhci0: port 0xfce0-0xfcff at = device 4.2 on pci0 pcib0: unable to route slot 4 INTD uhci0: Could not allocate irq device_attach: uhci0 attach returned 6 pci0: at device 4.3 (no driver attached) pcib1: at device 7.0 on pci0 pci1: on pcib1 sym0: <895> port 0xe400-0xe4ff mem = 0xfebfd000-0xfebfdfff,0xfebff400-0xfebff4ff irq 10 at device 6.0 on pci1 sym0: Symbios NVRAM, ID 7, Fast-40, LVD, parity checking sym0: open drain IRQ line driver, using on-chip SRAM sym0: using LOAD/STORE-based firmware. sym0: [GIANT-LOCKED] sym1: <895> port 0xe800-0xe8ff mem = 0xfebfe000-0xfebfefff,0xfebff800-0xfebff8ff irq 11 at device 7.0 on pci1 sym1: Symbios NVRAM, ID 7, Fast-40, LVD, parity checking sym1: open drain IRQ line driver, using on-chip SRAM sym1: using LOAD/STORE-based firmware. sym1: [GIANT-LOCKED] pci0: at device 7.1 (no driver attached) pcib2: at device 8.0 on pci0 pci2: on pcib2 fxp0: port 0xdcc0-0xdcdf mem = 0xfe800000-0xfe8fffff,0xefffd 000-0xefffdfff irq 15 at device 3.0 on pci2 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:90:27:61:2b:74 pci0: at device 11.0 (no driver attached) pci0: at device 13.0 (no driver attached) cpu0 on motherboard orm0: at iomem 0xc8000-0xcbfff,0xc0000-0xc7fff on isa0 pmtimer0 on isa0 atkbdc0: at port 0x64,0x60 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse, device ID 3 fdc0: at port 0x3f0-0x3f5 irq 6 drq 2 on = isa0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on = isa0 unknown: can't assign resources (port) unknown: can't assign resources (port) ppc1: parallel port not found. unknown: can't assign resources (irq) unknown: can't assign resources (port) Timecounter "TSC" frequency 399320623 Hz quality 800 Timecounters tick every 10.000 msec acd0: CDROM at ata0-master PIO4 Waiting 15 seconds for SCSI devices to settle (noperiph:sym0:0:-1:-1): SCSI BUS reset delivered. (noperiph:sym1:0:-1:-1): SCSI BUS reset delivered. da0 at sym0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 80.000MB/s transfers (40.000MHz, offset 15, 16bit), Tagged Queueing = Enabled da0: 4067MB (8330543 512 byte sectors: 255H 63S/T 518C) da1 at sym0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-2 device da1: 80.000MB/s transfers (40.000MHz, offset 15, 16bit), Tagged Queueing = Enabled da1: 4067MB (8330543 512 byte sectors: 255H 63S/T 518C) Mounting root from ufs:/dev/da0s1a vinum: loaded vinum: drive vinumdrive0 is up vinum: drive vinumdrive1 is up vinum: root-a.p0.s0 is up vinum: root-a.p1.s0 is up vinum: root-a.p0 is up vinum: root-a is up vinum: drive vinumdrive2 is up vinum: drive vinumdrive3 is up vinum: swap-b.p0.s0 is up vinum: swap-b.p1.s0 is up vinum: swap-b.p0 is up vinum: swap-b is up vinum: drive vinumdrive4 is up vinum: drive vinumdrive5 is up vinum: tmp-e.p0.s0 is up vinum: tmp-e.p1.s0 is up vinum: tmp-e.p0 is up vinum: tmp-e is up vinum: drive vinumdrive6 is up vinum: drive vinumdrive7 is up vinum: usr-f.p0.s0 is up vinum: usr-f.p1.s0 is up vinum: usr-f.p0 is up vinum: usr-f is up vinum: drive vinumdrive8 is up vinum: drive vinumdrive9 is up vinum: var-d.p0.s0 is up vinum: var-d.p1.s0 is up vinum: var-d.p0 is up vinum: var-d is up # ------=_NextPart_000_0012_01C4E84B.45D75E30--