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

Reply via email to