mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
e191780947
The heading 'Copy%' is specific to PVMOVE volumes, but can be generalized to apply to LVM mirrors also. It is a bit awkward to use 'Copy%' for RAID 4/5/6, however - 'Sync%' would be more appropriate. This is why RAID 4/5/6 have not displayed their sync status by any means available to 'lvs' yet. Example (old): [root@hayes-02 lvm2]# lvs vg LV VG Attr LSize Pool Origin Data% Move Log Cpy%Sy Convert lv vg -wi-a---- 1.00g raid1 vg rwi-a-r-- 1.00g 100.00 raid4 vg rwi-a-r-- 1.01g raid5 vg rwi-a-r-- 1.01g raid6 vg rwi-a-r-- 1.01g This patch changes the heading to 'Cpy%Sync' and allows RAID 4/5/6 to print their sync percent in this field. Example (new): [root@hayes-02 lvm2]# lvs vg LV VG Attr LSize Pool Origin Data% Move Log Cpy%Sync Convert lv vg -wi-a---- 1.00g raid1 vg rwi-a-r-- 1.00g 100.00 raid4 vg rwi-a-r-- 1.01g 100.00 raid5 vg rwi-a-r-- 1.01g 100.00 raid6 vg rwi-a-r-- 1.01g 100.00 |
||
---|---|---|
.. | ||
blkdeactivate.8.in | ||
clvmd.8.in | ||
cmirrord.8.in | ||
dmeventd.8.in | ||
dmsetup.8.in | ||
fsadm.8.in | ||
lvchange.8.in | ||
lvconvert.8.in | ||
lvcreate.8.in | ||
lvdisplay.8.in | ||
lvextend.8.in | ||
lvm.8.in | ||
lvm.conf.5.in | ||
lvmchange.8.in | ||
lvmconf.8.in | ||
lvmdiskscan.8.in | ||
lvmdump.8.in | ||
lvmetad.8.in | ||
lvmsadc.8.in | ||
lvmsar.8.in | ||
lvreduce.8.in | ||
lvremove.8.in | ||
lvrename.8.in | ||
lvresize.8.in | ||
lvs.8.in | ||
lvscan.8.in | ||
Makefile.in | ||
pvchange.8.in | ||
pvck.8.in | ||
pvcreate.8.in | ||
pvdisplay.8.in | ||
pvmove.8.in | ||
pvremove.8.in | ||
pvresize.8.in | ||
pvs.8.in | ||
pvscan.8.in | ||
vgcfgbackup.8.in | ||
vgcfgrestore.8.in | ||
vgchange.8.in | ||
vgck.8.in | ||
vgconvert.8.in | ||
vgcreate.8.in | ||
vgdisplay.8.in | ||
vgexport.8.in | ||
vgextend.8.in | ||
vgimport.8.in | ||
vgimportclone.8.in | ||
vgmerge.8.in | ||
vgmknodes.8.in | ||
vgreduce.8.in | ||
vgremove.8.in | ||
vgrename.8.in | ||
vgs.8.in | ||
vgscan.8.in | ||
vgsplit.8.in |