Date: Tue, 16 May 2006 11:00:52 -0700 From: "Gayn Winters" <gayn.winters@bristolsystems.com> To: =?iso-8859-1?Q?'Nagy_L=E1szl=F3_Zsolt'?= <nagylzs@freemail.hu>, <freebsd-questions@freebsd.org> Subject: RE: gmirror and partitioning Message-ID: <021f01c67912$af05c140$6501a8c0@workdog> In-Reply-To: <446A0EA7.1020006@freemail.hu>
next in thread | previous in thread | raw e-mail | index | archive | help
> From: Nagy L=E1szl=F3 Zsolt [mailto:nagylzs@freemail.hu]=20 > Sent: Tuesday, May 16, 2006 10:41 AM > To: gayn.winters@bristolsystems.com; freebsd-questions@freebsd.org > Subject: Re: gmirror and partitioning >=20 > > 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=20 > thought is that > > you need to zero ad8 to make sure gmirror isn't confused. =20 > Try that (dd > > if=3D/dev/zero of=3D/dev/ad8) at least for several blocks. =20 > Then reboot and > > post dmesg. > > =20 >=20 > Hello Gayns, >=20 > Good to see you again. :-) >=20 > backupserver# dd if=3D/dev/zero of=3D/dev/ad8 count=3D4096 > 4096+0 records in > 4096+0 records out > 2097152 bytes transferred in 0.686872 secs (3053192 bytes/sec) >=20 > < then I rebooted > >=20 > backupserver# gmirror insert gm0 /dev/ad8 > Provider ad8 too small. >=20 > Here are the important parts from my dmesg: >=20 > ... >=20 > atapci0: <ITE IT8212F UDMA133 controller> port=20 > 0x9010-0x9017,0x9400-0x9403,0x9810-0x9817,0x9c00-0x9c03,0xa000-0xa00f=20 > 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=20 > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device=20 > 31.1 on pci0 > ata0: <ATA channel 0> on atapci1 > ata1: <ATA channel 1> on atapci1 > atapci2: <Intel ICH7 SATA300 controller> port=20 > 0xd000-0xd007,0xd400-0xd403,0xd800-0xd807,0xdc00-0xdc03,0xe000-0xe00f=20 > irq 19 at device 31.2 on pci0 > atapci2: failed to enable memory mapping! >=20 > .... >=20 > 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=3D934763830). > 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 >=20 >=20 > This is really wreid! The hard disks are the same: SAMSUNG HD160JJ=20 > ZM100-33. But one is bigger than the other. How could this happen?=20 > Should I reinstall everything from the beginning? :-( >=20 >=20 > Best, >=20 > Laszlo Sadly, yes; or buy a bigger second disk. You could do the install on the smaller disk first, or you could make ad10s1 smaller. -gayn Bristol Systems Inc. 714/532-6776 www.bristolsystems.com=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?021f01c67912$af05c140$6501a8c0>