Re: MDS: bad/negative dir size

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

 



On Wed, Feb 3, 2016 at 3:16 AM, Yan, Zheng <zyan@xxxxxxxxxx> wrote:
>
>> On Feb 3, 2016, at 17:51, Markus Blank-Burian <burian@xxxxxxxxxxx> wrote:
>>
>> Hi,
>>
>> on ceph mds startup, I see the following two errors in the our logfiles (using ceph 9.2.0 and linux 4.4 cephfs kernel client):
>>
>> Feb  2 19:27:13 server1 ceph-mds[1809]: 2016-02-02 19:27:13.363416 7fce9effd700 -1 log_channel(cluster) log [ERR] : bad/negative dir size on 603 f(v2008 m2016-02-02 18:52:25.870376 -327=-316+-11)
>> Feb  2 19:27:13 server1 ceph-mds[1809]: 2016-02-02 19:27:13.363442 7fce9effd700 -1 log_channel(cluster) log [ERR] : unmatched fragstat on 603, inode has f(v2009 m2016-02-02 18:52:25.870376 -327=-316+-11), dirfrags have f(v0 m2016-02-02 18:52:25.870376
>>
>> The filesystem is accessible, but I guess that there will we problems in one directory. How can I find out, which directory is affected and what can I do to fix this error? Would it be safe to delete the affected directory?
>> Markus
>
> Directory 603 is special directory which is used by MDS internally. The error has already been fixed when MDS reveals these message. No need to worry about.

Hmm, that output is followed by an assert if "mds_verify_scatter" is
set to true, and it seems to fix the issue by just resetting all the
values to 0 — which is probably also insufficient, Zheng?

This also means that you must have enabled the "mds bal frag" option,
right Markus?
-Greg
_______________________________________________
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