Project

General

Profile

Actions

Bug #5283

closed

Ceph-deploy can't handle /dev/disk/by-* device paths

Added by Andrei Mikhailovsky almost 11 years ago. Updated almost 10 years ago.

Status:
Won't Fix
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

If you try to create a new osd with ceph-deploy using /dev/disk/by-* path instead of the /dev/* path the osd creation fails. During the creation process ceph-deploy simply adds "1" to the device name, which is absolutely fine if you are using /dev/* paths, like /dev/sda. However, if you use the /dev/disk/by-* paths you should be adding "-partN" where N is the partition number. Using /dev/disk/by-* paths is recommended if you are planning to add more disks to the storage which might change the existing block device paths/

Actions

Also available in: Atom PDF