maclenin
July 3rd, 2011, 01:28 PM
While my RAID arrays complete their resync, I thought I'd jot this quick line to see if anyone had any thoughts as to why I am seeing the following sfdisk ERROR with regard to the status of my RAID arrays?
sfdisk: ERROR: sector 0 does not have an MSDOS signature
/dev/md0: unrecognised partition table type
No partitions found
I have just completed a "clean" install of 11.04 (from which I am composing this note) - replacing an existing 3-disk (sda, sdb, sdc) RAID/LVM set-up (8.10).
disk1 - sda 250 gb
disk2 - sdb 1 tb
disk3 - sdc 1 tb
Data is all backed-up.
I chose not to keep the olde RAID/LVM configuration, as there were changes I wanted to implement....
I'd like to resolve the RAID ERRORs before configuring LVM.
My current(ly resync-ing) RAID configuration:
md0
sda1 RAID1 /boot
sdb1 RAID1 /boot
sdc1 RAID1 /boot
md1
sda3 RAID5 /
sdb3 RAID5 /
sdc3 RAID5 /
md2
sdb4 RAID1 /shared
sdc4 RAID1 /shared
I also have (non-RAID) swap on:
sda2
sdb2
sdc2
$ cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md2 : active raid1 sdb4[0] sdc4[1]
731546488 blocks super 1.2 [2/2] [UU]
[==>..................] resync = 10.2% (74791168/731546488) finish=192.0min speed=56984K/sec
md0 : active raid1 sdc1[2] sdb1[1] sda1[0]
487412 blocks super 1.2 [3/3] [UUU]
md1 : active raid5 sdb3[1] sda3[0] sdc3[2]
485460992 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU]
unused devices: <none>
$
$ sudo sfdisk -l -uS
Disk /dev/sda: 30522 cylinders, 255 heads, 63 sectors/track
Units = sectors of 512 bytes, counting from 0
Device Boot Start End #sectors Id System
/dev/sda1 * 2048 976895 974848 fd Linux RAID autodetect
/dev/sda2 976896 4882431 3905536 82 Linux swap / Solaris
/dev/sda3 4882432 490346495 485464064 fd Linux RAID autodetect
/dev/sda4 0 - 0 0 Empty <-----curious?
Disk /dev/sdc: 121601 cylinders, 255 heads, 63 sectors/track
Units = sectors of 512 bytes, counting from 0
Device Boot Start End #sectors Id System
/dev/sdc1 * 2048 976895 974848 fd Linux RAID autodetect
/dev/sdc2 976896 4882431 3905536 82 Linux swap / Solaris
/dev/sdc3 4882432 490428415 485545984 fd Linux RAID autodetect
/dev/sdc4 490428416 1953523711 1463095296 fd Linux RAID autodetect
Disk /dev/sdb: 121601 cylinders, 255 heads, 63 sectors/track
Units = sectors of 512 bytes, counting from 0
Device Boot Start End #sectors Id System
/dev/sdb1 * 2048 976895 974848 fd Linux RAID autodetect
/dev/sdb2 976896 4882431 3905536 82 Linux swap / Solaris
/dev/sdb3 4882432 490428415 485545984 fd Linux RAID autodetect
/dev/sdb4 490428416 1953523711 1463095296 fd Linux RAID autodetect
Disk /dev/md1: 121365248 cylinders, 2 heads, 4 sectors/track
sfdisk: ERROR: sector 0 does not have an MSDOS signature
/dev/md1: unrecognised partition table type
No partitions found
Disk /dev/md0: 121853 cylinders, 2 heads, 4 sectors/track
sfdisk: ERROR: sector 0 does not have an MSDOS signature
/dev/md0: unrecognised partition table type
No partitions found
Disk /dev/md2: 182886622 cylinders, 2 heads, 4 sectors/track
sfdisk: ERROR: sector 0 does not have an MSDOS signature
/dev/md2: unrecognised partition table type
No partitions found
$
Thanks for any insight!
sfdisk: ERROR: sector 0 does not have an MSDOS signature
/dev/md0: unrecognised partition table type
No partitions found
I have just completed a "clean" install of 11.04 (from which I am composing this note) - replacing an existing 3-disk (sda, sdb, sdc) RAID/LVM set-up (8.10).
disk1 - sda 250 gb
disk2 - sdb 1 tb
disk3 - sdc 1 tb
Data is all backed-up.
I chose not to keep the olde RAID/LVM configuration, as there were changes I wanted to implement....
I'd like to resolve the RAID ERRORs before configuring LVM.
My current(ly resync-ing) RAID configuration:
md0
sda1 RAID1 /boot
sdb1 RAID1 /boot
sdc1 RAID1 /boot
md1
sda3 RAID5 /
sdb3 RAID5 /
sdc3 RAID5 /
md2
sdb4 RAID1 /shared
sdc4 RAID1 /shared
I also have (non-RAID) swap on:
sda2
sdb2
sdc2
$ cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md2 : active raid1 sdb4[0] sdc4[1]
731546488 blocks super 1.2 [2/2] [UU]
[==>..................] resync = 10.2% (74791168/731546488) finish=192.0min speed=56984K/sec
md0 : active raid1 sdc1[2] sdb1[1] sda1[0]
487412 blocks super 1.2 [3/3] [UUU]
md1 : active raid5 sdb3[1] sda3[0] sdc3[2]
485460992 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU]
unused devices: <none>
$
$ sudo sfdisk -l -uS
Disk /dev/sda: 30522 cylinders, 255 heads, 63 sectors/track
Units = sectors of 512 bytes, counting from 0
Device Boot Start End #sectors Id System
/dev/sda1 * 2048 976895 974848 fd Linux RAID autodetect
/dev/sda2 976896 4882431 3905536 82 Linux swap / Solaris
/dev/sda3 4882432 490346495 485464064 fd Linux RAID autodetect
/dev/sda4 0 - 0 0 Empty <-----curious?
Disk /dev/sdc: 121601 cylinders, 255 heads, 63 sectors/track
Units = sectors of 512 bytes, counting from 0
Device Boot Start End #sectors Id System
/dev/sdc1 * 2048 976895 974848 fd Linux RAID autodetect
/dev/sdc2 976896 4882431 3905536 82 Linux swap / Solaris
/dev/sdc3 4882432 490428415 485545984 fd Linux RAID autodetect
/dev/sdc4 490428416 1953523711 1463095296 fd Linux RAID autodetect
Disk /dev/sdb: 121601 cylinders, 255 heads, 63 sectors/track
Units = sectors of 512 bytes, counting from 0
Device Boot Start End #sectors Id System
/dev/sdb1 * 2048 976895 974848 fd Linux RAID autodetect
/dev/sdb2 976896 4882431 3905536 82 Linux swap / Solaris
/dev/sdb3 4882432 490428415 485545984 fd Linux RAID autodetect
/dev/sdb4 490428416 1953523711 1463095296 fd Linux RAID autodetect
Disk /dev/md1: 121365248 cylinders, 2 heads, 4 sectors/track
sfdisk: ERROR: sector 0 does not have an MSDOS signature
/dev/md1: unrecognised partition table type
No partitions found
Disk /dev/md0: 121853 cylinders, 2 heads, 4 sectors/track
sfdisk: ERROR: sector 0 does not have an MSDOS signature
/dev/md0: unrecognised partition table type
No partitions found
Disk /dev/md2: 182886622 cylinders, 2 heads, 4 sectors/track
sfdisk: ERROR: sector 0 does not have an MSDOS signature
/dev/md2: unrecognised partition table type
No partitions found
$
Thanks for any insight!