How to recover from read checksum error

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL
    • Hide

      The server is installed on hyper-v VM, at the nigth the storage shut down e disconnect the disk, when I reconnect the disk and start the mongo service give me this error

      Show
      The server is installed on hyper-v VM, at the nigth the storage shut down e disconnect the disk, when I reconnect the disk and start the mongo service give me this error
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      How I can recover my db from this error:

      2021-10-19T19:28:00.268+0200 I STORAGE [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine
      2021-10-19T19:28:00.268+0200 I STORAGE [initandlisten] ** See http://dochub.mongodb.org/core/prodnotes-filesystem
      2021-10-19T19:28:00.268+0200 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=7412M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0),verbose=(recovery_progress),
      2021-10-19T19:28:04.875+0200 E STORAGE [initandlisten] WiredTiger error (0) [1634664484:875538][11247:0x7f03a47abe80], file:WiredTiger.wt, WT_CURSOR.next: read checksum error for 28672B block at offset 1908736: block header checksum of 1885693284 doesn't match expected checksum of 2855298891
      2021-10-19T19:28:04.875+0200 E STORAGE [initandlisten] WiredTiger error (0) [1634664484:875611][11247:0x7f03a47abe80], file:WiredTiger.wt, WT_CURSOR.next: WiredTiger.wt: encountered an illegal file format or internal value
      2021-10-19T19:28:04.875+0200 E STORAGE [initandlisten] WiredTiger error (-31804) [1634664484:875620][11247:0x7f03a47abe80], file:WiredTiger.wt, WT_CURSOR.next: the process must exit and restart: WT_PANIC: WiredTiger library panic
      2021-10-19T19:28:04.875+0200 I - [initandlisten] Fatal Assertion 28558 at src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp 365
      2021-10-19T19:28:04.875+0200 I - [initandlisten]

      ***aborting after fassert() failure

      2021-10-19T19:28:04.900+0200 F - [initandlisten] Got signal: 6 (Aborted).

       

        1. _mdb_catalog.wt
          92 kB
          Dario De Simon
        2. sizeStorer.wt
          236 kB
          Dario De Simon
        3. storage.bson
          0.1 kB
          Dario De Simon
        4. WiredTiger
          0.0 kB
          Dario De Simon
        5. WiredTiger.turtle
          1.0 kB
          Dario De Simon
        6. WiredTiger.wt
          2.03 MB
          Dario De Simon
        7. WiredTigerLAS.wt
          4 kB
          Dario De Simon

            Assignee:
            Edwin Zhou
            Reporter:
            Dario De Simon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: