Date: Wed, 17 May 2006 09:02:12 -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: <028801c679cb$4525b960$6501a8c0@workdog> In-Reply-To: <446AD0D2.8020208@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: Wednesday, May 17, 2006 12:29 AM > To: gayn.winters@bristolsystems.com; freebsd-questions@freebsd.org > Subject: Re: gmirror and partitioning >=20 >=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 > >> =20 > > Sadly, yes; or buy a bigger second disk. You could do the=20 > install on the > > smaller disk first, or you could make ad10s1 smaller. > > =20 > Okay, I did this. But I'm still interested in the topic. The=20 > size of a=20 > hard drive is determined by the manufacturer. It depends on how many=20 > sectors, heads and cylinders present in the device. The=20 > actual available=20 > size can be smaller because of bad sectors on the disc. But=20 > the BIOS (or=20 > FreeBSD) should detect the full size, including all sectors. These=20 > devices are identical. Then how in the hell could it add one=20 > more MB to=20 > the second device? I presume if I swap drives between ata4-master and=20 > ata5-master then still ad10 would be bigger. Is this a bug in FreeBSD? >=20 > Laszlo Hi Laszlo, No bugs; I think this is normal. Both the BIOS and the OS are only going to see the blocks the hard drive thinks are useable. Even though the drive geometry is "fictitious", most people still recommend defining your slices to begin and end on cylinder boundaries. I assume this makes accessing blocks in the slice a few nanoseconds faster, but I'm actually not sure. Perhaps someone on the list knows more detail. In any case, if you do this for as10s1 gmirror will replicate this property to the other disk. You'll also most likely have a few blocks left over. As for units of MB, I'm not sure. Could be rounding. Can we assume your gmirror is now working? Best regards, -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?028801c679cb$4525b960$6501a8c0>