Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • Image Creation Image Creation
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Adélie LinuxAdélie Linux
  • Image CreationImage Creation
  • Issues
  • #13
Closed
Open
Issue created Aug 08, 2016 by Emily@emily🤖

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.

Assignee
Assign to
Time tracking