Slack-13.0 mdadm bug?
Inviato: ven 12 mar 2010, 7:37
Dopo aver creato un raid 1 con una partizione missing, ho successivamente provato ad aggiungere la seconda partizione col consueto comando --add.
Le partizioni sono assolutamente identiche, ma il comando da un errore riguardo alla dimensione delle partizioni.
# mdadm /dev/md0 -a /dev/sda1
mdadm: /dev/sda1 not large enough to join array
Tabella delle partizioni:
Disk /dev/sda: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x66ff15af
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1216 9767488+ fd Linux raid autodetect
/dev/sda2 1217 1340 996030 82 Linux swap
/dev/sda3 1341 19929 149316142+ fd Linux raid autodetect
Disk /dev/sdb: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2b32e8ed
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1216 9767488+ fd Linux raid autodetect
/dev/sdb2 1217 1340 996030 82 Linux swap
/dev/sdb3 1341 19929 149316142+ fd Linux raid autodetect
Le partizioni sono assolutamente identiche, ma il comando da un errore riguardo alla dimensione delle partizioni.
# mdadm /dev/md0 -a /dev/sda1
mdadm: /dev/sda1 not large enough to join array
Tabella delle partizioni:
Disk /dev/sda: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x66ff15af
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1216 9767488+ fd Linux raid autodetect
/dev/sda2 1217 1340 996030 82 Linux swap
/dev/sda3 1341 19929 149316142+ fd Linux raid autodetect
Disk /dev/sdb: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2b32e8ed
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1216 9767488+ fd Linux raid autodetect
/dev/sdb2 1217 1340 996030 82 Linux swap
/dev/sdb3 1341 19929 149316142+ fd Linux raid autodetect