Things like /dev/sda1, /dev/sdb2 are the regular block devices, your RAID array will get constructed out of (some of) those and a /dev/md0 or /dev/md1 or whatever will magically appear - running "mdadm --detail" on the underlying /dev/sdXx device won't work
Likely your /dev/sda1 and /dev/sdb1 are the system partitions of the NAS itself and /dev/sda2 and /dev/sdb2 are the RAID
Here are the relevant bits of the fdisk -l for my box to show how it should look:
Code:
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 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: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 63 112454 56196 83 Linux
Partition 1 does not start on physical sector boundary.
/dev/sda2 112455 3907029167 1953458356+ fd Linux raid autodetect
Partition 2 does not start on physical sector boundary.
Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 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: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 63 112454 56196 83 Linux
Partition 1 does not start on physical sector boundary.
/dev/sdb2 112455 3907029167 1953458356+ fd Linux raid autodetect
Partition 2 does not start on physical sector boundary.
Disk /dev/md1: 2000.3 GB, 2000340168704 bytes
2 heads, 4 sectors/track, 488364299 cylinders, total 3906914392 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
Alignment offset: 512 bytes
Disk identifier: 0x00000000
Disk /dev/md1 doesn't contain a valid partition table
Notice that my /dev/sda2 and /dev/sdb2 are marked as partition type 'fd Linux raid autodetect' whereas your equivalent partitions are plain type '83 Linux'. EITHER that means it's not Linux software RAID in which case like Bushflyr said you are likely out of luck OR it means it couldn't auto-detect because mdadm wasn't installed at boot time.
You *may* be able to force mdadm to detect AFTER boot but that's beyond my expertise - I don't want to suggest something that might corrupt your data. EDIT: it should be quite safe to at least try:
Code:
sudo mdadm --examine /dev/sda2
Code:
sudo mdadm --examine /dev/sdb2
which will tell you if mdadm can detect a RAID superblock on either of the candidate partitions (I just did it on my running system and nothing bad happened).
Hope this helps
Bookmarks