On Thu, Mar 22, 2007 at 03:24:08PM +0100, Tim Dijkstra wrote: > On Thu, 22 Mar 2007 06:56:22 -0600 > Luis Rodrigo Gallardo Cruz <[EMAIL PROTECTED]> wrote: > > By adding a snippet to > > /usr/share/initramfs-tools/scripts/local-premount/uswsusp > > that waits for the array resync to finish[1], The resume process works as > > expected. However, it adds a ~40 minute delay to it. > > > To get around *that*, I modified my arrays to have a write intent bitmap. > > This way > > the resync takes ~10 seconds. > > I don't understand what that means... only that 10 seconds sounds reasonable.
It makes the array record *what* part of it needs resync, instead of marking the whole thing as dirty. I assume it has some speed penalty, because it's not the default option. > > The wait was added at the end of the uswsusp script, right before > > the call to /sbin/resume. > > So what you are telling me is that uswsusp should wait resuming until > the raid arrays are synced? Somehow I'm a bit afraid that the arrays end > up in a inconsistent state after the resume... Yes, me too, and not just a bit. Altough, so far, I've had no trouble. > Have you tried triggering the resume before the arrays are up? (bit > hard if your swap is on there;) No, my swap's not there. How can I try that? I don't really understand the initramfs scripts. PS. I think I've fixed the problem with my mail server.
signature.asc
Description: Digital signature

