Public bug reported:
It is not possible to mount a btrfs subvolume by supplying the name to
the subvol= argument. The mount only works by using subvolid="ID" where
"ID" is the subvolume ID. If you try to mount using the name, "No such
file or directory" is returned.
# sudo btrfs subvolume list /home
ID 3000 gen 109677 top level 5 path ryan/test
# sudo mount -t btrfs -o subvol=test /dev/sda1 testdir
mount: No such file or directory
# sudo mount -t btrfs -o subvolid=3000 /dev/sda1 testdir
< successful mount>
Ubuntu version:
Description: Linux Mint 17.1 Rebecca
Release: 17.1
Package version:
btrfs-tools:
Installed: 3.12-1
Candidate: 3.12-1
Version table:
*** 3.12-1 0
500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
Expected behavior:
Subvolume can be mounted by name
Actual behavior:
Mounting only works when using the ID
** Affects: btrfs (Ubuntu)
Importance: Undecided
Status: New
** Tags: btrfs
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1445283
Title:
cannot mount btrfs subvolume by name - No Such File or Directory
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/btrfs/+bug/1445283/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs