Skip to Content
Linux Administration Cookbook
book

Linux Administration Cookbook

by Adam K. Dean
December 2018
Beginner
826 pages
22h 54m
English
Packt Publishing
Content preview from Linux Administration Cookbook

Volume groups

You can have more than one physical volume grouped together in a volume group; later, this allows for flexibility in terms of the logical volumes that sit on top.

You will get a printout when using pvs and pvdisplay that tells you the volume group that the disk is a part of, but if you want to only list the volume group information, vgs and vgdisplay can be used:

$ sudo vgs  VG         #PV #LV #SN Attr   VSize   VFree  VolGroup00   1   2   0 wz--n- <38.97g    0$ sudo vgdisplay  --- Volume group ---  VG Name               VolGroup00  System ID               Format                lvm2  Metadata Areas        1  Metadata Sequence No  3  VG Access             read/write  VG Status             resizable  MAX LV                0  Cur LV                2  Open LV               2  Max PV                0  Cur PV                1  Act PV                1  VG Size               <38.97 GiB  PE Size               32.00 MiB  Total PE              1247 Alloc PE / Size 1247 / <38.97 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical Linux Security Cookbook - Second Edition

Practical Linux Security Cookbook - Second Edition

Tajinder Kalsi
Mastering Linux Administration

Mastering Linux Administration

Alexandru Calcatinge, Julian Balog

Publisher Resources

ISBN: 9781789342529Supplemental Content