I haven't found a good explanation of how the /media mount system works.
It seems that mechanism changes frequently.
For my CentOS 7 system with a USB external drive for backups, I use
systemd mount units to mount the drive when anything tries to touch
/var/lib/BackupPC. I'd suggest doing something similar to hold your
video library. Find a suitable "permanent" mount point (like /opt/Videos
or /mnt/Videos) and create a pair of systemd unit files in
/etc/systemd/system.
Here's the files I use for my backup drive. The file names are important
and should reflect where you plan to mount. Only enable the .automount
one. It starts the .mount file when the target directory is touched.
The mount options here are from when I needed to upgrade the drive to a
larger size and the copy process was extremely slow.
# var-lib-BackupPC.automount
[Unit]
Description = External BackupPC media automount
[Automount]
Where = /var/lib/BackupPC
[Install]
WantedBy = multi-user.target
################
─
# var-lib-BackupPC.mount
[Unit]
Description = External BackupPC media
[Mount]
#What = LABEL=BackupPC20211109
What = LABEL=backuppc4a
Where = /var/lib/BackupPC
Type = ext4
# options for better read performance
Options =
defaults,noiversion,noatime,nodiratime,relatime,errors=remount-ro,commit=60,delalloc
[Install]
WantedBy = multi-user.target
################
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/