Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / doc / cephfs / upgrading.rst
1
2 Upgrading pre-Firefly filesystems past Jewel
3 ============================================
4
5 .. tip::
6
7     This advice only applies to users with filesystems
8     created using versions of Ceph older than *Firefly* (0.80).
9     Users creating new filesystems may disregard this advice.
10
11 Pre-firefly versions of Ceph used a now-deprecated format
12 for storing CephFS directory objects, called TMAPs.  Support
13 for reading these in RADOS will be removed after the Jewel
14 release of Ceph, so for upgrading CephFS users it is important
15 to ensure that any old directory objects have been converted.
16
17 After installing Jewel on all your MDS and OSD servers, and restarting
18 the services, run the following command:
19
20 ::
21     
22     cephfs-data-scan tmap_upgrade <metadata pool name>
23
24 This only needs to be run once, and it is not necessary to
25 stop any other services while it runs.  The command may take some
26 time to execute, as it iterates overall objects in your metadata
27 pool.  It is safe to continue using your filesystem as normal while
28 it executes.  If the command aborts for any reason, it is safe
29 to simply run it again.
30
31 If you are upgrading a pre-Firefly CephFS filesystem to a newer Ceph version
32 than Jewel, you must first upgrade to Jewel and run the ``tmap_upgrade``
33 command before completing your upgrade to the latest version.
34