I have the following configuration of LVM:
Code: Select all
[root@centos ~]# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
lv_home vg_centos -wi-ao---- 100.00g
lv_root vg_centos -wi-ao---- 50.00g
lv_swap vg_centos -wi-ao---- 7.75g
But, the size occupied by physical volume is:
Code: Select all
[root@centos ~]# pvs
PV VG Fmt Attr PSize PFree
/dev/sda5 vg_centos lvm2 a--u 502.83g 345.08g
How to shrink partition?
Take a look at the screenshot attached.
Thank you very much for answering in advance.