RemixVSL / iomemory-vsl

Updated Fusion-io iomemory VSL Linux (version 3.2.16) driver for recent kernels.
153 stars 28 forks source link

Debian 12: Best way to mount a drive at boot time #120

Closed bucovaina closed 1 year ago

bucovaina commented 1 year ago

Hi,

Not necessarily a bug report, but what would be the best way to mount an iodrive2 with /etc/fstab at boot time? I installed the module and "force loaded it" at boot, but then it was not mounted, if I issued the command "mount -a" it was mounted after a boot. So I added a cron entry for root with @reboot to mount the drive.

Is there a cleaner way to achieve a mount at boot time?

snuf commented 1 year ago

Hi @bucovaina, I run VMs and container images from my drive, and mount it with systemd like so:

funs@cipher:~$ cat /etc/systemd/system/Volumes-Marvin.mount 
[Unit]
Description=Marvin FIO mount

[Mount]
What=/dev/disk/by-label/marvin
Where=/Volumes/Marvin
Type=ext4
Options=noatime,nodiratime

[Install]
WantedBy=multi-user.target