Re: Stripping data

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

 



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.dryomov@xxxxxxxxxxx> wrote:
> On Sun, Dec 14, 2014 at 10:38 AM, Kevin Shiah <aganwin@xxxxxxxxx> 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@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux