I have just installed a new version of fedora 12 64bit and have setup the following drive configuration -
Code:
[root@fedora ~]# cat /proc/mdstat
Personalities : [raid1]
md2 : active raid1 sdc1[0] sdd1[1]
312568576 blocks [2/2] [UU]
md1 : active raid1 dm-3[0]
37644416 blocks [2/1] [U_]
md0 : active raid1 dm-1[0]
409536 blocks [2/1] [U_]
unused devices: <none>
[root@fedora ~]# fdisk -l
Disk /dev/sda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000c53b3
Device Boot Start End Blocks Id System
/dev/sda1 1 51 409600 fd Linux raid autodetect
Partition 1 does not end on cylinder boundary.
/dev/sda2 51 179 1024000 82 Linux swap / Solaris
Partition 2 does not end on cylinder boundary.
/dev/sda3 179 4865 37644481 fd Linux raid autodetect
Disk /dev/sdb: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000c53b3
Device Boot Start End Blocks Id System
/dev/sdb1 1 51 409600 fd Linux raid autodetect
Partition 1 does not end on cylinder boundary.
/dev/sdb2 51 179 1024000 82 Linux swap / Solaris
Partition 2 does not end on cylinder boundary.
/dev/sdb3 179 4865 37644481 fd Linux raid autodetect
Disk /dev/sdc: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000b443f
Device Boot Start End Blocks Id System
/dev/sdc1 1 38913 312568641 fd Linux raid autodetect
Disk /dev/sdd: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0005fa92
Device Boot Start End Blocks Id System
/dev/sdd1 1 38913 312568641 fd Linux raid autodetect
Disk /dev/sde: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000babb4
Device Boot Start End Blocks Id System
/dev/sde1 * 1 121601 976760001 83 Linux
Disk /dev/dm-0: 40.0 GB, 40020663808 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000c53b3
Device Boot Start End Blocks Id System
/dev/dm-0p1 1 51 409600 fd Linux raid autodetect
Partition 1 does not end on cylinder boundary.
/dev/dm-0p2 51 179 1024000 82 Linux swap / Solaris
Partition 2 does not end on cylinder boundary.
/dev/dm-0p3 179 4865 37644481 fd Linux raid autodetect
Disk /dev/dm-1: 419 MB, 419430400 bytes
255 heads, 63 sectors/track, 50 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
Disk /dev/dm-2: 1048 MB, 1048576000 bytes
255 heads, 63 sectors/track, 127 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-2 doesn't contain a valid partition table
Disk /dev/dm-3: 38.5 GB, 38547948544 bytes
255 heads, 63 sectors/track, 4686 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-3 doesn't contain a valid partition table
Disk /dev/md0: 419 MB, 419364864 bytes
2 heads, 4 sectors/track, 102384 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
Disk /dev/md1: 38.5 GB, 38547881984 bytes
2 heads, 4 sectors/track, 9411104 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000
Disk /dev/md1 doesn't contain a valid partition table
Disk /dev/md2: 320.1 GB, 320070221824 bytes
2 heads, 4 sectors/track, 78142144 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000
Disk /dev/md2 doesn't contain a valid partition table
md0 is my /boot partition
md1 is my / partition
md2 is mounted for data
swap is not on raid (/dev/sda2 and /dev/sdb2)
I want to fill the second parts of the arrays md0 and md1.
The arrays should contain -
md0 - /dev/sda1 and /dev/sdb1
md1 - /dev/sda3 and /dev/sdb3
but for some reason I am getting dm-1 and dm-3.
How can I change the array so it contains the normal /dev/sda and /dev/sdb disks and partitions?
Why is the system telling me my drives are dm devices? I have no bios raid features on the motherboard.
How do I use md-1 and md-3 partitions?
How do I go back to the traditional /dev/sda and /dev/sdb devices?
By the way the system tells me that /dev/sda1 and /dev/sdb1 do not exist.