Re: /var/lib/ceph/osd/ceph-xxx/current/meta shows "Structure needs cleaning"

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

 



Hi Wido,

Thank you for attention!
在 2018年3月8日,下午4:21,Wido den Hollander <wido@xxxxxxxx> 写道:



On 03/08/2018 08:01 AM, 赵贺东 wrote:
Hi All,
Every time after we activate osd, we got “Structure needs cleaning” in /var/lib/ceph/osd/ceph-xxx/current/meta.
/var/lib/ceph/osd/ceph-xxx/current/meta
# ls -l
ls: reading directory .: Structure needs cleaning
total 0
Could Anyone say something about this error?

Seems like XFS is broken. I recommend that you wipe that OSD and reformat it with ceph-disk/ceph-volume.
Because our ceph is run on ubuntu14.04, ceph-volume needs systemd(systemd only on ubuntu16.04) support.
It makes things more complicated if we want to use ceph-volume.

Also check the SMART values and verify that the disk isn't broken.
Because, every disk has the same problem.And only triggered by osd activating operation.
If I deploy osd manually , I can see the “Structure needs cleaning” will come out just after I try to start ceph-osd daemon;
It means, after I ran “start ceph-osd id=xxxx”, and then "ls -l  /var/lib/ceph/osd/ceph-xxx/current/meta” , there will be “Structure needs cleaning"
 

Do not attempt a XFS repair or something.
Yes xfs_repair has no effect.

Thank you!

Wido

Thank you!
_______________________________________________
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

_______________________________________________
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