Public bug reported:

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.

** Affects: gparted (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: gparted mapper ntfsresize

-- 
gparted bad command line parameters with mapper devices
https://bugs.launchpad.net/bugs/338873
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to