writing a script now, just felt strange why 2 option return 2 different logical volume size??
size from -v is: 504M
size from -c is: 1032192 KB
504 M vs 1032192 KB ??
lvdisplay -v output=>
LV Name /dev/vg01/lvol1
VG Name vg01
LV Write Access read/write
LV Status available
LV # 1
# open 0
LV Size 504 MB
Current LE 126
Allocated LE 126
Stripes 2
Stripe size (KByte) 4
Allocation next free
Read ahead sectors 1024
Block device 58:0
lvdisplay -c output==>
/dev/vg01/lvol1:vg01:3:1:0:0:1032192:126:126:0:1024:58:0
size from -v is: 504M
size from -c is: 1032192 KB
504 M vs 1032192 KB ??
lvdisplay -v output=>
LV Name /dev/vg01/lvol1
VG Name vg01
LV Write Access read/write
LV Status available
LV # 1
# open 0
LV Size 504 MB
Current LE 126
Allocated LE 126
Stripes 2
Stripe size (KByte) 4
Allocation next free
Read ahead sectors 1024
Block device 58:0
lvdisplay -c output==>
/dev/vg01/lvol1:vg01:3:1:0:0:1032192:126:126:0:1024:58:0