0

I try to reIndex() my collection but not working and It removed all indexes. I checked mongod.log and see:

2021-01-18T05:56:59.492-0600 E STORAGE [conn1] WiredTiger error (5) [1610971019:492802][20912:0x7fb542e32700], file:collection-0--9173913559869523275.wt, WT_CURSOR.next: __posix_file_read, 449: /var/lib/mongodb/collection-0--9173913559869523275.wt: handle-read: pread: failed to read 12288 bytes at offset 52972773376: Input/output error Raw: [1610971019:492802][20912:0x7fb542e32700], file:collection-0--9173913559869523275.wt, WT_CURSOR.next: __posix_file_read, 449: /var/lib/mongodb/collection-0--9173913559869523275.wt: handle-read: pread: failed to read 12288 bytes at offset 52972773376: Input/output error

2021-01-18T05:56:59.492-0600 F - [conn1] Invariant failure: advanceRet resulted in status UnknownError: 5: Input/output error at src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp 1765

2021-01-18T05:56:59.492-0600 F - [conn1] \n\n***aborting after invariant() failure\n\n

2021-01-18T05:56:59.513-0600 F - [conn1] Got signal: 6 (Aborted).

MongoDb version 3.6.21 and i use Wiredtiger with cache_size 38G. 1 database and 1 collection with 12000000 documents and folder size 81G My server: 64G Ram + 480SSD. Please help me fix the issues!

3
  • Looks like it might be good time to buy a new disk. – mustaccio Jan 18 at 17:44
  • I havn't a backup. I worry lost data when run command repair. Have you another idea fix that? – mydo47 Jan 19 at 2:16
  • 1
    No backup and failing disk drive? I'm afraid to "fix that" you'll need some magic.. – mustaccio Jan 19 at 2:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.