feature to automatically set journal file name as osd.{osd-num} with ceph-deploy.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux