Bug report for LVM 1.08
Hello Heinz,
Here are a few defects.
There are inconsistency in view between
lvdisplay and lvdisplay with -c option
Here is an example:
lvdisplay /dev/vg_demo/striped
--- Logical volume ---
LV Name /dev/vg_demo/striped VG Name vg_demo LV Write Access read/write LV Status available LV # 3 # open 0 LV Size 1 GB Current LE 32 Allocated LE 32 Stripes 2 Stripe size (KByte) 4 Allocation next free Read ahead sectors 1024 Block device 58:2
lvdisplay -c /dev/vg_demo/striped /dev/vg_demo/striped:vg_demo:3:1:2:0:2097152:32:32:0:1024:58:2
1. As you can see the option -c does not show information about stripes at all.
2. -c option also does not show information on snapshot volumes
3. Also in vgdisplay, pvdisplay and lvdisplay with -c option some of the sizes shown in KBytes and some of the sizes in the number of sectors ?
We are (here at Novell) relying heavily on -c option. Do you have any plans to fix these defects ?
If yes when are you planing to have a patch or next release ? Thanks a lot.
Alex.
Alexander,
the colon output has been added in 1997 to address a SuSE requirement IRT to easing the installation process and displays the requested fields.
LVM1 is in feature freeze for a long time now in favour
of putting the development focus on LVM2, which is compatible to LVM1.
Please check into the pvs, vgs and lvs commands in LVM2, which provide formatable output.
Regards,
Heinz -- The LVM Guy --
Quoted 41 lines · Alexander Danoyan
Hello Heinz,
Here are a few defects.
There are inconsistency in view between
lvdisplay and lvdisplay with -c option
Here is an example:lvdisplay
/dev/vg_demo/striped--- Logical volume ---
LV Name /dev/vg_demo/striped VG Name vg_demo LV Write Access read/write LV Status available LV # 3 # open 0 LV Size 1 GB Current LE 32 Allocated LE 32 Stripes 2 Stripe size (KByte) 4 Allocation next free Read ahead sectors 1024 Block device 58:2lvdisplay -c
/dev/vg_demo/striped/dev/vg_demo/striped:vg_demo:3:1:2:0:2097152:32:32:0:1024:58:21. As you can see the option -c does not show information about stripes at all.
2. -c option also does not show information on snapshot volumes3. Also in vgdisplay, pvdisplay and lvdisplay with -c option some of the sizes shown in KBytes and some of the sizes in the number of sectors ?
We are (here at Novell) relying heavily on -c option. Do you have any plans to fix these defects ?
If yes when are you planing to have a patch or next release ? Thanks a lot.
Quoted 7 lines
Alex.
_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Red Hat, Inc.
Consulting Development Engineer Am Sonnenhang 11
56242 Marienrachdorf Germany
[email protected] +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-