All,

I am trying to use ceph-deploy to create an OSD on a multipath device but put 
the journal partition on the SSD the system boots from.
I have created a partition on the SSD (/dev/sda5) but ceph-deploy does not seem 
to like it.

I am trying:
ceph-deploy osd create ceph01:/dev/mapper/mpathb:/dev/sda5

It runs through and ends with:
[INFO  ] Running command: ceph --cluster=ceph osd stat --format=json
[WARNIN] there is 1 OSD down
[WARNIN] there is 1 OSD out


So I try to activate it:
                ceph-deploy disk activate 
ceph-1-35a:/dev/mapper/mpathb1:/dev/sda5

But that gives me an error:
[WARNIN] 2016-04-01 13:07:55.519488 7fecdd044800 -1  ** ERROR: error creating 
empty object store in /var/lib/ceph/tmp/mnt.VTxcYn: (13) Permission denied

It works fine if I only specify the single multipath device.
It works fine if I point to a disk for the journal, but not a partition.
It seems ceph-deploy is not set up to use an existing partition on a separate 
disk for a journal?

Is there a way to get ceph-deploy to use an existing partition for a journal?

Brian Andrus
ITACS/Research Computing
Naval Postgraduate School
Monterey, California
voice: 831-656-6238

_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to