Eu recebi uma unidade WD Caviar Green nova (mesmo modelo) para substituir a unidade defeituosa na minha matriz Raid 5 de 5x2TB. No entanto, o novo disco parece ser um pouco diferente. De acordo com a internet, a Western Digital mudou seu tamanho de bloco?
Aqui está um dos discos originais:
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
81 heads, 63 sectors/track, 765633 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xfdeee051
Device Boot Start End Blocks Id System
/dev/sda1 63 3907025198 1953512568 83 Linux
E o novo:
Disk /dev/sdd: 2000.4 GB, 2000398934016 bytes
81 heads, 63 sectors/track, 765633 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x11e82af4
Device Boot Start End Blocks Id System
/dev/sdd1 2048 3907029167 1953513560 83 Linux
Observe o tamanho diferente de E / S. Quando tento sfdisk a tabela de partições por cima ...
[root]# sfdisk -d /dev/sda | sfdisk /dev/sdd
Checking that no-one is using this disk right now ...
OK
Disk /dev/sdd: 243201 cylinders, 255 heads, 63 sectors/track
Old situation:
Warning: The partition table looks like it was made
for C/H/S=*/81/63 (instead of 243201/255/63).
For this listing I'll assume that geometry.
Units = cylinders of 2612736 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/sdd1 0+ 765633- 765634- 1953513560 83 Linux
end: (c,h,s) expected (1023,80,63) found (513,80,63)
/dev/sdd2 0 - 0 0 0 Empty
/dev/sdd3 0 - 0 0 0 Empty
/dev/sdd4 0 - 0 0 0 Empty
New situation:
Units = sectors of 512 bytes, counting from 0
Device Boot Start End #sectors Id System
/dev/sdd1 63 3907025198 3907025136 83 Linux
/dev/sdd2 0 - 0 0 Empty
/dev/sdd3 0 - 0 0 Empty
/dev/sdd4 0 - 0 0 Empty
Warning: partition 1 does not end at a cylinder boundary
sfdisk: I don't like these partitions - nothing changed.
(If you really want this, use the --force option.)
Ehhhh eu não quero forçar isso. Quando tento fazer isso manualmente ...
[root]# fdisk /dev/sdd
The device presents a logical sector size that is smaller than
the physical sector size. Aligning to a physical sector (or optimal
I/O) size boundary is recommended, or performance may be impacted.
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4, default 1):
Using default value 1
First sector (2048-3907029167, default 2048):
Ele não me permite iniciar a partição em 63, como os outros discos. Socorro! Devo forçá-lo?