This is an old revision of the document!
HOWTO Cleanboot
Problem
When you install fun_plug in your DNS-323 or CH3SNAS box, it runs most of the programs from the mounted hard disks, so it prevents them from being unmounted cleanly.
You have this problem if your dmesg shows the following line:
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
Solution
Cleanboot will modify the reboot & shutdown process to overcome this issue, allowing you to cleanly reboot or shutdown your box.
How to install cleanboot in fonz fun_plug 0.3 and 0.4
telnet or ssh into your box, and issue the following commands:
# wget http://pof.eslack.org/dns323/cleanboot-2.0.tgz # funpkg.sh cleanboot-2.0.tgz # ${FUNPLUGDIR}/start/cleanboot.sh start
How to install cleanboot 2.1 in fonz fun_plug 0.5
telnet or ssh into your box, and issue the following commands:
# wget http://pof.eslack.org/dns323/cleanboot-2.1-ffp05.tgz # funpkg -i cleanboot-2.1-ffp05.tgz # chmod a+x /ffp/start/cleanboot.sh # /ffp/start/cleanboot.sh start
How to shutdown your box after cleanboot has been installed
telnet or ssh into your box and issue the command 'shutdown' or 'halt'.
NOTE: at the moment this is the only way to cleanly shutdown, if you do it either via the web panel or by pressing the button, the hard drives will not be cleanly unmounted.
How to reboot your box after cleanboot has been installed
There are several ways to reboot, all of them will umount the hard drives properly:
- telnet or ssh into your box and issue the command 'reboot'.
- issue a 'system restart' through the web administration panel
- point your browser to http://your_nas_ip/goform/System_restart
How do I repair my filesystem if I already have the 'unchecked fs' warning
There are three different methods to perform manual filesystem checks, choose the one you prefer:
- Reflash with the modified firmware with telnet access which allows umounting the disks and running e2fsck
Related forum post
http://forum.dsmg600.info/t1828-cleanboot-DNS-323-CH3SNAS.html
Updated version 2.04 - http://forum.dsmg600.info/t2346-small-updates-cleanboot.html
Bugfix and customized version 2.05 by SilentException - http://forum.dsmg600.info/p21517-2008-10-12-21%3A19%3A29.html#p21517
Enjoy