How to reduce physical volume on remote Virtual Machine?
Posted on 2015-02-11
I'd like to reduce the disk size of a remote VM as I've removed 83G logical volume that was not required. All that I've seen on this indicates the use of LiveCD, I have no physical access and can access VM console via host.
Anyone suggest a low risk method?
PV VG Fmt Attr PSize PFree
/dev/vda2 vg_rm01 lvm2 a-- 149.51g 83.77g
VG #PV #LV #SN Attr VSize VFree
vg_rm01 1 2 0 wz--n- 149.51g 83.77g
LV VG Attr LSize Pool Origin Data% Move Log Cpy%Sync Convert
lv_root vg_rm01 -wi-ao--- 50.00g
lv_swap vg_rm01 -wi-a---- 15.74g