# Question about Offline Updates and external storage persistence

**URL:** <https://forums.balena.io/t/question-about-offline-updates-and-external-storage-persistence/354296>\
**Category:** Product support\
**Created:** [March 10, 2022, 5:07am UTC](https://forums.balena.io/t/question-about-offline-updates-and-external-storage-persistence/354296 "2022-03-10T05:07:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bal](https://avatars.discourse-cdn.com/v4/letter/b/91b2a8/32.png) [@bal](https://forums.balena.io/u/bal)\
**Post date:** [March 10, 2022, 5:07am UTC](https://forums.balena.io/t/question-about-offline-updates-and-external-storage-persistence/354296/1 "2022-03-10T05:07:37Z")

</div>

I have balenaOS is installed on a primary SSD.  
I also have a standard SATA 3.5 HDD connected to my board.  
This HDD contains large media files that will get consumed by other containers. Data on it should persist in case of any update whether it be host OS update, application update or offline update.

From the information I gathered, I’d have to this:

- Mount the HDD from within a privileged container (And possibly share it with other containers via NFS without using Docker Volumes)  
[Communicate outside the container - Balena Documentation](https://www.balena.io/docs/learn/develop/runtime/#mounting-external-storage-media)

So far, this will survive host OS and application updates right?  
But what I’m confused about is Offline Update and specifically this quote from the documentation:

> These external storage devices are not part of the update process, so data on them would be left intact, as long as they are temporarily disconnected during the update process.

And it also says:

> If a device isn’t local, you can just ship the SD card or USB stick/drive to a remote location and let someone there run the update by simply inserting it into the device and booting.

> **[Offline Updates make it easier to update balena devices without the internet](https://blog.balena.io/offline-updates-make-it-easier-to-update-balena-devices-without-the-internet/)**
>
> We're releasing a smoother method to easily update the software on a previously deployed balena device that has limited connectivity by design.

Do I absolutely have to disconnect the HDD first? If I don’t, will the offline update erase my HDD?  
If I ship a USB containing offline updates, do I have to tell that someone at a remote location to disconnect the HDD first specifically?

---

<div class="post-metadata">

**Author:** ![alexgg](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@alexgg](https://forums.balena.io/u/alexgg)\
**Post date:** [July 1, 2022, 2:50pm UTC](https://forums.balena.io/t/question-about-offline-updates-and-external-storage-persistence/354296/3 "2022-07-01T14:50:33Z")

</div>

Hi, thanks for your message. Whether the external drive needs to be removed will depend on the provisioning method of the device type in question. Non-flasher devices, those that do not require to boot from an external drive to detect and program an internal one, should not try to access external drives. However, flasher device types will program into the first detected device from a static list, so the installation might use the external drive you want to preserver, depending on which order the kernel detects the drives.  
What type of device types are you using?
