Home Assistant OS mount second drive for Plex storage

I’ve installed Home Assistant OS directly on a NUC. I was hoping to mount a second drive to use as storage for Plex content (exposed through the Plex Media Server add-on).

Is it possible to mount a second drive in HAOS and make it available to the Plex add-on?

HAOS can see both my drives, but only /dev/sda (where I installed it) has active mounts.

I can make this work, at least temporarily…

In the ‘docker’ ssh, I created /media/space but couldn’t mount from within the docker container (understandably).

From the host root (login at ha prompt on the physical box) I found this directory in /mnt/data/supervisor/media/space and was able to mount my drive at it with:
mount /dev/sdb1 /mnt/data/supervisor/media/space

The Plex media player add-on finds this at /media/space and serves content which I add there.

Is this likely to cause me issues? It seems to be working perfectly.

However, I haven’t found a way to persist it across restarts.

  • /etc/fstab is read-only
  • there’s no crontab
  • I can’t create a systemd service because the file system is read-only

Is there any way to run mount /dev/sdb1 /mnt/data/supervisor/media/space automatically on startup?