![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Sep 2025
Device: Kindle Oasis
|
Restoring Database Process Hanging?
My library was working just fine until I tried to delete a book, then it gave me an I/O error. I closed calibre to see if that would solve it. However, upon attempting to reopen calibre, it gave me a message that my database was corrupted and needed to be restored.
I selected the restore database option, and it's been restoring the database for about 16 hours. For 12 of those hours, it's been on the same screen where there's no progress percentage, it just lists the last book that I added before the original issue. Is there something else I should try? Is this just a wait and see time? How long should I wait before deciding that this isn't going to work? Any other suggestions? |
![]() |
![]() |
![]() |
#2 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,162
Karma: 148951761
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Given that you had an I/O error, could it be that your drive is corrupted?
|
![]() |
![]() |
![]() |
#3 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Sep 2025
Device: Kindle Oasis
|
I don't think so because I haven't had any issues with anything else on that partition, but is there a way to check? I'm on a mac running Sequoia.
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,484
Karma: 28005164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I/O errors typically indicate imminent disk failure. You can also try restoring the database from the command line, you might get more insformation that way
In Terminal.app run /Applications/calibre.app/Contents/MacOS/calibredb restore_database -r |
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Sep 2025
Device: Kindle Oasis
|
Thanks for that - it's my main drive so ooof, but at least I have a heads up!
|
![]() |
![]() |
![]() |
#6 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,162
Karma: 148951761
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
The thing to do is make a full backup in case the drive is on the way out.
|
![]() |
![]() |
![]() |
#7 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,160
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Another way is find a S.M.A.R.T. viewer that shows the drives internal log. (I use a Linux Live CD to get drive status, but there are others) |
|
![]() |
![]() |
![]() |
#8 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,870
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
![]() |
![]() |
![]() |
#9 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,162
Karma: 148951761
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
@skfed
AI Overview A macOS "smart status app" refers to the native Disk Utility app, which allows you to check a drive's Self-Monitoring, Analysis, and Reporting Technology (S.M.A.R.T.) status to gauge its health. Other third-party applications like DriveDx, SmartReporter, and the command-line tool smartctl also provide more detailed drive health information. Using the Built-in Disk Utility This is the simplest way to get a basic status check: Open Disk Utility from the Applications > Utilities folder. Select the disk you want to check in the sidebar. Look for the S.M.A.R.T. status, which will appear as "Verified," "Failing," or "Unsupported" in the bottom-left corner of the window. Using System Information For a quick check through the Apple menu: Click the Apple icon in the menu bar. Select About This Mac. Click System Report. Under the "Hardware" section, select SATA/SATA Express. Look for the "SMART Status" line. Third-Party Options for Deeper Insights If you need more comprehensive information, consider these alternatives: DriveDx: A tool offering detailed health reports for your drives. SmartReporter: Provides background monitoring and alerts for potential drive issues. smartctl (via Terminal): A powerful, open-source command-line utility that gives detailed information, including temperature, read/write data, and more, after installation via Homebrew. What to Do Based on the Status Verified: Your drive is currently working correctly. Failing: This indicates a potential hardware issue, and you should back up your data immediately and plan for a drive replacement. Unsupported: The drive may not have S.M.A.R.T. functionality, or it's not supported by macOS. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre keeps restoring database? | ZodWallop | Library Management | 14 | 10-27-2022 08:19 PM |
Help needed restoring database | rgc | Calibre | 2 | 06-26-2021 02:52 PM |
Restoring Database Issue | TGPB | Library Management | 3 | 08-16-2017 07:20 AM |
Restoring Database | Yusufbodrum | Library Management | 3 | 07-31-2015 07:49 PM |
Restoring database failed | Lady Domino | Calibre | 2 | 03-23-2012 01:12 PM |