On Thu, Jul 14, 2016 at 4:42 PM, txm <chunquanbijia...@163.com> wrote: > I am a user of cephfs. > > Recently i met a problem by using the cephfs-journal-tool. > > There were some strange things happened below. > > 1.After use the cephfs-journal-tool and cephfs-table-tool(i came up with the > "negative object nums” issues, so i tried these tools to repair the cephfs),i > remount the cephfs. > 2.Then i found that the old data(a directoy and a file under it) is missing. > 3.But after i create a new file at the root of cephfs, the missing directory > show up. Then i delete the new created file,the “missing directory” > disappeared soon. > 4.So this is the problem, when i create something under the root of cephfs, > the missing directory show up, when i delete it ,the “missing directory” > disappeared. > > Here is my question: > 1. I am not sure whether this damage is caused by cephfs-journal-tool? > 2. If so, another question is , how this damage came up by using the > cephfs-journal-tool and what should i do next to fix this problem? > > Apparently ,i didn’t lose my data, but this is strange after all. >
This is likely caused by incorrect inode dirstat. The scrub functionality of devel version MDS can fix it. Yan, Zheng > > > > _______________________________________________ > ceph-users mailing list > ceph-users@lists.ceph.com > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com _______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com