Re: CephFS : minimum stripe_unit ?

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

 



On Tue, Feb 14, 2017 at 11:38 AM, Florent B <florent@xxxxxxxxxxx> wrote:
> Hi everyone,
>
> I use Ceph-fuse on a Jewel cluster.
>
> I would like to set stripe_unit to 8192 on a directory but it seems not
> possible :
>
> # setfattr -n ceph.dir.layout.stripe_unit -v "8192" maildata1
> setfattr: maildata1: Invalid argument
>
> I know stripe_unit must be a multiple of object_size. I didn't change
> object_size and default value seems to be 4194304.
>
> And 8192 is a multiple of 4194304, isn't it ?
>
> Is there a minimum value ?

Yes -- this is a constant called CEPH_MIN_STRIPE_UNIT, which is equal to 65536.

John

>
> Thank you.
>
> Florent
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
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