cluster, MDS_CLIENTS_BROKEN_ROOTSQUASH. See the documentation on this warning
and the new feature bit for more information.
+* cls_cxx_gather is marked as deprecated.
+* CephFS: cephfs-journal-tool is guarded against running on an online file system.
+ The 'cephfs-journal-tool --rank <fs_name>:<mds_rank> journal reset' and
+ 'cephfs-journal-tool --rank <fs_name>:<mds_rank> journal reset --force'
+ commands require '--yes-i-really-really-mean-it'.
* CephFS: Command "ceph mds fail" and "ceph fs fail" now requires a
confirmation flag when some MDSs exhibit health warning MDS_TRIM or
This tool is **dangerous** because it directly modifies internal
data structures of the file system. Make backups, be careful, and
- seek expert advice. If you are unsure, do not run this tool.
+ seek expert advice. If you are unsure, do not run this tool. As a
+ precaution, cephfs-journal-tool doesn't work on an active filesystem.
Syntax
------
::
- cephfs-journal-tool [--rank=N] journal reset
+ cephfs-journal-tool [--rank=<fs_name>:{mds-rank|all}] journal reset --yes-i-really-really-mean-it
-Specify the MDS rank using the ``--rank`` option when the file system has/had
+Specify the filesystem and the MDS rank using the ``--rank`` option when the file system has/had
multiple active MDS.
.. warning::
# InoTable
cephfs-table-tool 0 reset inode
# Journal
- cephfs-journal-tool --rank=0 journal reset
+ cephfs-journal-tool --rank=<fs_name>:0 journal reset --yes-i-really-really-mean-it
# Root inodes ("/" and MDS directory)
cephfs-data-scan init
cephfs-table-tool cephfs_recovery:0 reset session
cephfs-table-tool cephfs_recovery:0 reset snap
cephfs-table-tool cephfs_recovery:0 reset inode
- cephfs-journal-tool --rank cephfs_recovery:0 journal reset --force
+ cephfs-journal-tool --rank cephfs_recovery:0 journal reset --force --yes-i-really-really-mean-it
Now perform the recovery of the metadata pool from the data pool: