Actions
Feature #13073
openautomatically set journal file name as osd.{osd-num} with ceph-deploy.
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
other
Tags:
Backport:
Description
I ran this as a test:
ceph-deploy osd prepare ceph01-osd02:sdb:/mnt/
And output is:
[ceph01-osd02][WARNIN] ceph-disk: Error: Journal /mnt/ is neither a block device nor regular file
It would be great if we could only provide a directory as journal, and when ceph-deploy detects this it would name the journal file as the OSD it creates in said directory.
After the above try I named the journal manually and got this output:
-4 2.71999 host ceph01-osd02 2 2.71999 osd.2 up 1.00000 1.00000
which indicates the newly prepared drive is named osd.2 so ceph-deploy could name the journal /mnt/osd.2 when only applying
ceph-deploy osd prepare ceph01-osd02:sdb:/mnt/ instead of an error message which says Journal /mnt/ is neither a block device nor regular file.
It would make it alot easier and less of a pain to name the journal file if going with journal-file and not -dev with ceph-deploy.
No data to display
Actions