Bug 12111 - mount doesn't support non-default subvolume in BTRFS
Summary: mount doesn't support non-default subvolume in BTRFS
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.30.x
Hardware: PC Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-14 23:04 UTC by lord-busybox
Modified: 2019-08-14 23:04 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lord-busybox 2019-08-14 23:04:18 UTC
While trying to mount another subvolume than the default one it fails.

When launching *mount /dev/sdb /mnt -o subvolid=555* it fails.
When launching *mount /dev/sdb /mnt -o subvolid=5* it works.

In BTRFS the subvolume 5 is the default one, trying to mount any other than this one it will fail.

Mount from util-linux can mount any subvolid.

This bug is present in 1.30.1 (alpine) in 1.31 (gentoo) too.


busybox mount /dev/sdb /mnt/test -o subvolid=555 -t btrfs
mount: mounting /dev/sdb on /mnt/test failed: No such file or directory

My fs is a multi-device raid6 btrfs (it may be the root of the bug ?).