I recently installed Kubuntu 12.04 and am trying to create a software RAID-1 device using two partitions: sda4 and sdb6. I've done this before, on this machine and on a couple others, using earlier Kubuntu versions, but this time I'm encountering a problem new to me.
I ran the following command line:
mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sda4 /dev/sdb6
Then I ran:
mdadm --detail | egrep UUID > /etc/mdadm/mdadm.uuid
to extract the array's UUID, concatenated the resulting file with mdadm.conf (after saving a copy) and edited that file to include the line:
ARRAY /dev/md0 UUID=d8e7b.....
Then I ran
When I re-booted the computer, I did not find /dev/md0. Instead, I found /dev/md127 and a sub-directory /dev/md with one entry as follows:
("Cozumel" is the name of the computer.)
When I run
mdadm --examine --scan
I get the following:
ARRAY /dev/md/0 metadata=1.2 UUID=d8e7b..... name=Cozumel:0
I cannot mount the array. The closest I've been able to get has been with the command
mount /dev/md127 /datalib
but this comes back saying I must specify the filesystem type. When I try to do that
mount -t ext3 /dev/md127 /datalib
wrong fs type, bad option, bad superblock on /dev/md127 /datalib
missing codepage or helper proram, or other error.
At this point, I'm at a loss. Where might I go from here?