What's new

Possible Disk corruption with ENTWARE?

mobileman88

Regular Contributor
Everytime I reboot my router, I am getting the following message "EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended" when I type the "dmesg" command. Seems that when rebooted, my storage usb is never unmounted cleanly. How can I ensure it is properly unmounted when rebooting?
 
Use a premount script to have it checked before mounting.

pre-mount

Just before a partition gets mounted. This is run in a blocking call and will block the mounting of the partition for which it is invoked till its execution is complete. This is done so that it can be used for things like running e2fsck on the partition before mounting. This script is also passed the device path being mounted as an argument which can be used in the script using $1.

https://github.com/RMerl/asuswrt-merlin/wiki/User-scripts#wiki-pre-mount
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top