a metadata lost problem when mds breaks down

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

 



Hi:

        I encountered a metadata lost problem of files when testing the outcome of ceph mds's unpredictable breakdown. 
        The test shell script is like(not real code):

        while i < 100000
        do 
            touch $i
            i++
        done
        echo c > /proc/sysrq-trigger

        The script is run in the same machine which mds is running on, and the directory is mount point of cephfs. 
        I created 10,000 files using touch command and forced the system to break down.
        When the machine rebooted again, the number of new files created is smaller than 10000. So the metadata of those files are lost.
        My question: Are those losts of metadata allowed by ceph? Or is this a bug of ceph mds which could be solved in the future? My ceph version is 12.1.0, ubuntu kernel version 4.4.0.
        
        Thanks for your reading, I really appreciate your rely. Thanks!
_______________________________________________
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