File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Documentation/filesystems Expand file tree Collapse file tree 1 file changed +10
-0
lines changed 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
57
57
system. Snapshot creation and deletion are as simple as 'mkdir
58
58
.snap/foo' and 'rmdir .snap/foo'.
59
59
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
+
60
70
Ceph also provides some recursive accounting on directories for nested
61
71
files and bytes. That is, a 'getfattr -d foo' on any directory in the
62
72
system will reveal the total number of nested regular files and
You can’t perform that action at this time.
0 commit comments