Date: Thu, 10 Nov 2005 23:42:05 -0500 From: Marc Ramirez <marc.ramirez@bluecirclesoft.com> To: freebsd-stable@freebsd.org Subject: gvinum forgetting drives in 6.0R? Message-ID: <200511102342.11446.marc.ramirez@bluecirclesoft.com>
next in thread | raw e-mail | index | archive | help
--nextPart3836566.RnPFYSrNfZ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I'm doing some testing in 6.0, and something strange is happening: 1) uname -a =46reeBSD 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005= =20 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386 2) I build a stripe set using 'gvinum create' and the following config: drive dr3 device /dev/ad3s1 drive dr2 device /dev/ad2s1 drive dr1 device /dev/ad1s1 volume v0 plex name v0.p0 org striped 256s vol v0 sd name v0.p0.s2 drive dr3 len 613376s driveoffset 265s plex v0.p0 plexoff= set=20 512s sd name v0.p0.s1 drive dr2 len 613376s driveoffset 265s plex v0.p0 plexoff= set=20 256s sd name v0.p0.s0 drive dr1 len 613376s driveoffset 265s plex v0.p0 plexoff= set=20 0s 3) After this is done, everything's okay, and 'gvinum l' looks like: 3 drives: D dr1 State: up /dev/ad1s1 A: 0/299 MB (0%) D dr2 State: up /dev/ad2s1 A: 0/299 MB (0%) D dr3 State: up /dev/ad3s1 A: 0/299 MB (0%) 1 volume: V v0 State: up Plexes: 1 Size: 898 MB 1 plex: P v0.p0 S State: up Subdisks: 3 Size: 898 MB 3 subdisks: S v0.p0.s0 State: up D: dr1 Size: 299 MB S v0.p0.s1 State: up D: dr2 Size: 299 MB S v0.p0.s2 State: up D: dr3 Size: 299 MB 4) gvinum saveconfig 5) Reboot 6) 'gvinum l' now looks like: 0 drives: 1 volume: V v0 State: up Plexes: 0 Size: 0 B 1 plex: P v0.p0 S State: up Subdisks: 0 Size: 0 B 3 subdisks: S v0.p0.s0 State: up D: dr1 Size: 299 MB S v0.p0.s1 State: up D: dr2 Size: 299 MB S v0.p0.s2 State: up D: dr3 Size: 299 MB Notice the lack of drives and the subsequent death of my plex and volume? = =20 Also, everything is conveniently in the up state, but there is no /dev/gvin= um=20 directory. =20 7) For kicks, add the following to /etc/rc.conf like I saw in an e-mail=20 somewhere: geom_vinum_load=3D"YES" start_cmd=3D"gvinum start" 8) Reboot 9) Things still look like 6) above. Is this a bug or am I silly? Caveat: This testing is being done in qemu, but the behavior matches a=20 physical system I have. I haven't tested other kinds of plexes yet, either. dmesg: Copyright (c) 1992-2005 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. =46reeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium II/Pentium II Xeon/Celeron (2064.81-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0x633 Stepping =3D 3 =20 =46eatures=3D0x781a9fd<FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,PGE,CMOV,PAT,MMX,= =46XSR,SSE,SSE2> real memory =3D 134217728 (128 MB) avail memory =3D 121815040 (116 MB) npx0: [FAST] npx0: <math processor> on motherboard npx0: INT 16 interface cpu0 on motherboard pcib0: <Host to PCI bridge> pcibus 0 on motherboard pir0: <PCI Interrupt Routing Table: 6 Entries> on motherboard pci0: <PCI bus> on pcib0 isab0: <PCI-ISA bridge> at device 1.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel PIIX3 WDMA2 controller> port=20 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xc000-0xc00f at device 1.1 on pci0 ata0: <ATA channel 0> on atapci0 ata1: <ATA channel 1> on atapci0 pci0: <display, VGA> at device 2.0 (no driver attached) ed0: <RealTek 8029> port 0xc100-0xc1ff irq 11 at device 3.0 on pci0 ed0: Ethernet address: 52:54:00:12:34:56 ed0: type NE2000 (16 bit) pmtimer0 on isa0 orm0: <ISA Option ROM> at iomem 0xc0000-0xc7fff on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse Explorer, device ID 4 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppbus0: <Parallel port bus> on ppc0 plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 sc0: <System console> 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 16450 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 2064806075 Hz quality 800 Timecounters tick every 1.000 msec ad0: 1000MB <QEMU HARDDISK 0.7.2> at ata0-master PIO2 ad1: 300MB <QEMU HARDDISK 0.7.2> at ata0-slave PIO2 ad2: 300MB <QEMU HARDDISK 0.7.2> at ata1-master PIO2 ad3: 300MB <QEMU HARDDISK 0.7.2> at ata1-slave PIO2 Trying to mount root from ufs:/dev/ad0s1a =2D-=20 Marc Ramirez Blue Circle Software Corporation 513-688-1070 (main) 513-382-1270 (direct) http://www.bluecirclesoft.com http://www.mrami.com (personal) --nextPart3836566.RnPFYSrNfZ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDdCEjg1EgpGw750IRAv2UAJ947OpfPEwemINJUJfCowaJqFhNjACePyDq qKl+SRjO3GRJ8t+EP7F0grs= =KeZb -----END PGP SIGNATURE----- --nextPart3836566.RnPFYSrNfZ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511102342.11446.marc.ramirez>