Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 551550

Summary: localmount fails to mount subvolumes during boot
Product: Gentoo Hosted Projects Reporter: k4tfish <k4tfish>
Component: OpenRCAssignee: OpenRC Team <openrc>
Status: RESOLVED WORKSFORME    
Severity: normal CC: k4tfish
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.