MB=`lvdisplay /dev/vg00/lvol4 |grep Mbytes |awk '{print $4}'` ; echo "`expr ${MB} / 1024` GB"
In the above command we just need to replace the volume group name and the logical volume name.
Subscribe to:
Post Comments (Atom)
MB=`lvdisplay /dev/vg00/lvol4 |grep Mbytes |awk '{print $4}'` ; echo "`expr ${MB} / 1024` GB"
In the above command we just need to replace the volume group name and the logical volume name.
No comments:
Post a Comment