On Thu, 9 May 2013, Danny Luhde-Thompson wrote:
> I don't seem to be able to use the cephfs command via a fuse mount.  Is this
> expected?  I saw no mention of it in the doc.  This is on the default
> precise kernel (3.2.0-40-generic #64-Ubuntu SMP Mon Mar 25 21:22:10 UTC 2013
> x86_64 x86_64 x86_64 GNU/Linux).
> danny@ceph:/ceph$ cephfs . show_layout
> Error getting layout: Inappropriate ioctl for device

Yeah, the ioctls only work for the kernel client.

Most of what you used to do via the cephfs tool can now be done via 
getting and setting virtual xattrs:

 getfattr -d -m - file

sage

> 
> strace :-
> 
> open(".", O_RDONLY)                     = 3
> fstat(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
> ioctl(3, 0x80289701, 0x7fff3b7b1890)    = -1 ENOTTY (Inappropriate ioctl for
> device)
> 
> Thanks,
> 
> Danny
> 
> --
> Mean Trading Systems LLP
> http://www.meantradingsystems.com
> 
> 
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to