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

a.chan1847

macrumors newbie
Original poster
Jun 18, 2023
19
0
This is going to be a long post and this happened months back. I previously asked this on Reddit but I felt unsatisfied with the responses. This'll be a copy and paste from there with some minor edits.
So I was trying to transfer some files on my Mac to my SanDisk 256GB Cruzer USB 2.0 Flash Drive - SDCZ36-256G-B35 and as I waited for the files to transfer I decided to watch some videos to occupy myself in the mean time. In the past whenever I'm watching videos or just browsing on Firefox as I'm transferring files it seems to affect the file transfers and stops it and gives me an unexpected error occurred message. It didn't seem to affect anything so I didn't think much of it and will usually just transfer the files again and it works the second time. Usually I'll keep my computer usage to a minimum for the second transfer and the file transfers work successfully. But on occasion as soon as I'm done with the file transfers and go to eject the thumbdrive it'll give me the message that the thumbdrive is in use and will be unable to eject. It gives me a force eject option, but I never click on it and instead will try to click cancel. But the message will soon disappear along with the thumbdrive icon before I get the chance to click "cancel" so I assume that it ejected as normal and I never needed to worry about pulling the thumbdrive out.
But today something different happened. Once again I got the unexpected error occurred message and tried a second transfer. But this time instead of prompting me to stop, replace, or merge my folders I instead got message that didn't include the merge option. It only told me to either stop or replace the file because the folder already exists. I thought it was weird and decided to click cancel so I wouldn't mess with anything. I go to click on my Finder and my Thumbdrive now shows up as completely empty. However, it still indicates that the storage space has been used. It is a 256GB SanDisk thumbdrive and currently I have 47GB available to use. I went to disk utility and attempted a first aid repair but I get an error message saying this: [Repairing file system. Volume could not be unmounted. Restoring the original state found as mounted. Unable to unmount volume for repair. Operation failed...] I've also tried ejecting it but it prevents me from doing so and I cancel the ejection. I have done nothing else other than a relaunch of the Finder. And just as I was typing this up, the thumbdrive seemed to have ejected and Mac gives me an error message that the SanDisk was ejected improperly. I haven't attempted an ejection in the last 20 minutes. It seems like the ejection was delayed. But since my Mac treated it as an ejection I unplugged my thumbdrive and plugged it back in, hoping that my computer was just being slow and that was the reason why my thumbdrive couldn't be repaired because it was in the middle of being ejected. But now it seems like my Mac doesn't even acknowledge that my Thumbdrive has been plugged. I even tried logging out and logging back in in hopes that it'll show up on my Finder's side bar and nothing. There's no greyed out option or anything on the sidebar. My other thumbdrives work but not this one. I've also noticed the past two times I used my thumbdrive my files had been transferring much faster than the usual hour that it takes. So it sounds as though my thumbdrive was corrupted but I have no idea what was done wrong to corrupt it.

Newer information: my 32GB SanDisk thumbdrive is now experiencing something similar where as soon as files are done transferring and I attempt to eject, I'll get the force eject prompt but before I either get a chance to click on it or even clicking "cancel" the message will disappear and it'll say that it has been ejected. Recently I've decided to play it safe and now only eject after logging off my Mac. I also bought a second 256GB SanDisk drive, the exact same as Amazon gave me the option to buy it again. This time the new thumbdrive came with installing instructions which I have been unable to do and my Mac stops recognizing it after plugging it in a few times. I have since returned it.
When I posted this on reddit I was suggested to plug my drives into a Windows or Linux but I do not own any and haven't since Windows Vista was a thing. I'd like to know what could be causing these issues before I go buy a different brand of thumbdrive or other external hard drives.
 
Since you have no need for OS interoperability, format the drive as APFS and see if that helps at all. I have a feeling that something, somehow is corrupting the Fat32/exfat filesystem in someway on the drive.
 
Since you have no need for OS interoperability, format the drive as APFS and see if that helps at all. I have a feeling that something, somehow is corrupting the Fat32/exfat filesystem in someway on the drive.
I did a Google search on that and on the website Seagate, it says doing so will erase all files on my thumb drive. While the files aren't exactly important I'd rather not erase anything on them since I erased the original files on my Mac to free up some space.
 
If you have enough space you can create a temp folder on your desktop, and dump all the files onto there. Format, then put all the files back.
I think you missed the part where I said that my Mac no longer recognizes that drive has been plugged in. I have no access to the files in it.
 
I didn't read your text wall but if you want to run linux assuming you have intel machine you can burn a copy to a usb drive, then restart you machine and boot from that USB drive. Now you have linux machine, maybe you can transfer your files to another properly working usb drive. If you have ARM/M1 there is a linux called Asahi that supposedly runs on M1 machines but I do not know if you can boot from USB drive. Google is your friend.

that being said, I am not sure if linux can actually read the contents of a MacOS journaled or APFS formatted file system
 
I didn't read your text wall but if you want to run linux assuming you have intel machine you can burn a copy to a usb drive, then restart you machine and boot from that USB drive. Now you have linux machine, maybe you can transfer your files to another properly working usb drive. If you have ARM/M1 there is a linux called Asahi that supposedly runs on M1 machines but I do not know if you can boot from USB drive. Google is your friend.

that being said, I am not sure if linux can actually read the contents of a MacOS journaled or APFS formatted file system
Well, if you had read my wall of text you'd have known that I do not have a Linux machine.
 
  • Sad
Reactions: August West
I think you missed the part where I said that my Mac no longer recognizes that drive has been plugged in. I have no access to the files in it.
At this point it's time for a new drive then. Without access to another computer, there's little you can do at this point. In the future, always keep backups (iCloud for example).
 
Does the flash drive not show up at all or does it show up, but with no files?

If your Mac recognizes the flash drive, but not the files, you can run Disk Utility’s First Aid.

Connect the flash drive. Go to your applications folder and navigate to the Utilities folder. Then open Disk Utility. Once there, if the flash drive shows up in the side bar, select it and press the repair button. Depending on how the drive is formatted, you may have different layers to choose from in the side bar. If so, start at the bottom and run the repair at each layer.

If it is something that Disk Utility can fix, you may be in luck.
 
I figured as much.
I don't see anywhere that you have rebooted the mac. And is anything else connected to your mac?
One other suggestion. Shut down your computer, remove the SanDisk. Insert it again, then boot to disk utility and try repairing. (do not boot into MacOS)
 
I don't see anywhere that you have rebooted the mac. And is anything else connected to your mac?
One other suggestion. Shut down your computer, remove the SanDisk. Insert it again, then boot to disk utility and try repairing. (do not boot into MacOS)
I have shut down my Mac normally and replugged the drive in and nothing has changed. The only other thing connected to my Mac is my Deskjet printer. Is booting to disk utility different from just using the disk utility when the computer is already on?
 
Does the flash drive not show up at all or does it show up, but with no files?

If your Mac recognizes the flash drive, but not the files, you can run Disk Utility’s First Aid.

Connect the flash drive. Go to your applications folder and navigate to the Utilities folder. Then open Disk Utility. Once there, if the flash drive shows up in the side bar, select it and press the repair button. Depending on how the drive is formatted, you may have different layers to choose from in the side bar. If so, start at the bottom and run the repair at each layer.

If it is something that Disk Utility can fix, you may be in luck.
The first time I experienced the error, all of the files disappeared but the available space said that space is being used. However, after unplugging the drive after a delayed ejection, it no longer appears on my Mac's finder bar. It still does show up in disk utility but it fails to fix. This is what it says, "[Repairing file system. Volume could not be unmounted. Restoring the original state found as mounted. Unable to unmount volume for repair. Operation failed...]"
 
It still does show up in disk utility but it fails to fix. This is what it says, "[Repairing file system. Volume could not be unmounted. Restoring the original state found as mounted. Unable to unmount volume for repair. Operation failed...]"

If it does show up in Disk Utility does it show as being mounted?

If so what happens if you unmount it manually - same message?
 
I know, I also answered you on how you can run a Linux machine. Buy USB drive, install Linux on it, reboot your mac from that Linux USB (its possible)
And I Googled trying to do Linux into a older model Mac mini and it looks like people have had issues and I definitely do not have the technological know how to deal with that.
 
It's time for another flashdrive.
This one is flaky.
The only way you're going to get it back to "normal" is to completely erase/reformat, and start over.

It's 256gb in size?
Do you really need it to be that large?
If so, you might do better with a 256gb SATA 2.5" SSD, in a USB3 enclosure.
A little "larger", but probably safer over the long term, and faster, too.
 
If it does show up in Disk Utility does it show as being mounted?

If so what happens if you unmount it manually - same message?
Sorry for the late response, been busy with work. Can't remember what it said but unfortunately I can't even test it out since it won't even appear on Disk Utility anymore.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.