Apple launches Apple Store app in India

The Apple Store app provides customers with the most personalized way to shop for Apple’s innovative lineup of products and services. Learn more >

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.

External APFS-formatted SSD failure on new Mac Studio M2 Max

Hi there, I have just purchased and been using a Crucial X10 pro 4TB SSD. I formatted it on my Mac Studio M2 Max as APFS, with two volumes. I have been copying photos to it with great success. Then suddenly the last folder copied from card had erratic and incomplete files in folder, I tried trashing the folder and copying again and received error "Finder can't complete operation because some data in "DCIM" can't be read or written".

It was the DCIM folder on the SSD which could not be read or written, and then the SSD unmounted. I restarted, it appeared briefly and disappeared. Tried restarting again, no longer visible.


It is visible in disk utility as "unmounted" and does not mount when attempted.


Running First Aid on ONE of the volumes came up with this response:


Running First Aid on “SSD berkman 4TB” (disk7s1)


Checking file system and repairing if necessary and if possible.

Volume is already unmounted.

Performing fsck_apfs -y -x /dev/rdisk7s1

Checking the container superblock.

Checking the checkpoint with transaction ID 3149.

Checking the space manager.

Checking the space manager free queue trees.

Checking the object map.

Checking volume /dev/rdisk7s1.

Checking the APFS volume superblock.

The volume SSD berkman 4TB was formatted by storagekitd (2236.141.1) and last modified by apfs_kext (2236.141.1).

Checking the object map.

error: (oid 0x34d348) om: btn: dev_read_finish(3461960, 1): Input/output error

Object map is invalid.

The volume /dev/rdisk7s1 with UUID 65C324D7-09AB-4BD9-B273-6E6969F93721 was found to be corrupt and cannot be repaired.

Verifying allocated space.

The volume /dev/rdisk7s1 with UUID 65C324D7-09AB-4BD9-B273-6E6969F93721 could not be verified completely.

File system check exit code is 8.

Restoring the original state found as unmounted.

File system verify or repair failed. : (-69845)


Operation failed…


Running First Aid on the other volume came up with this successful response (no data was yet written to this volume)


Running First Aid on “Studio Time Machine” (disk7s2)


Checking file system and repairing if necessary and if possible.

Volume is already unmounted.

Performing fsck_apfs -y -x /dev/rdisk7s2

Checking the container superblock.

Checking the checkpoint with transaction ID 3149.

Checking the space manager.

Checking the space manager free queue trees.

Checking the object map.

Checking volume /dev/rdisk7s2.

Checking the APFS volume superblock.

The volume Studio Time Machine was formatted by storagekitd (2236.141.1) and last modified by apfs_kext (2236.141.1).

Checking the object map.

Checking the snapshot metadata tree.

Checking the snapshot metadata.

Checking the fsroot tree.

Checking the extent ref tree.

Verifying volume object map space.

Verifying allocated space.

The volume /dev/rdisk7s2 with UUID C191BA63-9375-472A-925F-B59ABCFCF677 appears to be OK.

File system check exit code is 0.

Restoring the original state found as unmounted.


Operation successful.


For some reason the second healthy volume could not be mounted in Disk Utility.


It seems bizarre a new SSD should fail shortly after purchasing and formatting, especially only one volume of two on the same SSD. Before going to the manufacturer, just wanted to check if anyone has ideas about whether there is something I should have done in SSD setup on the Mac end?


And any suggestions on how I might access the files on disk, or is it really lost as "corrupt" shows in the First Aid report for one of the volumes?


Any third party file retrieval options, especially since clearly one of the volumes is apparently "ok"


And of course I will follow up with the SSD manufacturer if there is nothing I could have done better on the Mac end.


Using new Mac Studio M2 Max.

There were several thousand image files being written, renamed, and some files trashed.


SSD was attached via a 10gbps hub. Same behaviour now if attached directly.


Thanks for any insight!


[Re-Titled by Moderator]

Mac Studio, macOS 14.7

Posted on Jan 10, 2025 7:45 PM

Reply
17 replies

Jan 11, 2025 12:03 PM in response to marten berkman

Thanks for the providing the diskutil results. This confirms that your SSD is configured with a single APFS Container with two APFS Volumes. You really don't need to change this if this already meets your goals for this drive. As you already know each of these volumes will show up on your Mac's Desktop. In this configuration, you should be able to save data to either of these volumes.


As a little background, prior to Apple introducing APFS formatting, Mac drives were typically formatted in HFS+. In this prior formatting scheme, the most simple case would be:

  • A single physical drive would have a single logical partition with a single logical volume. These volumes are fixed in size. The only way to add another volume would be to first resize the current volume to make room for the second volume.


With APFS, Apple introduced the concept of Containers, so now this same simple case would be:

  • A single physical drive would have a single logical partition.
  • That partition would, by default, have a single APFS Container.
  • That Container could contain one or more APFS Volumes. The difference here is that APFS Volumes are dynamic in size.


If you are interested, here are some articles to offer more details:

Jan 11, 2025 12:07 PM in response to marten berkman

marten berkman wrote:

ps the Mac Studio was set up by migrating my account from my MacBook Pro 2019. I see in this console response a note about interactive shell zsh. If I am still in bash, can this affect integrity of how attached SSD's are formatted? Should I be updating to zsh, and will this affect integrity/operability/stability of an attached RAID created with/in what I am assuming was bash? If this is actually unrelated to my problem with the SSD corruption, just let me know and I will start/search a thread on bash/zsh elsewhere.

Continuing to use bash will NOT affect any of these. It's a personal choice, but the trend is moving us to zsh.


Ref:

Jan 10, 2025 9:52 PM in response to Tesserax

Well, that is a good question. This is the first time I have formatted an APFS volume. I first formatted the entire drive as APFS, (is that considered the container?) and then added a volume, with constraints of min/max size. As they both appeared as volumes on my desktop, and as two volumes in disk utility, I treated those as two volumes. Should the main drive have been treated as a container, not to receive files, and two volumes created within that container? Here is the data you requested :



Last login: Fri Jan 10 19:56:43 on console




The default interactive shell is now zsh.


To update your account to use zsh, please run `chsh -s /bin/zsh`.


For more details, please visit https://support.apple.com/kb/HT208050.


Mac-Studio:~ martenberkman$ diskutil list external


/dev/disk4 (external, physical):


   #:                       TYPE NAME                    SIZE       IDENTIFIER


   0:      GUID_partition_scheme                        *4.0 TB     disk4


   1:         Microsoft Reserved                         16.8 MB    disk4s1


   2:                 Apple_APFS Container disk5         4.0 TB     disk4s2




/dev/disk5 (synthesized):


   #:                       TYPE NAME                    SIZE       IDENTIFIER


   0:      APFS Container Scheme -                      +4.0 TB     disk5


                                 Physical Store disk4s2


   1:                APFS Volume SSD berkman 4TB         1.5 TB     disk5s1


   2:                APFS Volume Studio Time Machine     500.0 GB   disk5s2




Mac-Studio:~ martenberkman$ 


Jan 11, 2025 8:37 PM in response to marten berkman

Actually the plot thickens, you may find this interesting Tesserax... running a backup with Carbon Copy Cloner on the new SSD identical to the first that is corrupted. CCC warned of an issue with the disk.


In case it helped, I removed SSD from hub and plugged directly into the Mac Studio. Went ahead with the backup, it was completed successfully. Then ran First Aid, and these were the results:



"...was found to be corrupt and cannot be repaired". Tesserax, could you decipher the report to advise what aspect is corrupt, and does it correlate to corruption on other SSD?


I find it hard to believe two brand new SSD's are corrupted on first use... is this pointing to System issues?


I did have CCC take a snapshot of SSD in case that helped with recovery if needed, but the report states it is invalid.


Can the AFPS formatting be corrupt?


Signed, confused 😆

Jan 14, 2025 7:39 AM in response to Tesserax

Thanks Tesserax,

I called Crucial and they advised Sonoma had some problems with corrupting SSD's. They advised me to leave the corrupted unmountable drive plugged in for eight hours so it could be indexed, but nothing changed (I do not see how it could be indexed without mounting). I am not near a Genius Bar but called support and was recommended to update OS to the latest (Sequoia) and try again. Before I upgraded I reformatted the mountable second Crucial X10 Pro drive which CCC and Disk Utility were say was having problems on one of the volumes. I used one volume on it as Time Machine, the other for media. I ran Time Machine successfully before the upgrade. I was then going to back up some work I had stored on my RAID, and CCC responded with a warning about the drive (CCC was upgraded to a version tested on Sequoia).




Out of interest, I ran First Aid on each volume, one was fine (Media),



the other (Time Machine) is corrupted and cannot be repaired



As an aside, my time Machine appears to be working successfully, though running First Aid states the volume was found to be corrupt and cannot be repaired.


This SSD was formatted under Sonoma as a backup before upgrade (maybe Sonoma is the problem?). Now that I am on Sequoia I would like to reformat the first Crucial X10 pro SSD which became corrupted and unmountable (Crucial had recommended I do this). Then I will have a place to backup data from the second drive formatted under Sonoma which is now reporting corrupted and cannot be repaired.


I wanted to select both volumes on this drive to reformat into one, but I could not select both in Disk Utility, likely because they are unmountable. On erasing independently, each volume reported an internal error occurred, operation failed.




Any workaround for this problem with erasing and formatting the volumes on the unmountable SSD? If I am successful, this would be the first SSD to be formatted under Sequoia, and I could then have a drive to which to backup data from the second SSD (which is reporting a corrupted volume created under Sonoma) before reformatting that under Sequoia.


This is all very mysterious. Any workaround for this problem with erasing and formatting the volumes on the unmountable SSD?


Thanks again SO much for any thoughts!


Jan 11, 2025 8:17 AM in response to marten berkman

ps the Mac Studio was set up by migrating my account from my MacBook Pro 2019. I see in this console response a note about interactive shell zsh. If I am still in bash, can this affect integrity of how attached SSD's are formatted? Should I be updating to zsh, and will this affect integrity/operability/stability of an attached RAID created with/in what I am assuming was bash? If this is actually unrelated to my problem with the SSD corruption, just let me know and I will start/search a thread on bash/zsh elsewhere.


Very curious and grateful about any light you can shed on the question you posed about formatting of the SSD and if that can create the problems I am having, and whether there is any option of data retrieval.


Jan 11, 2025 12:43 PM in response to Tesserax

Thank you Tesserax,

Zsh does not make much functional difference for me, so I will stay with bash for now.


I notice in Disk Utility I can add volumes with the Volume +/-, or with the Partition tab. Is there a difference, is one or the other more appropriate for creating APFS volumes?


Can I ascertain whether the problem with my SSD is a physical problem with the circuits, or some corruption problem created in data transfer? I am curious whether the massive number of files being renamed and moved (time lapse photo sequences) is something the Mac OS does not handle well to an external SSD?


Any recommendations on workarounds to mount the volumes, to try and salvage data, whether with Mac OS or third party apps, and how to avoid this issue in the future?


It was a very surprising first use of an SSD which is designed specifically for handing large amounts of media (photo or video) very quickly.


Thanks for any thoughts on those questions!

Jan 11, 2025 1:50 PM in response to marten berkman

marten berkman wrote:

I notice in Disk Utility I can add volumes with the Volume +/-, or with the Partition tab. Is there a difference, is one or the other more appropriate for creating APFS volumes?

Either method would be fine. The Apple Support article I provided you an link for goes over this.


Can I ascertain whether the problem with my SSD is a physical problem with the circuits, or some corruption problem created in data transfer?

Not 100% sure at this time. One thing I noticed with the diskutil result is that your SSD has two partitions on the physical drive. A very small 16.4MB "Microsoft Reserved" partition (disk4s1), and the expected much larger 4TB "Apple_APFS Container disk5" (disk4s2). Not sure why the first one is there. Did you use this drive for something else prior to using it with your Mac? Maybe this could be a clue to what is happening ... but, I'm not convinced that it alone would corrupt one of your APFS Volumes.


I am curious whether the massive number of files being renamed and moved (time lapse photo sequences) is something the Mac OS does not handle well to an external SSD?

Only if some "perturbation in the force" occurred doing one or more of those file transfers. I'm thinking power glitch (brown out) maybe.


Any recommendations on workarounds to mount the volumes, to try and salvage data, whether with Mac OS or third party apps, and how to avoid this issue in the future?

I don't thing a workaround will be necessary. FWIW, I typically use an AppleScript to mount my external drives to my Mac after logon. This makes sure they are available should I need them.


If I understood your original post, this issue came up when you attempting to copy files from a "card" to the SSD. I'm assuming by "card," you are referring to a SD Card that would be used in a camera? If so, then I'm also assuming that you used an app to perform this copy process ... or used Finder directly to do so?


Also going over more thoroughly the diskutil results, I see that this volume is being used for Time Machine. Is that correct? If so, are you using this same volume for both Time Machine and for other file storage ... or is this volume dedicated entirely to Time Machine only?




Jan 11, 2025 2:50 PM in response to Tesserax


Not 100% sure at this time. One thing I noticed with the diskutil result is that your SSD has two partitions on the physical drive. A very small 16.4MB "Microsoft Reserved" partition (disk4s1), and the expected much larger 4TB "Apple_APFS Container disk5" (disk4s2). Not sure why the first one is there. Did you use this drive for something else prior to using it with your Mac? Maybe this could be a clue to what is happening ... but, I'm not convinced that it alone would corrupt one of your APFS Volumes.

This drive was brand new, unused when I formatted it. I just formatted a second drive, same model, and looked into the diskutil list external results, and it has exactly the same Microsoft reserved... perhaps it is baked into the design?

Only if some "perturbation in the force" occurred doing one or more of those file transfers. I'm thinking power glitch (brown out) maybe.

I am running with an APC backup, and did not notice anything erratic during transfer (12 minutes). I did quickly rename and move files after transfer complete, maybe something went awry with the size of the tasks finishing as I moved to the next one.

I don't thing a workaround will be necessary. FWIW, I typically use an AppleScript to mount my external drives to my Mac after logon. This makes sure they are available should I need them.

Is it possible to force mount the corrupted volume somehow, to attempt to retrieve files? (it is not mounting in Finder or Disk Utility)

If I understood your original post, this issue came up when you attempting to copy files from a "card" to the SSD. I'm assuming by "card," you are referring to a SD Card that would be used in a camera? If so, then I'm also assuming that you used an app to perform this copy process ... or used Finder directly to do so?

Yes from SD card with Finder. The process registered as completed, and after that I noticed files were missing and file names were arranged in a wonky order in the new folders, unlike other folders in same volume. I had already downloaded more than a dozen batches successfully.

Also going over more thoroughly the diskutil results, I see that this volume is being used for Time Machine. Is that correct? If so, are you using this same volume for both Time Machine and for other file storage ... or is this volume dedicated entirely to Time Machine only?

Yes the Time Machine volume is dedicated to Time Machine only, which had not yet been performed, and no other files were in it. My formatting process was erase, format as APFS, creating container and volume which appear as one. I then clicked add volume, to create the Time Machine volume with min/max constraints. I then copied files (doing the operation with new materials from SD cards at least 15 times, 72GB each go) via Finder into the first, original volume of the formatting process.


I did not expect a new SSD to have problems, and did not backup. I have now formatted a second SSD (same model) to perform these media download tasks, and have set up backing up during the process.

If you have any suggestions on how I might force mount or rescue data from the problem volume (which will not mount in Finder or Disk Utility), that would be much appreciated. Thank you so much for your time and input!

Jan 11, 2025 5:21 PM in response to marten berkman

Strange behaviour on the new (not corrupted) Crucial 4TB SSD attached to Mac Studio M2 Max. Using Adobe Bridge, I renamed these files to be able to put images in multiple folders (created in camera numbered 1-999 in each folder) into one folder in chronological order.

All good, except in this instance, though all files selected, not all were included in name change! So I went to finder > View > date created to see in chronological order to be able to correct the naming. Which is a manual process as I find each erratic file, and name it according to the younger file, adding sequential alpha to remain in alpha numeric order in the entire image sequence.

Then the second bizarre behaviour: as you will see in this recording, files were slow to update to manual name change, would revert back to original name, then updating... the last manual name change took quite a while to take effect.

This is happening on a brand new Mac Studio M2 Max running Sonoma, to files copied in Finder from an SD card to a brand new Crucial SSD X10 pro 4TB external drive freshly formatted as a single APFS volume in APFS container.

For tech and software which should be lightning fast for such a simple operation as a manual name change, is this normal or is something bizarre going on? Thanks for any experiences or insights!


Here is a link with screen recording of the erratic file renaming behaviour. The folder does have 2700 files in it, but I would not think a single file name change would be affected by number of other files in same directory.


https://vimeo.com/1046063596/8602bb5ae8?share=copy


Jan 11, 2025 5:52 PM in response to marten berkman

A brand-new Crucial X10 Pro SSD shouldn't come with a "Microsoft Reserved" (MSR) partition unless it was previously formatted or configured on a Windows system or by a device that uses Windows-specific partitioning. Are you sure that this is a new drive and not one that was pre-owned or came as a "open-box" sale?


However, some manufacturers may sell pre-formatted drives or run tests on them before shipping. If Crucial used a Windows-based system for these processes, it might have created this MSR partition.


Again, I don't think this is the issue.


Going back to the "damaged" SSD volume. The error you encountered when running Apple's Disk Utility First Aid indicates that your SSD has a corruption issue, specifically with the Object Map (OM). This is a critical component of the APFS (Apple File System) structure, which maps and organizes data objects on the disk. When the object map is invalid or corrupted, it suggests that the file system's integrity has been compromised.


So what does that mean? It means that the object map tracks the relationships and locations of data stored on the drive. If it is corrupted, the system can no longer reliably locate or manage the data.


The other error, noted in the First Aid results was: dev_read_finish(3461960. This would indicates the system encountered an issue reading from a specific cell of the SSD. This could be due to either physical damage to one or more cells in the SSD (or "worn-out" cells,) or from improper disconnections (or as I mentioned before, power loss.)


On the other side of the coin, the data being read off of the SD card may have been corrupted to start with, but that shouldn't have caused issues with the Object Map.


Regardless, there isn't any simple technique to mount this volume once its corrupted. If the data on this volume is critical to you, you may need to consider getting support from a dedicated data recovery service. Sorry, I wish I had a better answer for you.

Jan 11, 2025 6:12 PM in response to Tesserax

Thanks so much Tesserax, all your insights and time are very much appreciated! It is great to learn about the APFS file structure. It remains a mystery as to how it was corrupted. The erratic behaviour in something so simple as file renaming gives me cause for concern in what should be a very robust toolset and workflow. Fortunately all the content on the corrupted drive is reproducible, being an automated time lapse process. Just the extra time to capture and load again. But my confidence is low in handling such large volumes of critical media with the erratic behaviour in this very simple setup. On Monday Crucial support will be available and I will call and report back if I have any more insights. Curious if anyone has had similar experiences with other SSD's attached to Mac Studio M2 and OS Sonoma. BTW yes these are all brand new SSD's, serial # registered successfully with Crucial. I am using a Ugreen 10gbps hub for the SSD's, as there are only four thunderbolt ports on the Mac Studio. I wonder if that could be an issue? Thanks again for all your help Tesserax, and I will wait and see if anyone else would like to chime in.


Jan 12, 2025 1:43 PM in response to marten berkman

Even CCC finds this volume to be corrupt. It important to understand that, unlike the metal platters used in HDDs, the equivalent are numerous cells that make up the SSD's storage capability. These cells wear out over time, but this shouldn't be an issue with a new drive. I wouldn't have expected this from Crucial who are known for providing RAM memory.


It would be odd for this to occur on the second SSD ... expect if the method you are using to copy files to the drive is somehow causing the corruption.


Sorry, but I'm at a loss on what exactly is happening. I can only suggest that you make a Genius Bar appointment at your local Apple Store and bring your Mac and these SSDs to see if they can figure this out for you.

External APFS-formatted SSD failure on new Mac Studio M2 Max

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