On an AC87 with AsusWRT-Merlin, I've been having a problem with my USB 3.0 flash drive sometimes not being mounted on reboot. I think I have isolated it to reboot from the HTTP GUI.
That is, if I reboot from the "reboot" button in the UI, it does not mount the USB filesystems. If I power-down and back up, it does mount the USB filesystems.
I am not currently playing with fstab.
I have 3 partitions on the USB. First one is a 512MB swap, and I use a pre-mount script to start swap on /dev/sda1/ It is the script from the documentation.
The other two partitions are ext4 filesystems. I just let them auto mount.
The second one has label 'opt', and has the asusaware.arm file, so it gets my downloaded packages. (I realize 2GB is way more than I need for opt... I wasn't able to create a partition < 2GB on this drive. Maybe just the software I used - I am lazy, so I used KDE Partition Manager on Kubuntu.)
The third one has label 'data', and I currently don't really use it for anything. It's waiting in the wings.
I suppose I ought to supply an FSTAB with UUIDs to foolproof it. (Yes, I've already accidentally inserted an OS X Yosemite installer stick! Then promptly put an adhesive label on it to avoid doing that again...)
FWIW, the only other custom configuration I have is a firewall-start script that loads ipsets with TOR exit nodes and some undesirable countries and sets iptables to block them. I wonder if there is some timing issue here? However, pretty sure I observed this behavior prior to setting that up.
admin@l33tw0pr:/# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 34.8M 34.8M 0 100% /
devtmpfs 124.8M 0 124.8M 0% /dev
tmpfs 124.9M 8.8M 116.1M 7% /tmp
/dev/mtdblock4 62.8M 2.3M 60.5M 4% /jffs
/dev/sda2 2.0G 106.3M 1.8G 6% /tmp/mnt/opt
/dev/sda3 105.4G 187.6M 99.8G 0% /tmp/mnt/data
admin@l33tw0pr:/jffs/scripts# free -m
total used free shared buffers
Mem: 255760 76608 179152 0 792
-/+ buffers: 75816 179944
Swap: 530108 0 530108
That is, if I reboot from the "reboot" button in the UI, it does not mount the USB filesystems. If I power-down and back up, it does mount the USB filesystems.
I am not currently playing with fstab.
I have 3 partitions on the USB. First one is a 512MB swap, and I use a pre-mount script to start swap on /dev/sda1/ It is the script from the documentation.
The other two partitions are ext4 filesystems. I just let them auto mount.
The second one has label 'opt', and has the asusaware.arm file, so it gets my downloaded packages. (I realize 2GB is way more than I need for opt... I wasn't able to create a partition < 2GB on this drive. Maybe just the software I used - I am lazy, so I used KDE Partition Manager on Kubuntu.)
The third one has label 'data', and I currently don't really use it for anything. It's waiting in the wings.
I suppose I ought to supply an FSTAB with UUIDs to foolproof it. (Yes, I've already accidentally inserted an OS X Yosemite installer stick! Then promptly put an adhesive label on it to avoid doing that again...)
FWIW, the only other custom configuration I have is a firewall-start script that loads ipsets with TOR exit nodes and some undesirable countries and sets iptables to block them. I wonder if there is some timing issue here? However, pretty sure I observed this behavior prior to setting that up.
admin@l33tw0pr:/# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 34.8M 34.8M 0 100% /
devtmpfs 124.8M 0 124.8M 0% /dev
tmpfs 124.9M 8.8M 116.1M 7% /tmp
/dev/mtdblock4 62.8M 2.3M 60.5M 4% /jffs
/dev/sda2 2.0G 106.3M 1.8G 6% /tmp/mnt/opt
/dev/sda3 105.4G 187.6M 99.8G 0% /tmp/mnt/data
admin@l33tw0pr:/jffs/scripts# free -m
total used free shared buffers
Mem: 255760 76608 179152 0 792
-/+ buffers: 75816 179944
Swap: 530108 0 530108