< 6 Metadata Recovery of a Physical Volume | Commands
https://www.udemy.com/course/a-complete-guide-on-linux-lvm/learn/lecture/13062676#overview
35. Physical Volume Attributes
pvs PV VG Fmt Attr PSize PFree /dev/sda3 v1VG lvm2 a-- 196.96g 0 /dev/sdb1 lvm2 --- 196.96g 0 /dev/sdc1 v2vm lvm2 ax- 196.96g 0
- PV – Physical volume location
- VG – Name of the VG it belongs to
- Fmt – ?
- Attr – Attributes
- a – Allocated to a volume group
- Notice /sdb1 has no VG, and does not have ‘a’
- You can also stop allocation to an allocated PV using the pvchange command and remove the ‘a’ flag
- x – The volume group has been exported
- a – Allocated to a volume group
36. Volume Group Attributes
https://www.udemy.com/course/a-complete-guide-on-linux-lvm/learn/lecture/13062676#overview
vgs VG #PV #LV #SN Attr VSize VFree myvg 3 5 0 wz--n- 5.98g 4.86g
- VG – Name of the Volume Group
- PV – Physical Volumes
- LV – Logical Volumes contained within this VG
- SN – Serial Number. Starts at 0 and increments by 1.
- Attr – Attributes
- w/r – (w)rite or (r)ead only
- z – si(z)e. The VG can be expanded.
- x – The VG has been e(x)ported.
- p – (p)artially deactivated
- n – Allocation Policy: (n)ormal
- c – (c)luster
UC-c61cd94a-2497-4468-a5eb-33c723c44ac4