I'm running Debian Wheezy on an SSD, and in addition I have two 500GB hard disks in Intel software RAID 0 (fakeraid). Both the SSD and the RAID array have GPT partition layouts. I have set up my fstab to automatically mount one of the partitions on the RAID array, but the root filesystem is on the SSD.
During boot, dmraid finds the array but does not automatically discover the partitions on it. This causes the boot fsck to fail and dumps me at a recovery shell.
Running kpartx -a /dev/mapper/isw_xxx_Volume0 at the recovery shell automatically discovers the partitions and everything works great, but it's a bit irritating having to type it in every time I boot. Am I doing something wrong? Is there some way to make the partition probing automatic?
Partition layout of /dev/sda (the SSD)
Number Start (sector) End (sector) Size Code
1 2048 411647 200.0 MiB EF00 EFI System Partition
2 411648 117598207 55.9 GiB 0700 Debian root filesystem
3 117598208 250068991 63.2 GiB 0700 Not used yet
Partition layout of /dev/mapper/isw_cddhbifacg_Volume0 (the RAID array)
Number Start (sector) End (sector) Size Code
1 2048 937502719 447.0 GiB 0700 Debian extra stuff
2 937502720 976564223 18.6 GiB 8200 Swap
3 976564224 1953535999 465.9 GiB 0700 Not used yet
Contents of /etc/fstab
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=7f894df3-49f4-4119-bda9-f4734780eaab / ext4 errors=remount-ro 0 1
UUID=0B6C-A37C /boot/efi vfat defaults 0 1
/dev/mapper/isw_cddhbifacg_Volume0p1 /mnt/data ext4 defaults 0 2
/dev/mapper/isw_cddhbifacg_Volume0p2 none swap sw 0 0
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/sdd1 /media/usb0 auto rw,user,noauto 0 0
/dev/sde1 /media/usb1 auto rw,user,noauto 0 0
/dev/sde2 /media/usb2 auto rw,user,noauto 0 0
kpartx, it just doesn't let me access the RAID array. I'll update the question with the partition layouts in a moment.