Red Hat Bugzilla – Bug 1025585
unexpected (extra and missing) entries shown on btrfs
Last modified: 2014-02-05 22:48:17 EST
Description of problem: When using btrfs, an extra item is always shown on a non-existent mount point.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Clean install F20 with only /home as btrfs.
2. ssm list
fedora fedora 292.97 GB btrfs 292.97 GB 272.31 GB btrfs /home
fedora:5 fedora 292.97 GB btrfs 292.97 GB 272.31 GB btrfs /home/5
Only the first line is expected. I don't understand the meaning of the 2nd line, there isn't a /home/5 mount point.
It becomes more confusing when I create another subvolume "data" and mount it at /data, and set this in fstab, leaving the /home fstab entry as is. Now I get:
fedora fedora 292.97 GB btrfs 292.97 GB 272.31 GB btrfs /data
fedora:5 fedora 292.97 GB btrfs 292.97 GB 272.31 GB btrfs /data/5
Where is /home? It's still mounted.
Created attachment 818106 [details]
default ssm list
Clean install, default fstab.
Created attachment 818107 [details]
Created attachment 818113 [details]
custom fstab, ssm list
This is with custom fstab that includes mounting subvol "data" to mountpoint /data.
Created attachment 818114 [details]
Adds /data mount point.
If I use the default fstab to boot, then ssm list, then manually mount subvol=data to /data, then ssm list, there is no change in results. (The data subvolume/mountpoint is not listed.)
Created attachment 818116 [details]
mountinfo, c5 state
continuing from comment 5, I issued cat /proc/self/mountinfo
Created attachment 818117 [details]
stat for home and data, c5 state
continuing from existing mount state, issued a stat for /home and /data.
Unfortunatelly ssm in Fedora 20 is outdated and as btrfs tools are changing all the time it is not going to work with recent btrfs progs. I need to update ssm for Fedora 20. Upstream version should work just fine.
Thanks for the report.
Building in system-storage-manager-0.4-4
system-storage-manager-0.4-4.fc20 has been submitted as an update for Fedora 20.
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing system-storage-manager-0.4-4.fc20'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
system-storage-manager-0.4-4.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.