You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Input/output error during apfs_extentref check on Fusion Drive

On a self made fusion-drive consisting of a 480GB SSD and an 16TB HDD being used as time-machine-backup, I get the following error message:


Checking the object map

Checking the snapshot metadata tree

Checking the snapshot metadata

Checking snapshot 1 of 8 (com.apple.TimeMachine.2024-12-23-040323.backup)

error: (oid 0x6fbbec9) apfs_extentref: btn: dev_read_finish(117161673, 1): Input/output error

Snapshot is invalid

The volume /dev/rdisk10s2 was found to be corrupt and cannot be repaired

Verifying allocated space

The volume /dev/rdisk10s2 could not be verified completely

File system check exit code is 8

Restoring the original state found as mounted

Error: -69845: File system verify or repair failed

Underlying error: 8


Deleting this snapshot shows the next shapshot as defect.


It looks like a defective drive, but this hardware is brand new and dd shows no problems:

% sudo dd bs=8m if=/dev/rdisk6 of=/dev/null

Password:

57232+1 records in

57232+1 records out

480103981056 bytes transferred in 1142.978742 secs (420046291 bytes/sec)


% sudo dd bs=8m if=/dev/rdisk7 of=/dev/null

Password:

1907456+0 records in

1907456+0 records out

16000900661248 bytes transferred in 85313.804252 secs (187553477 bytes/sec)


I already recreated this fusion-drive from scratch, made a new backup (6,5TB) but got the same error message.


Any ideas?


[Re-Titled by Moderator]

Mac mini, macOS 12.7

Posted on Dec 23, 2024 8:11 AM

Reply
4 replies

Dec 23, 2024 12:59 PM in response to Flugor

The reason is that dd is not intended to be used as a drive integrity verification tool. It copies files, which it did, over the course of a day.


Apple's details regarding eligible backup drives are somewhat cursory: Backup disks you can use with Time Machine - Apple Support, but with backups it has been my experience that it's best to keep things simple. Simplicity and redundancy are essential features of a reliable backup strategy. A fusion drive introduces an element of complexity and detracts from that reliability.


Seriously, don't bother with building a fusion drive. May I ask why you need one that large though? What is the capacity of the source volume? For example I would expect 16 TB to be appropriate for a 5 to 8 TB source volume, and even then I would use one monolithic physical hard disk drive.

Dec 24, 2024 5:18 AM in response to John Galt

About 7 TB is the amount of data on the source volume.


My backup-strategy:

  • two time-machine volumes are permanently connected (9 TB and 16 TB, both as fusion-drives)
  • two additional time-machine backups (16 TB each, non-fusion) are connected only on day 1+2 and day 15+16 of each month and safely stored the other days
  • one HDD is an additional rsync-copy of my Macintosh-HD and is updated twice a month so that i can have a fast replacement, if my Macintosh-HD fails
  • Some data is in addition stored on cloud-space. I use Duplicati for an encrypted backup


This may look like "too much", but eight weeks ago, one of these two permanently running time-machine backup-drives failed (read-errors), got replaced and two weeks ago, first the other permanently running time-machine backup-drive failed (won't spin up) and the next day, my Macintosh-HD got very slow first and ended with al lot of read-errors...


I didn't lose any data :)


Dec 23, 2024 10:02 AM in response to Flugor

Yes. Forget about implementing a fusion drive as a Time Machine backup. The processing overhead required of Time Machine completely obliterates any speed advantage a SSD might convey. It's a waste.


An input / output error means the system was unable to read or write data to or from a storage device. That error will not appear until the process already tried and failed several times.

Dec 23, 2024 12:17 PM in response to John Galt

Ok, thanks.

I thought about using a fusion-drive as a volume for time-machine because of a chance of higher IOPs.


But why does macos report an input/output error, if dd tells me that the physical drives are ok?


Another Fusion drive (used as "Macintosh-HD") build with the same components works flawless.

This makes a software-bug less reasonable.

Input/output error during apfs_extentref check on Fusion Drive

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.