On 2019/3/25 7:43 下午, Ed Spiridonov wrote: > On Mon, Mar 25, 2019 at 2:07 PM Coly Li <colyli@xxxxxxx> wrote: >> >> On 2019/3/25 9:16 上午, Ed Spiridonov wrote: >>> I used bcache+btrfs for a several month. Bcache in writeback mode. >>> Yesterday after reboot btrfs wasn't mounted. > >> Can you post all dmesg lines started with "bcache:" ? > > from syslog: > Mar 23 09:35:35 bigserver kernel: [1010000.508280] bcache: > bch_count_io_errors() sdc3: IO error on writing data to cache. > Mar 23 09:35:35 bigserver kernel: [1010000.508597] bcache: > bch_count_io_errors() sdc3: IO error on writing data to cache. > Mar 23 09:39:56 bigserver kernel: [ 29.282644] bcache: > bch_journal_replay() journal replay done, 138386 keys in 276 entries, > seq 12653795 > Mar 23 09:39:56 bigserver kernel: [ 29.282859] bcache: > register_cache() registered cache device sdg3 > Mar 23 09:39:56 bigserver kernel: [ 29.286098] bcache: > register_bdev() registered backing device md5p1 > Mar 23 10:56:51 bigserver kernel: [ 40.392767] bcache: > bch_journal_replay() journal replay done, 138386 keys in 277 entries, > seq 12653796 > Mar 23 10:56:51 bigserver kernel: [ 40.392990] bcache: > register_cache() registered cache device sda3 > Mar 23 10:56:51 bigserver kernel: [ 40.395584] bcache: > register_bdev() registered backing device md5p1 > Mar 23 11:12:29 bigserver kernel: [ 39.711829] bcache: > bch_journal_replay() journal replay done, 138386 keys in 278 entries, > seq 12653797 > Mar 23 11:12:29 bigserver kernel: [ 39.712075] bcache: > register_cache() registered cache device sda3 > Mar 23 11:12:29 bigserver kernel: [ 39.715200] bcache: > register_bdev() registered backing device md5p1 > Mar 23 11:44:25 bigserver kernel: [ 29.204783] bcache: > bch_journal_replay() journal replay done, 138386 keys in 279 entries, > seq 12653798 > Mar 23 11:44:25 bigserver kernel: [ 29.205060] bcache: > register_cache() registered cache device sdi3 > Mar 23 11:44:25 bigserver kernel: [ 29.207699] bcache: > register_bdev() registered backing device md5p1 > Mar 23 12:22:01 bigserver kernel: [ 29.515083] bcache: > bch_journal_replay() journal replay done, 138386 keys in 281 entries, > seq 12653800 > Mar 23 12:22:01 bigserver kernel: [ 29.515375] bcache: > register_cache() registered cache device sdh3 > Mar 23 12:22:01 bigserver kernel: [ 29.517984] bcache: > register_bdev() registered backing device md5p1 > Mar 23 12:58:36 bigserver kernel: [ 28.715542] bcache: > bch_journal_replay() journal replay done, 138386 keys in 283 entries, > seq 12653802 > Mar 23 12:58:36 bigserver kernel: [ 28.715805] bcache: > register_cache() registered cache device sdg3 > Mar 23 12:58:36 bigserver kernel: [ 28.718359] bcache: > register_bdev() registered backing device md5p1 > > filtered by sdc: > Mar 23 09:35:35 bigserver os-prober: debug: running > /usr/lib/os-probes/mounted/05efi on mounted /dev/sdc1 > Mar 23 09:35:35 bigserver os-prober: debug: running > /usr/lib/os-probes/mounted/10freedos on mounted /dev/sdc1 > Mar 23 09:35:35 bigserver 10freedos: debug: /dev/sdc1 is not a FAT > partition: exiting > Mar 23 09:35:35 bigserver os-prober: debug: running > /usr/lib/os-probes/mounted/10qnx on mounted /dev/sdc1 > Mar 23 09:35:35 bigserver 10qnx: debug: /dev/sdc1 is not a QNX4 > partition: exiting > Mar 23 09:35:35 bigserver os-prober: debug: running > /usr/lib/os-probes/mounted/20macosx on mounted /dev/sdc1 > Mar 23 09:35:35 bigserver macosx-prober: debug: /dev/sdc1 is not an > HFS+ partition: exiting > Mar 23 09:35:35 bigserver os-prober: debug: running > /usr/lib/os-probes/mounted/20microsoft on mounted /dev/sdc1 > Mar 23 09:35:35 bigserver 20microsoft: debug: /dev/sdc1 is not a MS > partition: exiting > Mar 23 09:35:35 bigserver os-prober: debug: running > /usr/lib/os-probes/mounted/30utility on mounted /dev/sdc1 > Mar 23 09:35:35 bigserver 30utility: debug: /dev/sdc1 is not a FAT > partition: exiting > Mar 23 09:35:35 bigserver os-prober: debug: running > /usr/lib/os-probes/mounted/40lsb on mounted /dev/sdc1 > Mar 23 09:35:35 bigserver os-prober: debug: running > /usr/lib/os-probes/mounted/70hurd on mounted /dev/sdc1 > Mar 23 09:35:35 bigserver os-prober: debug: running > /usr/lib/os-probes/mounted/80minix on mounted /dev/sdc1 > Mar 23 09:35:35 bigserver os-prober: debug: running > /usr/lib/os-probes/mounted/83haiku on mounted /dev/sdc1 > Mar 23 09:35:35 bigserver 83haiku: debug: /dev/sdc1 is not a BeFS > partition: exiting > Mar 23 09:35:35 bigserver os-prober: debug: running > /usr/lib/os-probes/mounted/90linux-distro on mounted /dev/sdc1 > Mar 23 09:35:35 bigserver os-prober: debug: running > /usr/lib/os-probes/mounted/90solaris on mounted /dev/sdc1 > Mar 23 09:35:35 bigserver os-prober: debug: /dev/sdc2: is active swap > Mar 23 09:35:35 bigserver os-prober: debug: running > /usr/lib/os-probes/50mounted-tests on /dev/sdc3 > Mar 23 09:35:35 bigserver kernel: [1010000.507618] > generic_make_request: Trying to write to read-only block-device sdc3 > (partno 3) > Mar 23 09:35:35 bigserver kernel: [1010000.508280] bcache: > bch_count_io_errors() sdc3: IO error on writing data to cache. > Mar 23 09:35:35 bigserver kernel: [1010000.508597] bcache: > bch_count_io_errors() sdc3: IO error on writing data to cache. > Mar 23 09:35:35 bigserver kernel: [1010000.508918] > generic_make_request: Trying to write to read-only block-device sdc3 > (partno 3) > > > uptime 1010000 looks very suspicious to me. and I don't understand why > os-prober was started. > > full syslog output for this minute is available here: > http://gkdionis.ru/09:35.txt > Is /dev/sdc3 the SSD device as cache ? I see bcache report I/O error on it. Can you check the health status of this SSD ? Thanks. -- Coly Li