Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

XMI

macrumors member
Original poster
Mar 22, 2023
57
32
Los Angeles, California, USA
I have a brand new M4 MacBook Pro, brand new 2TB SanDisk SSD, and twice now my Time Machine drive has been corrupted. Both times were my fault (I accidentally yanked the thunderbolt cord w/o ejecting first), but even so, I've never seen this kind of disk corruption before.

Regular disk utility wouldn't help, so I booted into Recovery mode and tried Disk Utility there.

Error messages are not promising, it fails with

** Checking the space manager.
warning: (oid 0xxxxx) cib: invalid o_cksum (0xffffffffffffffff)
error: failed to read spaceman cib 1 at address 0xxxxx
Space manager is invalid.

My SSD is brand new, but to be sure, I checked the serial # on this site: https://support-en.wd.com/app/firmwareupdate and it says I have no updates needed.

Last time this happened I gave up and reformatted the drive (not a big problem since i'd only been running Time Machine on it for a couple of days).

But I really want a reliable Time Machine solution.

Is this a macOS bug? I'm running Sequoia 15.2
 
More tests:

diskutil list
/dev/disk8 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +2.0 TB disk8
Physical Store disk6s2
1: APFS Volume TimeMasheen2024 673.4 GB disk8s2

sudo diskutil apfs unlockVolume /dev/disk8s2
Passphrase:
Unlocking any cryptographic user on APFS Volume disk8s2
Passphrase incorrect or user does not exist

# I know the passphrase is correct


sudo diskutil verifyVolume /dev/disk8s2
Started file system verification on disk8s2 (TimeMasheen2024)
Verifying file system
Volume is already unmounted
Performing fsck_apfs -n -x /dev/rdisk8s2
Checking the container superblock
Checking the checkpoint with transaction ID 6698
Checking the space manager
warning: (oid 0x70f3) cib: invalid o_cksum (0xffffffffffffffff)
error: failed to read spaceman cib 2 at address 0x70f3
Space manager is invalid
The volume /dev/rdisk8s2 with UUID 00000000-0000-0000-0000-000000000000 could not be verified completely
File system check exit code is 8
Restoring the original state found as unmounted
Error: -69845: File system verify or repair failed
Underlying error: 8
 
How can it be a bug when you said it was your fault both times?

Here's the thing: I've been messing around with disk drives when they used to be floppy format. I have a good sense of what it takes to corrupt a drive.

For the past decade or so, failing to eject a drive before unplugging it would generally (on Windows) do nothing bad, and (on macOS) give you a mild scolding.

It was really really really hard to corrupt a drive by mistreating it. Even harder with SSDs.

I'm not saying it never happened, but it was like a 1 in 100 or 1 in 1000 occurrence

Here, I'm now 2 for 2 with this particular drive.

What's changed?
* new SSD from Sandisk
* new M4 MacBook pro and OS (15.2)
 
If you want an alternative TM solution, look at enterprise class open source TrueNAS SCALE. You can enable multi user SMB TM and let all devices backup to the same appliance. Ends up being a Ron Popeil “set it and forget it” appliance. Runs on almost any x64 appliance, which you can pick up a used NAS appliance off evilBay. Has a bit of a leaning curve but is infinitely more reliable and flexible.


 
Mac is finicky about ejections. You HAVE to formally eject it or risk disc corruptions. TM discs are probably at greater risk because- unless you change defaults- there may be writes in progress up to every hour. Yank the cord on any drive during a write and it will probably get corrupted.

This won't be fixed by you not changing your approach to using your new MBpro with external storage.

Yes, it's unfortunate that macOS can't seem to handle this sort of thing as well as Windows does but this is only one of many quirks with macOS. On the other hand, macOS does a number of things BETTER than Windows... so you gain some and you lose some.

Evolve your approach or this matter won't be resolved to your satisfaction. There's no obvious or secret setting to change that will make pulling a cord at any time work just fine.

A possible option that still uses TM is to switch it from fully automatic to fully manual control, then you can plug in, run the backup process, then eject the drive when done. In this variation of default, you'll be paying more attention to the backup process and thus know that as soon as it is done, you formally eject the drive.

OR, you can switch to other options like Carbon Copy Cloner or Super Duper to do the same... but all Mac apps need drives formally ejected vs. just pulling the cord. Sometimes the latter won't do any harm but other times you'll get catastrophic errors.

One last option: buy yourself a NAS that supports Time Machine- like Synology- and set it up to handle TM backups. That will let you use TM to automatically back up but there will be no drive cord to pull. A NAS can do all kinds of other things for you including being your own rent-free cloud storage but this particular one is quite handy for this exact need. One of several backups I execute leans on a Synology NAS and it works great as a TM "drive" without a typical HDD cord.

If you go the NAS way, I suggest a SECOND backup to that Sandisk too and securely storing it offsite... regularly fetching it to freshen up the backup. This onsite-offsite rotation (using any combination of at least TWO backup drives) approach protects against very real flood-fire-theft scenarios, where both your MB and your backup drive sitting right next to it would likely be lost. If you have one pretty fresh backup offsite, you can recover from those scenarios. I store my offsite disc in a bank safe deposit box.
 
Last edited:
  • Like
Reactions: Flyview
I'm still on Monterey and I had multiple TM drive corruptions with a particular drive and assumed it was defective. I switched over to Carbon Copy Cloner and HFS+ formatting and the drive has been flawless for over a year. So seems as if TM or APFS may have been the culprit.
 
Thanks all for suggestions and help. Googling my specific error "failed to read spaceman cib 2" reveals only a couple other people with this same issue, and nobody had solutions.

I gave up and reformatted the drive, and started time machine again from scratch.

I do have another offline backup using SuperDuper as well.
 
So seems as if TM or APFS may have been the culprit.
TM with APFS is super reliable. Much more so than HFS+.

nobody had solutions
You have been offered the solution in this thread. Don't yank the cable.

You may have been very unlucky. But you can only test that by repeating the experiment over and over to get an idea of how often cable yanking causes the problem - and I don't really suggest you should do that. :)
 
  • Like
Reactions: MacCheetah3
It was working fine for about a month, but I just updated from 15.3 to 15.3.1, and after rebooting the disk is again saying it can't be mounted due to an error. Sigh.

The error is different this time:

sudo diskutil verifyVolume /dev/disk8s2
Started file system verification on disk8s2 (TimeMasheen2024)
Verifying file system
Volume is already unmounted
Performing fsck_apfs -n -x /dev/rdisk8s2
Checking the container superblock
Checking the checkpoint with transaction ID 9621
Checking the space manager
Checking the space manager free queue trees
Checking the object map
Checking the encryption key structures
error: failed to enable crypto I/O mode for container /dev/rdisk8: Invalid argument
File system check exit code is 66
Restoring the original state found as unmounted
Error: -69845: File system verify or repair failed
Underlying error: 66
 
I'm not in agreement with the others who have suggested that it is acceptable for corruption to occur if the drive is disconnected at a bad time. After all, a power outage could cause such a thing. The OS and Time Machine should be resilient and able to recover from such expected errors. But, in fact, Time Machine isn't resilient.

In this case, though, I suspect a hardware problem. I do have the occasional problem with one of my SanDisk SSDs; at times I have to disconnect it and reconnect it to get its contents to appear. My disks are from a time when SanDisk had a known issue. I understand your disk is brand new, but a hardware issue is a real possibility.
 
  • Like
Reactions: XMI
Since I made several changes at once (new SanDisk SSD, new M4 MacBook Pro, and upgrade from OS 14 to 15) I don't know where the problem lies. But after 3 different corruptions of the SanDisk, I've decided to place the blame on it, and have moved to a new drive: Crucial BX500 (a brand & model I've had good luck with in the past).

I will report back if the Crucial has any similar symptoms...

I haven't decided what to do with the SanDisk - maybe I'll take it back to Costco and try to get a refund, or turn it into a seldom-used SuperDuper backup drive that mostly lives offline...
 
  • Like
Reactions: Flyview
Since I made several changes at once (new SanDisk SSD, new M4 MacBook Pro, and upgrade from OS 14 to 15) I don't know where the problem lies. But after 3 different corruptions of the SanDisk, I've decided to place the blame on it, and have moved to a new drive: Crucial BX500 (a brand & model I've had good luck with in the past).

I will report back if the Crucial has any similar symptoms...

I haven't decided what to do with the SanDisk - maybe I'll take it back to Costco and try to get a refund, or turn it into a seldom-used SuperDuper backup drive that mostly lives offline...
Take it back for a refund. Trying to use it, even if it's seldom used and mostly living off line, increases your chance of having another problem with that drive. If you can get it replaced, you're much better off for the investment of some of your time. If they won't replace it, I wouldn't try using it for any purpose except as a doorstop.
 
  • Like
Reactions: XMI
I'm not in agreement with the others who have suggested that it is acceptable for corruption to occur if the drive is disconnected at a bad time.
And this third time the drive corrupted, the "disconnection at a bad time" was me simply rebooting while doing an OS update. Surely restarting the computer should not be enough to corrupt a drive!
 
OP:

Have you wasted enough time and trouble with tm yet?

I suggest that it's time for you give both CarbonCopyCloner and SuperDuper a try.

Both are free to download and use for 30 days.

CCC has more features, but SD is remarkably easy to understand and use.

SD will do "a full clone" of your source drive FOREVER without having to register.
 
And this third time the drive corrupted, the "disconnection at a bad time" was me simply rebooting while doing an OS update. Surely restarting the computer should not be enough to corrupt a drive!

It's really implausible that this is a Time Machine problem. Even Time Machine should be able to handle reboots during a backup. Since it's Costco, I would return the drive.
 
  • Like
Reactions: XMI
But after 3 different corruptions of the SanDisk, I've decided to place the blame on it, and have moved to a new drive: Crucial BX500 (a brand & model I've had good luck with in the past).
I agree.

In my relatable experience… I have two drives setup for Time Machine.

One is an older OWC Mercury Elite Pro Mini enclosure with 4TB 2.5-inch SATA SSD. I originally paired the enclosure with a 2TB WD Blue HDD. However, a blackout about a month ago corrupted it. I was able to zero the HDD — used my Windows 11 PC — and the drive appears fine with a fresh APFS format. Nonetheless, I’m not sure exactly how much I should trust it now, hence the SSD purchase. This drive is only connected once a week or so, intended to be my long-haul backup.

The second was a generic/common USB 3.x to NVMe ’stick’ enclosure with a ‘blade’ SSD that was now an extra after upgrading a PC. Honestly, the enclosure had reliability issues nearly from the beginning, though I wasn’t really certain until I’ve tried a few drives in it. The last streak of it consistently, unexpectedly disconnecting after only a few minutes — I suspect accumulated heat failure as the enclosure would be completely unresponsive for a while, even if I unplugged/replugged — was the last straw. And, by the way, despite the numerous “disk not ejected properly” instances, the volume never corrupted. In fact, that backup (i.e., unchanged, not reformatted SSD) is now in this interesting-looking USB4 NVMe enclosure (using the same cable as before) without so much as a hiccup.
 
As an Amazon Associate, MacRumors earns a commission from qualifying purchases made through links in this post.
  • Like
Reactions: XMI
In the name of science, I have just completed some tests.

Don't recommend you do this at home.


Setup:
* SanDisk Extreme SSD 2TB as an encrypted Time Machine drive - direct USBC connection.
* Crucial BX500 2TB SSD as an encrypted Time Machine drive, connected via a Sabrent USBA to SATA connector, via a USBC to A adapter
* both drives connected to my USB c ports on my LG 5K monitor
* or connected directly to my M4 MacBook pro

Test:
* yanking the cords repeatedly ( a total of 13 yeets, as Gen Z would say)

Results:
* every time, I got the "Disk Not Ejected Properly" dialog
* SanDisk: 3 separate instances of data corruption - the drive can not be recovered (see details above)
* Crucial: Zero problems: after plugging back in, the drive appeared on the desktop within about 10 seconds.

Summary:
* SanDisk Extreme: the drive corrupted 3 times (2 times when cable was yanked, and once when simply rebooting).
* Crucial BX500: zero problems after 10 yanks.

Based on this, it's pretty clear the SanDisk has a problem.

Whether we should blame Tim SanDisk or Tim Apple, I don't know, but as they say "I've seen enough!"
 
Last edited:
OP:

Have you wasted enough time and trouble with tm yet?

I suggest that it's time for you give both CarbonCopyCloner and SuperDuper a try.

In my experience, Time Machine works great (for about 10 years, until I changed SSDs).

I also use SuperDuper backups, since I'm not an idiot. :)

For others: practice the 3-2-1 backup strategy "three copies of your important data, storing them on two different types of media, and keeping one copy off-site " -- with an additional rule: "Test your backups"
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.