Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
aports
aports
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 645
    • Issues 645
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 209
    • Merge Requests 209
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • alpine
  • aportsaports
  • Issues
  • #12325

Closed
Open
Opened Jan 17, 2021 by Kevin Daudt@kdaudt💻Owner

main/linux-5.10.7: failure to find root fs on lvm volume

When booting a legacy bios server, and the rootfs is on lvm, nlplug-findfs fails to find the block devices that contain the lvm volumes, preventing these volumes from being activated and resulting in mkinitfs-init not being able to mount / switch_root to the rootfs.

This works on Alpine 3.12 with linux 5.4.84. Just upgrading the kernel to 5.10.7 results in these issues.

When running nlplug-findfs with debugging on, on a working system, this is part of the output:

nlplug-findfs: uevent: action='add' subsystem='block' devname='sdc2' devpath='/devices/pci0000:00/0000:00:03.2/0000:01:00.0/host12/port-12:0/end_device-12:0/target12:0:0/12:0:0:0/block/sdc/sdc2'                                        

With linux-5.10.7, this line (and other related lines) are missing.

If I manually run nlplug-findfs afterwards in the emergency shell, the lvm volumes are activated, so this is some kind of timing issue.

Edited Jan 17, 2021 by Kevin Daudt
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: alpine/aports#12325