-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ceph-disk: don't change the journal partition uuid
We observe that the new /dev/disk/by-partuuid/<journal_uuid> symlink is not always created by udev when reusing a journal partition. Fix by not changing the uuid of a journal partition in this case -- instead we can reuse the existing uuid (and journal_symlink) instead. We also now assert that the symlink exists before further preparing the OSD. Fixes: ceph#10146 Signed-off-by: Dan van der Ster <[email protected]> Tested-by: Dan van der Ster <[email protected]>
- Loading branch information
Showing
1 changed file
with
33 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters