gparted bad command line parameters with mapper devices

Bug #338873 reported by bsh
4
Affects Status Importance Assigned to Milestone
gparted (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: gparted

hello
gparted doesn't seem to work with /dev/mapper devices. (there's already a bug report of this, but it is another issue as i read)
problem: when trying to resize an ntfs partition (i didn't try it with other types) that is on a dmraid array, gparted passes wrong command line parameters to ntfsresize. instead of the partition name, it passes the name of the array to ntfsresize, which then, of course, returns an error to gparted, which then aborts with an error.
for example: i have a nforce4 ultra chipset, with 2x320gb drives in a raid0 array. dmraid detects the array fine and creates the device /dev/mapper/nvidia_bijeidde. gparted sees this device, and allows the creation of partitions. the first created partition will be in /dev/mapper/nvidia_bijeidde1 (note the "1" at the end, indicating this is the first partition). it can even format this partition to ntfs.
but from here, any operation on the partition fails. checking for errors. moving, resizing, etc. fails with an error message. when the details view is expanded, it becomes clear, that gparted always calls ntfsresize to check the consistency of the file system, before any further action. unfortunatelly gparted passes the array name to ntfsresize in the command line, instead of the partition name.
when running ntfsresize from any command line with the correct command line, it works fine.
i didn't test this with other file systems, but i could imagine, gparted woudl also pass wrong command line parameters to the other utilities.

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

Initial support for /dev/mapper dmraid devices has been developed for GParted.

If you are able to help out with testing, please read the following GParted forum post:
http://gparted-forum.surf4.info/viewtopic.php?id=13264

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

GParted 0.4.4 has just been released. It includes support for /dev/mapper dmraid devices.

Phillip Susi (psusi)
Changed in gparted (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.