Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1785730

Summary: [DOCS] Correction required on Journal replacement scenario in operations guide
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Mike Hackett <mhackett>
Component: DocumentationAssignee: ceph-docs <ceph-docs>
Documentation sub component: Administration Guide QA Contact: Veera Raghava Reddy <vereddy>
Status: CLOSED INSUFFICIENT_DATA Docs Contact:
Severity: medium    
Priority: unspecified CC: agunn, gsitlani, jbrier, kdreyer, knortema
Version: 3.3   
Target Milestone: rc   
Target Release: 5.*   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-06-01 19:44:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mike Hackett 2019-12-20 19:32:12 UTC
Description of problem:
The RHCS 3 Operations Guide details replacing a Journal disk but incorrectly provides a command which could be subject to incorrect interpretation.

Guide: 
https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/3/html-single/operations_guide/index#replacing-a-journal-using-the-command-line-interface-ops

Step 6. Set the proper parameters on the new partition:
sgdisk --change-name=0:"ceph journal" --partition-guid=0:$OLD_PART_UUID --typecode=0:45b0969e-9b03-4f30-b4c6-b4b80ceff106 --mbrtogpt -- $NEW_DEV_PATH

This is actually specifying the partition-guid as 0 in the above command, if we provide this we need to detail that this is an example that that --partition-guid=0 should reflect the partition guid being replaced.

Please see https://access.redhat.com/solutions/2328701 for more details.


Version-Release number of selected component (if applicable):
RHCS 3.3


Actual results:
Could impact OSD's and/or disks not intended to be modified.

Expected results:
Should modify correct partition.