Skip to content

Instantly share code, notes, and snippets.

@tboerger
Created October 30, 2016 11:45
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 tboerger/5f0b06ffd94f2f92fadd66435ca3f49c to your computer and use it in GitHub Desktop.
Save tboerger/5f0b06ffd94f2f92fadd66435ca3f49c to your computer and use it in GitHub Desktop.
# lvcreate -L 2G -n test system
/dev/system/test: not found: device not cleared
Aborting. Failed to wipe start of new LV.
/dev/nbd2: BLKDISCARD ioctl at offset 1048576 size 2147483648 failed: Operation not supported.
# pvdisplay
--- Physical volume ---
PV Name /dev/nbd2
VG Name system
PV Size 139.70 GiB / not usable 3.14 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 35762
Free PE 35762
Allocated PE 0
PV UUID Aeagvu-PqQG-WKDn-eJ7j-3yhL-Vndr-7GKNYQ
--- Physical volume ---
PV Name /dev/nbd3
VG Name system
PV Size 139.70 GiB / not usable 3.14 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 35762
Free PE 35762
Allocated PE 0
PV UUID 09iE01-oPfQ-0q8y-SML7-YQMN-H4HM-BQr3CW
# vgdisplay
--- Volume group ---
VG Name system
System ID
Format lvm2
Metadata Areas 2
Metadata Sequence No 5
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 0
Open LV 0
Max PV 0
Cur PV 2
Act PV 2
VG Size 279.39 GiB
PE Size 4.00 MiB
Total PE 71524
Alloc PE / Size 0 / 0
Free PE / Size 71524 / 279.39 GiB
VG UUID twbfAO-i9s7-8Ifr-anU0-kZdb-XGGr-pxBK5r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment