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.

I created a Feature req here http://tracker.ceph.com/issues/13073 but it would be nice to discuss it.





_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to