l tried this mainly bc we have a NAS and want to use it as OSD nodes,but didn't break the NAS. 发自我的小米手机 Gregory Farnum <greg@xxxxxxxxxxx>编写: >On Tue, Jul 9, 2013 at 8:54 AM, huangjun <hjwsm1989@xxxxxxxxx> wrote: >> I've tried to use samba shared directory as an OSD in ceph, >> follow the steps: >> 1) mount -t cifs //192.168.0.13/public /var/lib/ceph/osd/ceph-4 -o >> username=root,user_xattr >> 2) configure the osd.4 in ceph.conf >> [osd] >> journal dio = false >> journal aio = false >> [osd.4] >> host = lab14 >> 3) ceph-osd -i 4 --mkfs --mkjournal --mkkey >> note: followed this >> http://techblog.rezitech.com/how-to-add-a-new-osd-to-an-existing-ceph-host/ >> but it returns an error: >> 2013-07-09 18:53:53.912570 7f43ba06e780 -1 >> filestore(/var/lib/ceph/osd/ceph-4) Extended attributes don't appear to >> work. Got error (95) Operation not supported. If you are using ext3 or ext4, >> be sure to mount the underlying file system with the 'user_xattr' option. >> 2013-07-09 18:53:53.914138 7f43ba06e780 -1 OSD::mkfs: couldn't mount >> FileStore: error -95 >> 2013-07-09 18:53:53.914183 7f43ba06e780 -1 ** ERROR: error creating empty >> object store in /var/lib/ceph/osd/ceph-4: (95) Operation not supported >> >> since it related to samba xattr, any one in ceph community tried this >> before? > >I don't think Samba provides all the filesystem semantics an OSD is >going to require to work correctly — we take advantage of a lot of >things most users don't. Here, it's noticing the lack of xattrs. >Sorry. >(Also: why?!?) >-Greg >Software Engineer #42 @ http://inktank.com | http://ceph.com _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com