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!
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux