Hi Laszlo,

Well it looks like you've got gm0 up and running.  I assume you've
edited /etc/fstab so that it boots cleanly.  My first thought is that
you need to zero ad8 to make sure gmirror isn't confused.  Try that (dd
if=/dev/zero of=/dev/ad8) at least for several blocks.  Then reboot and
post dmesg.

 Hello Gayns,

Good to see you again. :-)

backupserver# dd if=/dev/zero of=/dev/ad8 count=4096
4096+0 records in
4096+0 records out
2097152 bytes transferred in 0.686872 secs (3053192 bytes/sec)

< then I rebooted >

backupserver# gmirror insert gm0 /dev/ad8
Provider ad8 too small.

Here are the important parts from my dmesg:

...

atapci0: <ITE IT8212F UDMA133 controller> port 0x9010-0x9017,0x9400-0x9403,0x9810-0x9817,0x9c00-0x9c03,0xa000-0xa00f irq 22 at device 6.0 on pci4
ata2: <ATA channel 0> on atapci0
ata3: <ATA channel 1> on atapci0
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <Intel ICH7 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 31.1 on pci0
ata0: <ATA channel 0> on atapci1
ata1: <ATA channel 1> on atapci1
atapci2: <Intel ICH7 SATA300 controller> port 0xd000-0xd007,0xd400-0xd403,0xd800-0xd807,0xdc00-0xdc03,0xe000-0xe00f irq 19 at device 31.2 on pci0
atapci2: failed to enable memory mapping!

....

acd0: CDROM <GCR-8523B/1.01> at ata0-master PIO4
ad8: 152626MB <SAMSUNG HD160JJ ZM100-33> at ata4-master SATA150
ad10: 152627MB <SAMSUNG HD160JJ ZM100-33> at ata5-master SATA150
SMP: AP CPU #1 Launched!
GEOM_MIRROR: Device gm0 created (id=934763830).
GEOM_MIRROR: Device gm0: provider ad10 detected.
GEOM_MIRROR: Device gm0: provider ad10 activated.
GEOM_MIRROR: Device gm0: provider mirror/gm0 launched.
Trying to mount root from ufs:/dev/mirror/gm0s1a
bge0: link state changed to UP


This is really wreid! The hard disks are the same: SAMSUNG HD160JJ ZM100-33. But one is bigger than the other. How could this happen? Should I reinstall everything from the beginning? :-(


Best,

  Laszlo

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to