We can see what extents are allocated on the physical volume
NAME
pvdisplay - Display various attributes of physical volume(s)
pvdisplay shows the attributes of PVs, like size, physical extent size, space used for the VG descriptor area, etc. Here pvdisplay along with options --maps will show the what extents are allocated on the physical volume to the lv.
[root@nsk postfix]# pvdisplay --maps /dev/sda2
--- Physical volume ---
PV Name /dev/sda2
VG Name centos
PV Size <19.00 GiB / not usable 3.00 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 4863
Free PE 0
Allocated PE 4863
PV UUID DQjmHN-fso4-Mu4t-3l1V-Yogj-ksTH-ROFiK7
--- Physical Segments ---
Physical extent 0 to 511:
Logical volume /dev/centos/swap
Logical extents 0 to 511
Physical extent 512 to 4862:
Logical volume /dev/centos/root
Logical extents 0 to 4350
Here,
-m --maps Display the mapping of physical extents to LVs and logical extents.
Saturday, January 6, 2018
Display what extents are allocated on the physical volume to logical volume
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment