Am Wed, 24 Nov 2010 23:46:55 +0900
schrieb sf...@users.sourceforge.net:

Hello J. R.

Thanks for your quick response!

> Hmm, let's make sure first that readonly re-mounted ext3 is always
> safe.
> If you have some filesystem stress test, then

What do you exactly mean by stress test? Just copying files from
somewhere - maybe from /dev/zero to /dev/sda1 (which is my
ext3) with various dd's ?

> - run it for ext3 in background with ignoring all errors


> - run this script foreground
>   $ while true
>   > do
>   >   sudo mount -o remount,ro /your/ext3
>   >   fsck -nf /your/ext3
>   >   sudo mount -o remount,rw /your/ext3
>   >   sleep 5
>   > done
> - since the foreground script makes ext3 readonly, all background
> tests will fail. but we can simply ignore them here.

Hmm... Not all will fail, since the ext3 is mounted writable for 5
seconds. So should I write just random files to /dev/sda1 (my ext3) in
these 5 second periods of time and see if the foreground script prints
any errors? Is this the purpose of the test?

> And it may be better to swap these two line in your script (after
> rsync).
> > mount -o remount,ro ${LOWER_BRANCH}
> > mount -o remount,udba=reval /

I made the change. It doesn't change the problem, though.


Have a nice day,

Marcus R.


------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev

Reply via email to