Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
root@xen:~# pvscan
PV /dev/md0 VG vg0 lvm2 [272.96 GiB / 258.07 GiB free]
Total: 1 [272.96 GiB] / in use: 1 [272.96 GiB] / in no VG: 0 [0 ]
root@xen:~# vgscan
Reading all physical volumes. This may take a while...
Found volume group "vg0" using metadata type lvm2
root@xen:~# vgchange -a y
1 logical volume(s) in volume group "vg0" now active
root@xen:~# lvscan
ACTIVE '/dev/vg0/homelv' [14.90 GiB] inherit
root@xen:~#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment