Ok, so I have installed a USB stick for logging, and modified the ‘functions_usbdrive.sh’ script to support 256MB (default 20MB) of logging and tweaked ‘/etc/cmh/cmh.conf’ to support up to 30 rotated files (default 10). I also modified ‘/etc/config/fstab’ to remove the SWAP definition. Now… I want to mount ‘/dev/sda2’ into directory /data on bootup to store any additional files… ie daily backups locally. I tried adding the following section into ‘/etc/config/fstab’:
config mount
option enabled '1'
option target '/data'
option device '/dev/sda2'
option fstype 'ext3'
option options 'rw,noatime,nodiratime,errors=continue,data=ordered'
option enabled_fdisk '1'
option enabled_mkfs '1'
option enabled_fsck '1'
option label 'DATA'
option fsck_days '30'
option fsck_mounts '10'
However, this does not work. Of course, I did test mounting manually via ‘mount /dev/sda2 /data’ and this works fine. Any idea on how to get this to mount on a reboot?