Skip to content

Instantly share code, notes, and snippets.

Created October 21, 2016 22:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/2d3378bd1f036b42bdb3e9e4ac12b43f to your computer and use it in GitHub Desktop.
Save anonymous/2d3378bd1f036b42bdb3e9e4ac12b43f to your computer and use it in GitHub Desktop.
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