Comment 19 for bug 554582

Revision history for this message
Curtis Gedak (gedakc) wrote :

Thank you Phillip for indicating that "Libparted now directly supports dmraid devices and handles the dev node creation".

And also thank you Danny for saying that "When gparted tries to format my devices that end in a letter kpartx has renamed these to XXXp1".

This behaviour Danny mentioned seemed really odd to me so I decided to do some testing myself. Following is a description of my testing:

Immediately after booting from a Live CD of Ubuntu 10.04, the /dev/mapper directory contained the following entries:

control
isw_cjbdddajhi_Vol0
isw_cjbdddajhi_Vol01
isw_cjbdddajhi_Vol02
isw_cjbdddajhi_Vol03

Next I used parted (not GParted) to create another primary partition. After exiting parted the /dev/mapper directory contained the following entries:

control
isw_cjbdddajhi_Vol0
isw_cjbdddajhi_Vol0p1
isw_cjbdddajhi_Vol0p2
isw_cjbdddajhi_Vol0p3
isw_cjbdddajhi_Vol0p4

Based on this I can see that significant changes in behaviour have occurred with dmraid devices and parted from the Ubuntu 10.04 CD. Not only were new device entries created that match the rule of thumb for naming partitions, but the previous partition names as normally created by dmraid, were missing. Since kpartx was used, I can only assume that parted or some other subsystem is responsible for the change in partition names.

I'll bet that these discrepancies in behaviour are causing some confusion for people using dmraid devices and parted/gparted.