LVM is heavily broken on live CD
Bugzilla ID | 13 |
Reporter | A. Wilcox (awilfox) |
Assignee | A. Wilcox (awilfox) |
Reported | 2016-08-08 03:28:06 -0500 |
Modified | 2017-12-15 21:55:25 -0600 |
Status | RESOLVED FIXED |
Version | 1.0-ALPHA1 |
Hardware | Adélie Linux / Intel x86 (64-bit) |
Importance | Highest / blocker |
Description
adelie ~ # vgcreate -v kelsey /dev/vda2
Adding physical volume '/dev/vda2' to volume group 'kelsey'
adelie ~ # lvcreate -L 40G -n root kelsey
Volume group "kelsey" not found
adelie ~ # vgcscan -v
Reading all physical volumes. This may take a while...
Finding all volume groups.
No volume groups found.
adelie ~ # vgcreate -An -v kelsey /dev/vda
Adding physical volume '/dev/vda2' to volume group 'kelsey'
Volume group "kelsey" successfully created
adelie ~ # lvcreate -An -L 40G -n root kelsey
7fbb177ce000-7fbb17a11000 r-xp 00000000 07:04 398 /lib/libdevmapper.so.1.02: mlock failed: Out of memory
7fbb17a16000-7fbb17c1b000 r-xp 00000000 07:04 398 /lib/libdevmapper.so.1.02: mlock failed: Out of memory
Logical volume "root" created.
The need for "-An" is because /etc is read-only and therefore it cannot make a backup of the PV layout in /etc/lvm/archive, and that is probably ok. Can someone trace the mlock and see if that issue is also caused by read-only /etc, or if something more sinister is occurring on the live CD? I really don't want to ship anything even remotely resembling that output in a user-facing utility.