Determining non-subvolume cephfs snapshot size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

    My apologies if this has been answered previously but by attempt to
find an answer have failed me. I am trying to determine the canonical
manner for determining how much storage space a cephfs snapshot is
consuming. It seems that you can determine the size of the referenced
data by pulling the ceph.dir.rbytes attribute for the the snap
directory, however there does not seem to be an attribute which
indicates the storage the snapshot it's self is consuming:

getfattr -d -m - daily_2021-10-07_191702
# file: daily_2021-10-07_191702
ceph.dir.entries="17"
ceph.dir.files="0"
ceph.dir.rbytes="6129426031788"
ceph.dir.rctime="1633653849.686409000"
ceph.dir.rentries="132588"
ceph.dir.rfiles="97679"
ceph.dir.rsubdirs="34909"
ceph.dir.subdirs="17"

I have found in the documentation references to the command "ceph fs
subvolume snapshot info" which should be able to give snapshot size in
bytes for a snapshot of a subvolume, however we are not using
subvolumes. If we assume a cephfs volume "volume" with a top-level
directory "directory" and an associated snapshot "snapshot":

volume/directory/.snap/snapshot

What is the best way to determine the size consumed by snapshot?

Thank you,

-David


-- 
David Prude
Systems Administrator
PGP Fingerprint: 1DAA 4418 7F7F B8AA F50C  6FDF C294 B58F A286 F847
Democracy Now!
www.democracynow.org


_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux