Description of problem: It would be extremely beneficial for usability if, when LVM commands fail, the stderr messages from LVM could be displayed to the user in a dialog box so they know what went wrong and why. A couple examples of this are: - User tries to create a striped LV where stripes exceed the number of PVs in the VG - User tries to create a striped LV where the there aren't enough stripe extents available on one or more of the smallest PVs. Displaying: "Number of stripes (8) must not exceed number of physical volumes (3)" or "Insufficient allocatable extents suitable for parallel use for logical volume GIG: 35841 required" respectively in an error dialog is much more helpful than refreshing to the default view with no indication that the requested action could not be taken. Version-Release number of selected component (if applicable): system-config-lvm-0.9.6-1.0 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
This issue is being addressed by editing a standard dist package called RHPL, and adding a new executil method that returns stdout, stderr, and exitcode. The current one only returns stdout. When available, system-config-lvm code will use this new method and a dependency will be placed in the spec file for the necessary rev of RHPL. As this does not seem to be a showstopper, can we mark this as deferred for now?
With the addition of a modification to the rhpl libs, this bug is now fixable, and has been in 0.9.14-1.0
I am now getting error messages similar to the following, which is what is expected: lvcreate command failed. Command attempted: "/usr/sbin/lvcreate -n LV1 -l 9000 -i 4 -I 64 VG1" - System Error Message: Number of stripes (4) must not exceed number of physical volumes (2) Verified in system-config-lvm-0.9.17-1.0.