Public bug reported:
Hi,
after upgrading to feisty I have the problem that all physical partitions such
as /dev/hda1,... /dev/sda1,...
are listed in the device mapper as 1:1 linear devices, e.g.
# dmsetup ls | fgrep hda
hda4 (253, 0)
hda3 (253, 3)
hda2 (253, 20)
hda1 (253, 18)
# dmsetup table hda1
0 1381527 linear 3:0 63
# dmsetup table hda2
0 2554335 linear 3:0 1381590
So the device mapper does for some reason mimic the partition table by
defining a linear device as a slice of /dev/hda for every single
physical partition.
This confuses my RAID setup, which basically works, but uses the mapper
devices instead of the physical devices.
# cat /proc/mdstat
...
md0 : active raid1 dm-19[1] dm-18[0]
690688 blocks [2/2] [UU]
For obvious reasons, "dm-19" and "dm-18" are not the devices names to use for
RAID entries.
Unfortunately, I could not yet find where to turn this behavior to generate a
mapper entry for every partition off.
One could workaround this by changing the devices entry in
/etc/mdadm/mdadm.conf, but this is just an odd workaround.
regards
Hadmut
** Affects: Ubuntu
Importance: Undecided
Status: New
--
device mapper lists all physical partitions
https://bugs.launchpad.net/bugs/123982
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs