cephfs (ceph-fuse) and file-layout: "operation not supported" in a client Ubuntu Trusty

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

 



Hi @all,

I'm using ceph Infernalis (9.2.0) in the client and cluster side.
I have a Ubuntu Trusty client where cephfs is mounted via ceph-fuse
and I would like to put a sub-directory of cephfs in a specific pool
(a ssd pool).

In the cluster, I have:

~# ceph auth get client.cephfs
exported keyring for client.cephfs
[client.cephfs]
	key = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX==
	caps mds = "allow"
	caps mon = "allow r"
	caps osd = "allow class-read object_prefix rbd_children, allow rwx pool=cephfsdata, allow rwx pool=poolssd"

~# ceph fs ls
name: cephfs, metadata pool: cephfsmetadata, data pools: [cephfsdata poolssd ]

Now, in the Ubuntu Trusty client, I have installed the "attr" package
and I try this:

~# mkdir /mnt/cephfs/ssd

~# setfattr -n ceph.dir.layout.pool -v poolssd /mnt/cephfs/ssd/
setfattr: /mnt/cephfs/ssd/: Operation not supported

~# getfattr -n ceph.dir.layout /mnt/cephfs/
/mnt/cephfs/: ceph.dir.layout: Operation not supported

Here is my fstab line which mount the cephfs:

id=cephfs,keyring=/etc/ceph/ceph.client.cephfs.keyring,client_mountpoint=/data1 /mnt/cephfs fuse.ceph noatime,defaults,_netdev 0 0

Where is my problem?
Thanks in advance for your help. ;)

-- 
François Lafont
_______________________________________________
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