On 7/10/05, Johannes Verwijnen <[EMAIL PROTECTED]> wrote: > On Jul 9, 2005, at 19:36, Chris Hodgins wrote: > > It seems that gmirror does not give us any partitions. A listing of > > the mirror directory shows only the gm0 node even though da0 is > > partitioned. When mounting the mirror it seems that /dev/mirror/gm0 > > only represents the root partition. How can we get the mirror to > > recognise the other partitions? > > I remember (vaguely)) this kind of problem, where when trying to > mirror a whole disk, you'd only get the first slice. Have you tried > mirroring the slices (da0s1 etc) separately? > > -- > duvin > >
Firstly thanks for all the suggestions. We managed to build the mirrors by using the suggestion above mirroring the slices separately. Unfortunetly, although the mirrors were created properly the filesystems are constantly suffering from inconsistencies and fsck actually appears to be segfaulting. We have decided not to pursue this any further for the moment, however we are prepared to allow access to the machine should anyone wish to try and sort out this incompatibility with gmirror and sparc. Included below is a brief logfile of a reboot after fsck'ing all of the mirrored partitions. # reboot Waiting (max 60 seconds) for system process `vnlru' to stop...done Waiting (max 60 seconds) for system process `bufdaemon' to stop...done Waiting (max 60 seconds) for system process `syncer' to stop... Syncing disks, vnodes remaining...0 0 done No buffers busy after final sync Uptime: 5m23s GEOM_MIRROR: Device gm0e: provider mirror/gm0e destroyed. GEOM_MIRROR: Device gm0e destroyed. GEOM_MIRROR: Device gm0d: provider mirror/gm0d destroyed. GEOM_MIRROR: Device gm0d destroyed. GEOM_MIRROR: Device gm0b: provider mirror/gm0b destroyed. GEOM_MIRROR: Device gm0b destroyed. GEOM_MIRROR: Device gm0a: provider mirror/gm0a destroyed. GEOM_MIRROR: Device gm0a destroyed. Rebooting... Resetti LOM event: +38d+3h37m11s host reset ng ... \uffff Processor Speed = 648 MHz Baud rate is 9600 8 Data bits, 1 stop bits, no parity (configured from lom) Firmware CORE Sun Microsystems, Inc. @(#) core 1.0.12 2002/01/08 13:00 Software Power ON Verifying NVRAM...Done Bootmode is 0 [New I2C DIMM address] MCR0 = 57b2ce06 MCR1 = 80008000 MCR2 = cf3000ff MCR3 = a00000cf Ecache Size = 512 KB Clearing E$ Tags Done Clearing I/D TLBs Done Probing memory Done MEMBASE=0x40000000 MEMSIZE=0x20000000 Clearing memory...Done Turning ON MMUs Done Copy ROM to RAM (170040 bytes) Done Orig PC=0x1fff0007e44 New PC=0xf0f07e9c Processor Speed=648MHz Looking for Dropin FVM ... found Decompressing Client Done Transferring control to Client... ttya initialized Reset Control: BXIR:0 BPOR:0 SXIR:0 SPOR:1 POR:0 Probing upa at 1f,0 pci pci pci Probing upa at 0,0 SUNW,UltraSPARC-IIe SUNW,UltraSPARC-IIe (512 Kb) Loading Support Packages: kbd-translator Loading onboard drivers: ebus flashprom eeprom idprom SUNW,lomh Probing /[EMAIL PROTECTED],1 Device 3 pmu i2c temperature dimm dimm i2c-nvram idprom motherboard-fru fan-control lomp Sun Fire V120 (UltraSPARC-IIe 648MHz), No Keyboard OpenBoot 4.0, 1024 MB memory installed, Serial #53833010. Ethernet address 0:3:ba:35:6d:32, Host ID: 83356d32. Executing last command: boot /[EMAIL PROTECTED],0/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED],0:a Boot device: /[EMAIL PROTECTED],0/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED],0:a File and args: >> FreeBSD/sparc64 boot block Boot path: /[EMAIL PROTECTED],0/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED],0:a Boot loader: /boot/loader Console: Open Firmware console FreeBSD/sparc64 bootstrap loader, Revision 1.0 ([EMAIL PROTECTED], Sun May 8 07:16:15 UTC 2005) bootpath="/[EMAIL PROTECTED],0/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED],0:a" Loading /boot/defaults/loader.conf /boot/kernel/kernel data=0x3d8908+0x47c78 syms=[0x8+0x50b80+0x8+0x45260] /boot/kernel/geom_mirror.ko text=0x21558 data=0x5b0+0x18 syms=[0x8+0x1638+0x8+0x10da] Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... nothing to autoload yet. jumping to kernel entry at 0xc0040000. 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. FreeBSD 5.4-RELEASE #0: Sun May 8 22:21:34 UTC 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Timecounter "tick" frequency 648000000 Hz quality 1000 real memory = 1073741824 (1024 MB) avail memory = 1025818624 (978 MB) cpu0: Sun Microsystems UltraSparc-IIe Processor (648.00 MHz CPU) nexus0: <Open Firmware Nexus device> pcib0: <U2P UPA-PCI bridge> on nexus0 pcib0: Sabre, impl 0, version 0, ign 0x7c0, bus A pcib0 dvma: DVMA map: 0xc0000000 to 0xc3ffffff pci0: <OFW PCI bus> on pcib0 pcib1: <APB PCI-PCI bridge> at device 1.1 on pci0 pci1: <OFW PCI bus> on pcib1 ebus0: <PCI-EBus3 bridge> mem 0xf1000000-0xf17fffff,0xf0000000-0xf0ffffff at device 12.0 on pci1 ebus0: <idprom>: incomplete ebus0: <flashprom> addr 0x1000000000-0x10000fffff (no driver attached) eeprom0: <EEPROM/clock> addr 0x1400000000-0x1400001fff on ebus0 eeprom0: model mk48t59 eeprom0: hostid 0 ebus0: <SUNW,lomh> addr 0x1400200000-0x1400200003 irq 42 (no driver attached) pci1: <old, non-VGA display device> at device 3.0 (no driver attached) pci1: <old, non-VGA display device> at device 3.0 (no driver attached) isab0: <PCI-ISA bridge> at device 7.0 on pci1 isa0: <ISA bus> on isab0 gem0: <Sun ERI 10/100 Ethernet Adaptor> mem 0xe0400000-0xe041ffff at device 12.1 on pci1 miibus0: <MII bus> on gem0 ukphy0: <Generic IEEE 802.3u media interface> on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto gem0: 2kB RX FIFO, 2kB TX FIFO gem0: Ethernet address: 00:03:ba:35:6d:32 gem0: if_start running deferred for Giant pci1: <serial bus, USB> at device 12.3 (no driver attached) atapci0: <AcerLabs Aladdin UDMA66 controller> port 0x420-0x42f,0x408-0x40b,0x410-0x417,0x418-0x41b,0x400-0x407 at device 13.0 on pci1 ata2: channel #0 on atapci0 ata3: channel #1 on atapci0 gem1: <Sun ERI 10/100 Ethernet Adaptor> mem 0xe0440000-0xe045ffff at device 5.1 on pci1miibus1: <MII bus> on gem1 ukphy1: <Generic IEEE 802.3u media interface> on miibus1 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto gem1: 2kB RX FIFO, 2kB TX FIFO gem1: Ethernet address: 00:03:ba:35:6d:32 gem1: if_start running deferred for Giant pci1: <serial bus, USB> at device 5.3 (no driver attached) pcib2: <APB PCI-PCI bridge> at device 1.0 on pci0 pci2: <OFW PCI bus> on pcib2 sym0: <896> port 0xc00000-0xc000ff mem 0x4000-0x5fff,0x2000-0x23ff at device 8.0 on pci2 sym0: No NVRAM, ID 7, Fast-40, LVD, parity checking sym1: <896> port 0xc00100-0xc001ff mem 0x8000-0x9fff,0x6000-0x63ff at device 8.1 on pci2 sym1: No NVRAM, ID 7, Fast-40, LVD, parity checking uart0: <16550 or compatible> at port 0x3f8-0x3ff irq 4 on isa0 uart0: console (9600,n,8,1) uart1: <16550 or compatible> at port 0x2e8-0x2ef irq 4 on isa0 Timecounters tick every 10.000 msec acd0: CDRW <CD-224E/P.9A> at ata2-master PIO4 Waiting 15 seconds for SCSI devices to settle acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x00 error=4<ABORTED> acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x00 error=4<ABORTED> da0 at sym0 bus 0 target 0 lun 0 da0: <SEAGATE ST336607LSUN36G 0207> Fixed Direct Access SCSI-3 device da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled da0: 34732MB (71132959 512 byte sectors: 255H 63S/T 4427C) da1 at sym0 bus 0 target 1 lun 0 da1: <SEAGATE ST336607LSUN36G 0207> Fixed Direct Access SCSI-3 device da1: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled da1: 34732MB (71132959 512 byte sectors: 255H 63S/T 4427C) GEOM_MIRROR: Device gm0a created (id=4086462658). GEOM_MIRROR: Device gm0a: provider da0a detected. GEOM_MIRROR: Device gm0b created (id=119591469). GEOM_MIRROR: Device gm0b: provider da0b detected. GEOM_MIRROR: Device gm0d created (id=701152197). GEOM_MIRROR: Device gm0d: provider da0d detected. GEOM_MIRROR: Device gm0e created (id=2934901561). GEOM_MIRROR: Device gm0e: provider da0e detected. GEOM_MIRROR: Device gm0a: provider da1a detected. GEOM_MIRROR: Device gm0a: provider da1a activated. GEOM_MIRROR: Device gm0b: provider da1b detected. GEOM_MIRROR: Device gm0a: provider da0a activated. GEOM_MIRROR: Device gm0a: provider mirror/gm0a launched. GEOM_MIRROR: Device gm0b: provider da1b activated. GEOM_MIRROR: Device gm0b: provider da0b activated. GEOM_MIRROR: Device gm0b: provider mirror/gm0b launched. GEOM_MIRROR: Device gm0d: provider da1d detected. GEOM_MIRROR: Device gm0d: provider da1d activated. GEOM_MIRROR: Device gm0e: provider da1e detected. GEOM_MIRROR: Device gm0d: provider da0d activated. GEOM_MIRROR: Device gm0d: provider mirror/gm0d launched. GEOM_MIRROR: Device gm0e: provider da1e activated. GEOM_MIRROR: Device gm0e: provider da0e activated. GEOM_MIRROR: Device gm0e: provider mirror/gm0e launched. Mounting root from ufs:/dev/mirror/gm0a Pre-seeding PRNG: kickstart. Loading configuration files. Entropy harvesting: interrupts ethernet point_to_point kickstart. swapon: adding /dev/mirror/gm0b as swap device Starting file system checks: /dev/mirror/gm0a: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/mirror/gm0a: clean, 487361 free (1001 frags, 60795 blocks, 0.2% fragmentation) /dev/mirror/gm0d: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/mirror/gm0d: clean, 2363343 free (14703 frags, 293580 blocks, 0.6% fragmentation) /dev/mirror/gm0e: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/mirror/gm0e: clean, 1012436 free (100 frags, 126542 blocks, 0.0% fragmentation) mode = 0100644, inum = 188424, fs = /var panic: ffs_valloc: dup alloc cpuid = 0 Uptime: 25s GEOM_MIRROR: Device gm0e: provider mirror/gm0e destroyed. GEOM_MIRROR: Device gm0e destroyed. GEOM_MIRROR: Device gm0d: provider mirror/gm0d destroyed. GEOM_MIRROR: Device gm0d destroyed. GEOM_MIRROR: Device gm0b: provider mirror/gm0b destroyed. GEOM_MIRROR: Device gm0b destroyed. GEOM_MIRROR: Device gm0a: provider mirror/gm0a destroyed. GEOM_MIRROR: Device gm0a destroyed. Cannot dump. No dump device defined. Automatic reboot in 15 seconds - press a key on the console to abort Rebooting... Resetti LOM event: +38d+3h38m51s host reset ng ... \uffff Processor Speed = 648 MHz Baud rate is 9600 8 Data bits, 1 stop bits, no parity (configured from lom) Firmware CORE Sun Microsystems, Inc. @(#) core 1.0.12 2002/01/08 13:00 Software Power ON Verifying NVRAM...Done Bootmode is 0 [New I2C DIMM address] MCR0 = 57b2ce06 MCR1 = 80008000 MCR2 = cf3000ff MCR3 = a00000cf Ecache Size = 512 KB Clearing E$ Tags Done Clearing I/D TLBs Done Probing memory Done MEMBASE=0x40000000 MEMSIZE=0x20000000 Clearing memory...Done Turning ON MMUs Done Copy ROM to RAM (170040 bytes) Done Orig PC=0x1fff0007e44 New PC=0xf0f07e9c Processor Speed=648MHz Looking for Dropin FVM ... found Decompressing Client Done Transferring control to Client... ttya initialized Reset Control: BXIR:0 BPOR:0 SXIR:0 SPOR:1 POR:0 Probing upa at 1f,0 pci pci pci Probing upa at 0,0 SUNW,UltraSPARC-IIe SUNW,UltraSPARC-IIe (512 Kb) Loading Support Packages: kbd-translator Loading onboard drivers: ebus flashprom eeprom idprom SUNW,lomh Probing /[EMAIL PROTECTED],1 Device 3 pmu i2c temperature dimm dimm i2c-nvram idprom motherboard-fru fan-control lomp Sun Fire V120 (UltraSPARC-IIe 648MHz), No Keyboard OpenBoot 4.0, 1024 MB memory installed, Serial #53833010. Ethernet address 0:3:ba:35:6d:32, Host ID: 83356d32. Executing last command: boot /[EMAIL PROTECTED],0/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED],0:a Boot device: /[EMAIL PROTECTED],0/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED],0:a File and args: >> FreeBSD/sparc64 boot block Boot path: /[EMAIL PROTECTED],0/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED],0:a Boot loader: /boot/loader Console: Open Firmware console FreeBSD/sparc64 bootstrap loader, Revision 1.0 ([EMAIL PROTECTED], Sun May 8 07:16:15 UTC 2005) bootpath="/[EMAIL PROTECTED],0/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED],0:a" Loading /boot/defaults/loader.conf /boot/kernel/kernel data=0x3d8908+0x47c78 syms=[0x8+0x50b80+0x8+0x45260] /boot/kernel/geom_mirror.ko text=0x21558 data=0x5b0+0x18 syms=[0x8+0x1638+0x8+0x10da] Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... nothing to autoload yet. jumping to kernel entry at 0xc0040000. 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. FreeBSD 5.4-RELEASE #0: Sun May 8 22:21:34 UTC 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Timecounter "tick" frequency 648000000 Hz quality 1000 real memory = 1073741824 (1024 MB) avail memory = 1025818624 (978 MB) cpu0: Sun Microsystems UltraSparc-IIe Processor (648.00 MHz CPU) nexus0: <Open Firmware Nexus device> pcib0: <U2P UPA-PCI bridge> on nexus0 pcib0: Sabre, impl 0, version 0, ign 0x7c0, bus A pcib0 dvma: DVMA map: 0xc0000000 to 0xc3ffffff pci0: <OFW PCI bus> on pcib0 pcib1: <APB PCI-PCI bridge> at device 1.1 on pci0 pci1: <OFW PCI bus> on pcib1 ebus0: <PCI-EBus3 bridge> mem 0xf1000000-0xf17fffff,0xf0000000-0xf0ffffff at device 12.0 on pci1 ebus0: <idprom>: incomplete ebus0: <flashprom> addr 0x1000000000-0x10000fffff (no driver attached) eeprom0: <EEPROM/clock> addr 0x1400000000-0x1400001fff on ebus0 eeprom0: model mk48t59 eeprom0: hostid 0 ebus0: <SUNW,lomh> addr 0x1400200000-0x1400200003 irq 42 (no driver attached) pci1: <old, non-VGA display device> at device 3.0 (no driver attached) pci1: <old, non-VGA display device> at device 3.0 (no driver attached) isab0: <PCI-ISA bridge> at device 7.0 on pci1 isa0: <ISA bus> on isab0 gem0: <Sun ERI 10/100 Ethernet Adaptor> mem 0xe0400000-0xe041ffff at device 12.1 on pci1 miibus0: <MII bus> on gem0 ukphy0: <Generic IEEE 802.3u media interface> on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto gem0: 2kB RX FIFO, 2kB TX FIFO gem0: Ethernet address: 00:03:ba:35:6d:32 gem0: if_start running deferred for Giant pci1: <serial bus, USB> at device 12.3 (no driver attached) atapci0: <AcerLabs Aladdin UDMA66 controller> port 0x420-0x42f,0x408-0x40b,0x410-0x417,0x418-0x41b,0x400-0x407 at device 13.0 on pci1 ata2: channel #0 on atapci0 ata3: channel #1 on atapci0 gem1: <Sun ERI 10/100 Ethernet Adaptor> mem 0xe0440000-0xe045ffff at device 5.1 on pci1miibus1: <MII bus> on gem1 ukphy1: <Generic IEEE 802.3u media interface> on miibus1 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto gem1: 2kB RX FIFO, 2kB TX FIFO gem1: Ethernet address: 00:03:ba:35:6d:32 gem1: if_start running deferred for Giant pci1: <serial bus, USB> at device 5.3 (no driver attached) pcib2: <APB PCI-PCI bridge> at device 1.0 on pci0 pci2: <OFW PCI bus> on pcib2 sym0: <896> port 0xc00000-0xc000ff mem 0x4000-0x5fff,0x2000-0x23ff at device 8.0 on pci2 sym0: No NVRAM, ID 7, Fast-40, LVD, parity checking sym1: <896> port 0xc00100-0xc001ff mem 0x8000-0x9fff,0x6000-0x63ff at device 8.1 on pci2 sym1: No NVRAM, ID 7, Fast-40, LVD, parity checking uart0: <16550 or compatible> at port 0x3f8-0x3ff irq 4 on isa0 uart0: console (9600,n,8,1) uart1: <16550 or compatible> at port 0x2e8-0x2ef irq 4 on isa0 Timecounters tick every 10.000 msec acd0: CDRW <CD-224E/P.9A> at ata2-master PIO4 Waiting 15 seconds for SCSI devices to settle acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x00 error=4<ABORTED> acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x00 error=4<ABORTED> da0 at sym0 bus 0 target 0 lun 0 da0: <SEAGATE ST336607LSUN36G 0207> Fixed Direct Access SCSI-3 device da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled da0: 34732MB (71132959 512 byte sectors: 255H 63S/T 4427C) da1 at sym0 bus 0 target 1 lun 0 da1: <SEAGATE ST336607LSUN36G 0207> Fixed Direct Access SCSI-3 device da1: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled da1: 34732MB (71132959 512 byte sectors: 255H 63S/T 4427C) GEOM_MIRROR: Device gm0a created (id=4086462658). GEOM_MIRROR: Device gm0a: provider da0a detected. GEOM_MIRROR: Device gm0b created (id=119591469). GEOM_MIRROR: Device gm0b: provider da0b detected. GEOM_MIRROR: Device gm0d created (id=701152197). GEOM_MIRROR: Device gm0d: provider da0d detected. GEOM_MIRROR: Device gm0e created (id=2934901561). GEOM_MIRROR: Device gm0e: provider da0e detected. GEOM_MIRROR: Device gm0a: provider da1a detected. GEOM_MIRROR: Device gm0a: provider da1a activated. GEOM_MIRROR: Device gm0b: provider da1b detected. GEOM_MIRROR: Device gm0a: provider da0a activated. GEOM_MIRROR: Device gm0a: provider mirror/gm0a launched. GEOM_MIRROR: Device gm0b: provider da1b activated. GEOM_MIRROR: Device gm0b: provider da0b activated. GEOM_MIRROR: Device gm0b: provider mirror/gm0b launched. GEOM_MIRROR: Device gm0d: provider da1d detected. GEOM_MIRROR: Device gm0d: provider da1d activated. GEOM_MIRROR: Device gm0e: provider da1e detected. GEOM_MIRROR: Device gm0d: provider da0d activated. GEOM_MIRROR: Device gm0d: provider mirror/gm0d launched. GEOM_MIRROR: Device gm0e: provider da1e activated. GEOM_MIRROR: Device gm0e: provider da0e activated. GEOM_MIRROR: Device gm0e: provider mirror/gm0e launched. Mounting root from ufs:/dev/mirror/gm0a WARNING: / was not properly dismounted Pre-seeding PRNG: kickstart. Loading configuration files. Entropy harvesting: interrupts ethernet point_to_point kickstart. swapon: adding /dev/mirror/gm0b as swap device Starting file system checks: /dev/mirror/gm0a: FREE BLK COUNT(S) WRONG IN SUPERBLK (SALVAGED) /dev/mirror/gm0a: SUMMARY INFORMATION BAD (SALVAGED) /dev/mirror/gm0a: BLK(S) MISSING IN BIT MAPS (SALVAGED) /dev/mirror/gm0a: 846 files, 19190 used, 487362 free (1002 fragpid 86 (fsck), uid 0: exited on signal 11 s, 60795 blocks, 0.2% fragmentation) /dev/da0d: DEFER FOR BACKGROUND CHECKING /dev/da0e: DEFER FOR BACKGROUND CHECKING Segmentation fault Unknown error; help! Enter full pathname of shell or RETURN for /bin/sh: Thanks Chris _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"