Thanks for the fast answer!

Is there any (other) way to get a complete list of extended attributes?
Is there something documented - meaning what can I rely on in the future?

Best regards,

=================
Frank Schilder
AIT Risø Campus
Bygning 109, rum S14

________________________________________
From: Yan, Zheng <uker...@gmail.com>
Sent: 10 December 2019 13:25
To: Frank Schilder
Cc: ceph-users
Subject: Re: [ceph-users] getfattr problem on ceph-fs

On Tue, Dec 10, 2019 at 8:06 PM Frank Schilder <fr...@dtu.dk> wrote:
>
> I have a strange problem with ceph fs and extended attributes. I have two 
> Centos machines where I mount cephfs in exactly the same way (I manually 
> executed the exact same mount command on both machines). On one of the 
> machines, getfattr returns this:
>
> [root@ceph-01 ~]# getfattr -d -m 'ceph.*'
> getfattr: Removing leading '/' from absolute path names
> # file: mnt/cephfs/hpc/home
> ceph.dir.entries="49"
> ceph.dir.files="1"
> ceph.dir.rbytes="77816237666910"
> ceph.dir.rctime="1575978038.0976848840"
> ceph.dir.rentries="6673312"
> ceph.dir.rfiles="6271408"
> ceph.dir.rsubdirs="401904"
> ceph.dir.subdirs="48"
>
> and on the other I get nothing:
>
> [root@gnosis ~]# getfattr -d -m 'ceph.*' /mnt/cephfs/hpc/home
>
> No error message, just nothing.
>
> The only difference is, that ceph-01 was kickstarted with Centos7.6 while 
> gnosis was kickstarted with Centos7.7. Otherwise, both machines are deployed 
> identically. getfattr is the same version on both. Kernel versions are 
> ceph-01:5.0.2-1.el7.elrepo.x86_64 and gnosis:5.4.2-1.el7.elrepo.x86_64.
>
> Does anyone have a pointer what to look for?
>

recent version kclient/ceph-fuse hide ceph.* xattrs from listxattr(2)
syscall.  these xattrs still can be accessed by their names. such as

getfattr -n ceph.dir.rctime /mnt/cephfs/hpc/home

> Thanks!
>
> =================
> Frank Schilder
> AIT Risø Campus
> Bygning 109, rum S14
> _______________________________________________
> ceph-users mailing list -- ceph-users@ceph.io
> To unsubscribe send an email to ceph-users-le...@ceph.io
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to