USB Auto-mounting on HA OS 15.2 - Is this still possible or has security locked it down?

I’m trying to set up local USB storage for my music library on Home Assistant OS 15.2 (RPi4) to avoid running my NAS 24/7. Despite following multiple guides, I’m hitting what seems like security restrictions.

What I’ve tried:

  1. Manual udev rules - /etc/udev/rules.d/ gets wiped on every reboot
  2. CONFIG USB import - Found the interface at /hassio/system but “Import from USB” does nothing (CONFIG USB is detected, proper structure with udev/80-mount-usb-to-media-by-label.rules)
  3. Different filesystems - ext4, NTFS, about to try FAT32

Current status:

  • USB devices properly detected (lsusb, /dev/disk/by-label/)
  • All filesystems give “Operation not permitted” on hexdump /dev/sda1
  • No community add-ons found for USB mounting
  • ha mounts only supports network shares (CIFS/NFS)

Question: Has HA OS 15.2 locked down USB storage access completely, or am I missing something? Are there any working methods in 2025, or should I abandon the USB approach?

Environment:

  • HA OS 15.2, Core 2025.6.1, Supervisor 2025.05.5
  • RPi4, Advanced SSH add-on

Any guidance appreciated - feeling like I’m fighting the OS rather than configuring it!

Hello gerrard,

AFAIK you have to restart HA to get it to mount again.

Thank you for looking. Several reboots involved already. Tried fat32 vfat, ntfs, ext4. All hit the same brick wall on reboot. Can create udev file again and again

1 Like

Well, then you are going to make me check mine…

UPDATE…
It looks like mine remounted fine after I flipped my drive on and restarted HA.

Not sure how to relate that into my config. Just seen this below the line and will give it a try [SOLVED] Mount USB drive in Hassio to be used on the Media Folder with udev customization - #10 by paoloantinori

I think the device has to be available when HA starts to see mounted drives using udev.

If they drop off, they are lost until they are available again and HA is restarted.

Whatever you do, though, make sure that mounted drive is excluded in your backups or it will try to back it up, often filling up the operating system drive where the back-up temp file is stored, and HA will crash.
Ask me how I know…

1 Like