This problem also exists for motherboard BIOS RAID, also known as FAKE
RAID. As such I think that this partition naming problem is common to
all device mapper entries (LVM2, DMRAID).
When using parted (v2.3) on an ASUS P5B-E motherboard with Intel Chipset
Raid ICH8R, parted appears to always append the letter "p" followed by
the partition number to the device name to arrive at the partition name.
I believe that the general rule of thumb for naming partitions is as
follows:
A) If the device name ends in a number, then append the letter "p" and
the partition number to create the partition name.
B) If the device name does not end in a number, then append the
partition number only to create the partition name.
From previous experience with the dmraid command, I think that it too
violates the general rule of thumb for naming partitions. Specifically
dmraid seems to only append the partition number, even if the device
name ends in a number. A work around to this problem is to use the
kpartx command to create the appropriately named device entries.
Regards,
Curtis Gedak
Hadmut Danisch wrote:
Hi,
when creating a partition table and partitions in a Linux logical volume
(to be used as a virtual hard disk for qemu), e.g.
/dev/mapper/vg-disk, then parted automatically creates partition entries
like /dev/mapper/vg-diskp1, ..p2, and so on.
These partition entries are incompatible with other linux uses, e.g.
grub expects the usual scheme where just 1,2,3 (without p) is appended
to the base device name.
regards
Hadmut
_______________________________________________
bug-parted mailing list
bug-parted@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-parted
_______________________________________________
bug-parted mailing list
bug-parted@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-parted