File tree Expand file tree Collapse file tree
Documentation/filesystems Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,6 +57,16 @@ a snapshot on any subdirectory (and its nested contents) in the
5757system. Snapshot creation and deletion are as simple as 'mkdir
5858.snap/foo' and 'rmdir .snap/foo'.
5959
60+ Snapshot names have two limitations:
61+
62+ * They can not start with an underscore ('_'), as these names are reserved
63+ for internal usage by the MDS.
64+ * They can not exceed 240 characters in size. This is because the MDS makes
65+ use of long snapshot names internally, which follow the format:
66+ `_<SNAPSHOT-NAME>_<INODE-NUMBER> `. Since filenames in general can't have
67+ more than 255 characters, and `<node-id> ` takes 13 characters, the long
68+ snapshot names can take as much as 255 - 1 - 1 - 13 = 240.
69+
6070Ceph also provides some recursive accounting on directories for nested
6171files and bytes. That is, a 'getfattr -d foo' on any directory in the
6272system will reveal the total number of nested regular files and
You can’t perform that action at this time.
0 commit comments