[FUG-BR] HD Samsung HD502HI com tamanhos diferentes

vic vic em wa.pro.br
Quarta Agosto 25 16:45:43 BRT 2010


Comprei 2 HD Samsung HD502HI (SATA, 500gb, 5400rpm). Instalei o FreeBSD
8.1 i386 no primeiro e configurei o gmirror no primeiro disco. Ao tentar
inserir o segundo disco no mirror, ele acusou que o provider ad6 era menor:

gmirror insert gm0 /dev/ad6
gmirror: Provider ad6 too small.

Fiquei supreso ao notar que fdisk aponta tamanhos diferentes para os
discos:

fdisk /dev/ad4
******* Working on device /dev/ad4 *******
parameters extracted from in-core disklabel are:
cylinders=969021 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=969021 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
    start 63, size 976773105 (476939 Meg), flag 80 (active)
	beg: cyl 0/ head 1/ sector 1;
	end: cyl 1023/ head 15/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>

---------------

fdisk /dev/ad6
******* Working on device /dev/ad6 *******
parameters extracted from in-core disklabel are:
cylinders=969018 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=969018 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
    start 63, size 976770081 (476938 Meg), flag 80 (active)
	beg: cyl 0/ head 1/ sector 1;
	end: cyl 1023/ head 15/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>

O primeiro disco (ad4) é um pouco maior que o segundo, como pode ser visto
em cylinders e size. Como é possível?

Placa-mão Intel D945GCL

-- 
vic
http://choppnerd.com


Mais detalhes sobre a lista de discussão freebsd