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 674
    • Issues 674
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 160
    • Merge Requests 160
  • 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
  • #8609

Closed
Open
Opened Mar 05, 2018 by Alexander Zubkov@green

mkintifs: nlplug-findfs mount zfs filesystems on import

Hello. As I see nlplug-findgs calls zpool import without any additional parameters during its work:
https://github.com/alpinelinux/mkinitfs/blob/master/nlplug-findfs.c\#L508

In that case imported pool’s filesystems are mounted by default if they have mounpoint properties.
When later initramfs pivots into new root, they are left there mounted and can not be used because zfs thinks they are already mounted and cannot unmount them at the same time.

I think it would be better to do zpool import with “-N” option to not mount filesystems by default and then mount specified root filesystem somehow.

Also, I think providing some means to specify “-f” option would be nice too in cases when pool that was imported to other system needs to be imported.

(from redmine: issue id 8609, created on 2018-03-05)

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#8609