Linux Scroll

Just another WordPress.com site

Activate a lvm volume group

# vgdisplay /dev/vg02
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vg02".
# vgchange -a y /dev/vg02
Activated volume group.
Volume group "/dev/vg02" has been successfully changed.
# vgdisplay /dev/vg02
--- Volume groups ---
VG Name                     /dev/vg02
VG Write Access             read/write
VG Status                   available
Max LV                      511
Cur LV                      15
Open LV                     15
Max PV                      511
Cur PV                      5
Act PV                      4
Max PE per PV               262144
VGDA                        8
PE Size (Mbytes)            64
Total PE                    178808
Alloc PE                    178800
Free PE                     8
Total PVG                   0
Total Spare PVs             0
Total Spare PVs in use      0
VG Version                  2.0
VG Max Size                 2p
VG Max Extents              33554432

To deactivate vg02:

# vgchange -a n /dev/vg02
Advertisements

Comments are closed.

%d bloggers like this: