[Bug 338873] Re: gparted bad command line parameters with mapper devices
Phillip Susi
psusi at cfl.rr.com
Wed Jan 4 15:36:45 UTC 2012
** Changed in: gparted (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gparted in Ubuntu.
https://bugs.launchpad.net/bugs/338873
Title:
gparted bad command line parameters with mapper devices
Status in “gparted” package in Ubuntu:
Fix Released
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gparted/+bug/338873/+subscriptions
More information about the foundations-bugs
mailing list