Hello Jacob, Jacob Burkamper: > Under normal operation, the ext2 filesystem is indeed mounted read-only. > When changes need to be made, a script is used which calls mount -o > remount,rw /ro. In addition, we call mount -o remount,udba=notify /. Once > all of the writes have been made, we then change the /ro mountpoint back to > read-only. When we do this, we call auplink first, followed by a sync call, > then the remount,ro call. Once we have set the ext2 back to ro, we then > mount --remount,udba=reval /.
Ok. Just to make sure, the steps should be like this. Is it ok? auplink / flush mount -o remount,udba=notify / mount -o remount,rw /ro ... changes on /ro ... mount -o remount,ro /ro mount -o remount,udba=reval / auplink / list During these operation, I'd confirm that you have never met any errors. Did you install aufs-util on your system? If so, what is the version? And did you specify "xino=" aufs mount option? > The system that this takes place on is remote. When we make version changes > to our system, we pull those changes using a script which runs an rsync > directly to the /ro mount. before this firmware-upgrade script runs, it > ensures the ext2 is mounted ro, and then runs an fsck on it. When this fsck > runs, it almost always reports many errors. I will paste some of them into ::: I'd suggest you to try fsck in the beginning, ie. before mounting your /dev/sda1. If it passes without error, then mount it as readonly, mount aufs, and then try fsck once more. Obviously it should not have errors. But it might be better to confirm it in every step. Also it might be better to try fsck - after chroot/switch_root - after bind-mount /usr/configdir, vardir - after the completion of all boot and init procedures J. R. Okajima ------------------------------------------------------------------------------ Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk