Re: [ceph-users] Stripping data

2014-12-15 Thread Ilya Dryomov
On Sun, Dec 14, 2014 at 10:38 AM, Kevin Shiah agan...@gmail.com wrote:
 Hello All,

 Does anyone know how to configure data stripping when using ceph as file
 system? My understanding is that configuring stripping with rbd is only for
 block device.

You should be able to set layout.* xattrs on directories and empty
files (directory layout just sets the default layout for the newly
created files within it).  There are also a couple of ioctls which do
essentially the same thing but I think their use is discouraged.
John will correct me if I'm wrong.

Thanks,

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


Re: [ceph-users] Stripping data

2014-12-15 Thread John Spray
Yes, setfattr is the preferred way.  The docs are here:
http://ceph.com/docs/master/cephfs/file-layouts/

Cheers,
John

On Mon, Dec 15, 2014 at 8:12 AM, Ilya Dryomov ilya.dryo...@inktank.com wrote:
 On Sun, Dec 14, 2014 at 10:38 AM, Kevin Shiah agan...@gmail.com wrote:
 Hello All,

 Does anyone know how to configure data stripping when using ceph as file
 system? My understanding is that configuring stripping with rbd is only for
 block device.

 You should be able to set layout.* xattrs on directories and empty
 files (directory layout just sets the default layout for the newly
 created files within it).  There are also a couple of ioctls which do
 essentially the same thing but I think their use is discouraged.
 John will correct me if I'm wrong.

 Thanks,

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


[ceph-users] Stripping data

2014-12-14 Thread Kevin Shiah
Hello All,

Does anyone know how to configure data stripping when using ceph as file
system? My understanding is that configuring stripping with rbd is only for
block device.


Many thanks,
Kevin
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com