> - Have created ZFS mount:
> “/var/lib/ceph/osd/ceph-0”
> - followed the instructions at:
> http://ceph.com/docs/firefly/rados/operations/add-or-rm-osds/
> failing on the step 4. Initialize the OSD data directory.

> ceph-osd -i 0 —mkfs --mkkey

> 2014-11-25 22:12:26.563666 7ff12b466780 -1 
> filestore(/var/lib/ceph/osd/ceph-0) mkjournal error 
> creating journal on /var/lib/ceph/osd/ceph-0/journal: (22) Invalid argument
> 2014-11-25 22:12:26.563691 7ff12b466780 -1 OSD::mkfs: ObjectStore::mkfs 
> failed with error -22
> 2014-11-25 22:12:26.563765 7ff12b466780 -1 ** ERROR: error creating empty 
> object store in /var/lib/ceph/osd/ceph-0: (22) Invalid argument

 
It has been almost a year since I last tried ZFS, but I had to add to the 
ceph.conf file:

   filestore zfs_snap = 1   
   journal aio = 0
   journal dio = 0

Eric

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

Reply via email to