Hello Yiu-Chung Lee, Yiu-Chung Lee: > Is there any way that unmount the filesystem (or at least ensure the > filesystem being clean) at shutdown/reboot? I tried mounting all the > partitions read-only but seems it doesn't fix this issue.
How about this? (from the aufs manual) ---------------------------------------------------------------------- When your aufs is the root directory of your system, and your system tells you some of the filesystem were not unmounted cleanly, try these procedure when you shutdown your system. .nf # mount -no remount,ro / # for i in $writable_branches # do mount -no remount,ro $i # done .fi If your xino file is on a hard drive, you also need to specify `noxino' option or `xino=/your/tmpfs/xino' at remounting root directory. ---------------------------------------------------------------------- Junjiro Okajima ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
