Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 551550 - localmount fails to mount subvolumes during boot
Summary: localmount fails to mount subvolumes during boot
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-09 12:43 UTC by k4tfish
Modified: 2015-06-10 12:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description k4tfish 2015-06-09 12:43:49 UTC
OpenRC is not yet btrfs aware. It fails to mount another subvolume during boot. 

localmount | * Mounting local filesystems ...
localmount |mount: /dev/mapper/root is already mounted or /var/portage/tree busy
localmount | /dev/mapper/root is already mounted on /
localmount | * Some local filesystem failed to mount

A btrfs can have thousands of subvolumes. Even if they are different to lvm/zfs, they should be mountable during boot too.
Comment 1 William Hubbs gentoo-dev 2015-06-09 22:57:49 UTC
I need more information on this. Specifically, what do I need to do to
mount subvolumes?
Comment 2 k4tfish 2015-06-10 12:02:51 UTC
I just found out that specifying the subvolid for the default volume in fstab solves the issue.

sorry for the inconveniences.