]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Corrected four docs errors that prevented compilation.
authorZac Dover <zac.dover@gmail.com>
Fri, 3 Apr 2020 12:21:21 +0000 (22:21 +1000)
committerZac Dover <zac.dover@gmail.com>
Fri, 3 Apr 2020 12:21:21 +0000 (22:21 +1000)
Signed-off-by: Zac Dover <zac.dover@gmail.com>
doc/man/8/ceph-objectstore-tool.rst

index 219d383e750e84c16b764457fb79e229db0add5a..a220e0e0310666b32bbf84c53d139eb0a5f7b1b9 100644 (file)
@@ -159,13 +159,13 @@ Manipulating an object's content
 
 1. Make sure that the target OSD is down::
    
-   systemctl status ceph-osd@$OSD_NUMBER
+    systemctl status ceph-osd@$OSD_NUMBER
 
 2. Find the object by listing the objects of the OSD or placement group.
 
 3. Before setting the bytes on the object, make a backup and a working copy of the object. Here is the syntactic form of that command::
-
-   ceph-objectstore-tool --data-path $PATH_TO_OSD --pgid $PG_ID $OBJECT get-bytes > $OBJECT_FILE_NAME
+   
+    ceph-objectstore-tool --data-path $PATH_TO_OSD --pgid $PG_ID $OBJECT get-bytes > $OBJECT_FILE_NAME
 
 For example::
 
@@ -178,8 +178,8 @@ The first command creates the back-up copy, and the second command creates the w
 4. Edit the working copy object file.
 
 5. Set the bytes of the object::
-
-   ceph-objectstore-tool --data-path $PATH_TO_OSD --pgid $PG_ID $OBJECT set-bytes < $OBJECT_FILE_NAME
+     
+     ceph-objectstore-tool --data-path $PATH_TO_OSD --pgid $PG_ID $OBJECT set-bytes < $OBJECT_FILE_NAME
 
 For example::
 
@@ -291,8 +291,8 @@ Procedure
     Get the object map key:
 
     Syntax::
-
-    ceph-objectstore-tool --data-path $PATH_TO_OSD --pgid $PG_ID $OBJECT get-omap $KEY > $OBJECT_MAP_FILE_NAME
+     
+       ceph-objectstore-tool --data-path $PATH_TO_OSD --pgid $PG_ID $OBJECT get-omap $KEY > $OBJECT_MAP_FILE_NAME
 
    Example::