OPNsense Forum
Archive => 21.1 Legacy Series => Topic started by: greffter on February 14, 2021, 01:42:29 am
-
I can't seem to get my 4Gb USB drive to automount at load. I plan on symlinking `/var/log` and `/tmp` to this drive to save writes to my root SSD.
root@opnsense:/ # gpart show da0
=> 40 7856048 da0 GPT (3.7G)
40 7856048 1 freebsd-ufs (3.7G)
root@opnsense:/ # cat /etc/fstab
# Device Mountpoint FStype Options Dump Pass#
/dev/gpt/rootfs / ufs rw,noatime 1 1
/dev/gpt/swapfs none swap sw 0 0
/dev/da0p1 /mnt/usb_drive ufs rw,noatime 2 2
root@opnsense:/ # df -a -H
Filesystem Size Used Avail Capacity Mounted on
/dev/gpt/rootfs 107G 2.3G 96G 2% /
devfs 1.0k 1.0k 0B 100% /dev
devfs 1.0k 1.0k 0B 100% /var/dhcpd/dev
devfs 1.0k 1.0k 0B 100% /var/unbound/dev
Running `mount -a` successfully mounts the drive. Any idea why it's not mounting when I restart?
-
Oddly, seems to have resolved itself. Rebooted today and the drive mounted. I changed nothing from the config above. anyhow, going to mark this as solved due to a ghost in the machine