← Back to team overview

registry team mailing list archive

[Bug 554582] Re: Gparted does not list dmraid devices

 

Hi Curtis,

Thankyou for looking into my patch.
I dont have kpartx installed on my system at the moment but the changes listed in the ppa package are just the diffs from the previous ppa version which still had a kpartx dependency. (I have actually commented all the kpartx calls out).
Its not meant to be a proper patch it was merely testing.

I will try and re describe the error I get in gparted as I realise my
first description was confusing.

On my system I have a jmicron controller with several partitions:

jmicron_HD2
jmicron_HD21
jmicron_HD25
jmicron_HD26

On the live CD when I try to say format partition 6 from within Gparted
I get an error because it passes the above "jmicron_HD26" to mkfs when
in fact the partition names have been changed by kpartx to be
"jmicron_HD2p6"

the ls /dev/mapper now looks like this:
jmicron_HD2
jmicron_HD2p1
jmicron_HD2p5
jmicron_HD2p6

After removing the kpartx calls Gparted functions correctly and the partition names remain the same as in the first instance.
I think there must be a bug with naming within the dmraid.cc file which doesn't pass on the partition name changes from kpartx.
This is a separate bug to the one we are discussing so I will open a new bug report when I get some time.

Though from my testing I think it indicates that kpartx isn't actually
required as it handles new partition creation and formating just fine
once it is removed.

-- 
Gparted does not list dmraid devices
https://bugs.launchpad.net/bugs/554582
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for GParted.