First time ejecting flash drive from iPad and now the files are completely missing from the device.

Is there a specific way that this should be done? I see no options on the iPad Pro in order to eject any flash device and when removing the device I just simply unplugged it (I was not copying files or using the device at the time). But now when plugging in the device the files and folder they were in appear to have completely disappeared. This is extremely disconcerting and makes me question whether this feature is actually fleshed out or if it is dangerous to use any flash devices with my iPad.

iPad Pro 11-inch Wi-Fi

Posted on Jul 10, 2020 8:01 AM

Reply
4 replies

Jul 10, 2020 4:59 PM in response to LotusPilot

Thank you! This perfectly describes my issue, and I now understand what is going on. It seems to me iPadOS should have the eject option, since I’m sure most people would have no idea what’s going on and may, like me, try plugging in an SSD thinking it would work just fine. Until then, I’ll be sure to shut down the iPad if I’m using this device in this way again.

Jul 10, 2020 2:28 PM in response to QuickPost

As certain as I could be, I closed out the Files app and there weren’t any files on the device other than the ones that had already been transferred. I wasn’t sure the first time around but I tried looking up best practices on removing the flash devices from the iPad and the same result happened every time I removed it. It seems that it may have even corrupted the flash device.

Jul 10, 2020 2:46 PM in response to chatdawgie

The type of flash storage device that you are using will have significant impact. Simple flash storage devices can be dismounted provided that an active write isn’t occurring. More complex devices are a completely different proposition...


The technical cause is likely to be write-caching - this being a feature of the USB Storage (in this case SSD) device.


For most desktop computers, it is possible to configure an externally attached storage device either for performance (i.e., uses write-caching) or for Quick Removal. This determines how and when information is “written” to non-volatile storage.


When configured for Quick Removal, information from the host computer is written immediately to the storage medium. This has the advantage that you may disconnect the storage device from the host computer, without risk of corrupting the file-system, at any time that data is not being actively transmitted to the storage device. Whilst being a completely valid and useful method of managing data storage, for reasons beyond the immediate scope of this description, this method is less efficient and slower.


Alternatively, when write-caching is enabled, information from the host computer is “cached” in separate (high performance) volatile storage within the storage device - and when sufficient information has been received, a “block” of data is written in single write-cycle. Whilst being faster and more efficient, this method comes with the penalty of the host computer having to notify the storage device of a impending device-disconnection before it is disconnected. This warning ensures that the storage device will flush any pending data from its volatile cache-memory to non-volatile storage - and in so doing sets a “clean switch” on the flash filesystem and signals to the computer that it is safe to disconnect.


A drive configured for write-caching, upon connection to a host computer, is checked for the “clean switch”; if present, the storage device is “mounted” and made available to the operating system. By contrast, if the “clean switch” is not detected (this will occur if the storage device was disconnected prior to being notified of a “dismount”), the filesystem must be assumed to be potentially corrupt; pending data within the write-cache may not have been written to the drive.


So, the relevance of this to iPad is simple. iPad does not fully support devices that are implement write-caching. iPadOS lacks the ability to inform the storage device of imminent disconnection of the storage device from the USB bus. iPad also lacks capability to detect and scan/repair corrupt storage devices.


In summary, now that you [hopefully] understand both the cause and effect, you will now understand that you can only reliably use USB storage devices that can be configured for Quick Disconnect operation - this having major significance to non-corruption of the filesystem and reduced data throughput.


The only “safe” dismount is to fully shut down the iPad before disconnecting


I hope this information is helpful in explaining the likely cause of the issue....

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

First time ejecting flash drive from iPad and now the files are completely missing from the device.

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