Actions
Bug #56414
closedmounting subvolume shows size/used bytes for entire fs, not subvolume
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
libcephfs
Labels (FS):
quotas
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
When mounting a subvolume at the base dir of the subvolume, the kernel client correctly shows the size/usage of a subvol:
Filesystem Size Used Avail Use% Mounted on xxx:6789:/volumes/_nogroup/4db8f9a6-926b-4306-8a6d-0e1b897c1d2f/d2ef5fea-040c-4ec1-b1bb-66073f9fc8ac 8.8T 0 8.8T 0% /cephfs
However if the client mounts a subdir of the subvolume, they see the size/usage of the entire cephfs:
Filesystem Size Used Avail Use% Mounted on xxx:6789:/volumes/_nogroup/4db8f9a6-926b-4306-8a6d-0e1b897c1d2f/d2ef5fea-040c-4ec1-b1bb-66073f9fc8ac/my/subdir 1.3P 430T 860T 34% /var/lib/service
`ceph-fuse` does not have this behaviour -- mounting at a subdir below the subvolume shows the "correct" subvolume size and usage.
Actions