On Tue, Dec 10, 2019 at 8:06 PM Frank Schilder <frans(a)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(a)ceph.io
> To unsubscribe send an email to ceph-users-leave(a)ceph.io