Skip to content

Instantly share code, notes, and snippets.

@dragonpiper
Last active October 10, 2021 10:41
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 dragonpiper/60e48171ebd769dcdb0ca96d6fd7042e to your computer and use it in GitHub Desktop.
Save dragonpiper/60e48171ebd769dcdb0ca96d6fd7042e to your computer and use it in GitHub Desktop.
Found volume group "vg-extra" using metadata type lvm2
--- Volume group ---
VG Name vg-extra
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 11
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 1
Max PV 0
Cur PV 1
Act PV 1
VG Size <931.51 GiB
PE Size 4.00 MiB
Total PE 238466
Alloc PE / Size 238418 / 931.32 GiB
Free PE / Size 48 / 192.00 MiB
pvscan
PV /dev/sdb1 VG ubuntu-vg lvm2 [232.88 GiB / 0 free]
PV /dev/sda1 VG vg-extra lvm2 [<931.51 GiB / 192.00 MiB free]
Total: 2 [<1.14 TiB] / in use: 2 [<1.14 TiB] / in no VG: 0 [0 ]
lsblk
sda 8:0 0 931.5G 0 disk
└─sda1 8:1 0 931.5G 0 part
├─vg--extra-root 253:2 0 930.4G 0 lvm /oldsystem
└─vg--extra-swap_1 253:3 0 976M 0 lvm
ls /oldsystem
config-4.15.0-159-generic config-5.6.17-050617-generic initrd.img-5.3.0-1019-azure memtest86+.bin System.map-5.3.0-1017-gke vmlinuz-5.3.0-1017-gcp
config-5.3.0-1017-aws grub initrd.img-5.3.0-1020-azure memtest86+.elf System.map-5.3.0-1019-azure vmlinuz-5.3.0-1017-gke
config-5.3.0-1017-gcp initrd.img-4.15.0-159-generic initrd.img-5.3.0-1020-azure.dpkg-bak memtest86+_multiboot.bin System.map-5.3.0-1020-azure vmlinuz-5.3.0-1019-azure
config-5.3.0-1017-gke initrd.img-5.3.0-1017-aws initrd.img-5.3.0-1020-azure.new System.map-4.15.0-159-generic System.map-5.6.17-050617-generic vmlinuz-5.3.0-1020-azure
config-5.3.0-1019-azure initrd.img-5.3.0-1017-gcp initrd.img-5.6.17-050617-generic System.map-5.3.0-1017-aws vmlinuz-4.15.0-159-generic vmlinuz-5.6.17-050617-generic
config-5.3.0-1020-azure initrd.img-5.3.0-1017-gke lost+found System.map-5.3.0-1017-gcp vmlinuz-5.3.0-1017-aws
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment