On 04/22/2015 11:22 AM, Stéphane DUGRAVOT wrote:
> Hi all,
> When running command :
>
> cephfs /cephfs/ show_layout
>
> The result is :
>
> WARNING: This tool is deprecated. Use the layout.* xattrs to query and modify
> layouts.
> Error getting layout: (25) Inappropriate ioctl for device
>
> I didn't alternative for set and show layout nor another tool. is there a way to
> change the pool id ? How to use layout.* xattrs ?
See the docs, they contain all you need:
http://ceph.com/docs/master/cephfs/file-layouts/
Thank you for pointing me the right url, it works as expected !
Stephane.
$ getfattr -n ceph.file.layout <file>
Wido
> Thanks,
> Stephane.
>
>
>
> Ceph version :
> ceph version 0.94.1 (e4bfad3a3c51054df7e537a724c8d0bf9be972ff)
>
> The mount is a kernel mount :
> mount -t ceph 1.2.3.4:/data1 /cephfs
>
>
>
> --
> Université de Lorraine*/
> /*Stéphane DUGRAVOT - Direction du numérique - Infrastructure
> Jabber : /stephane.dugravot@xxxxxxxxxxxxxxxx/
> Tél.: /+33 3 83 68 20 98/
>
>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
--
Wido den Hollander
42on B.V.
Ceph trainer and consultant
Phone: +31 (0)20 700 9902
Skype: contact42on
_______________________________________________
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