On Thu, 22 Mar 2007 06:56:22 -0600 Luis Rodrigo Gallardo Cruz <[EMAIL PROTECTED]> wrote:
> On Mon, 19 Mar 2007 09:58:43 -0600 > Luis Rodrigo Gallardo Cruz <[EMAIL PROTECTED]> wrote: > > s2disk does not mark (software) raid arrays as clean when shutting > > down the machine. > > I've managed to get a crude workaround: > > 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. LOL > 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. > 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... Have you tried triggering the resume before the arrays are up? (bit hard if your swap is on there;) grts Tim
signature.asc
Description: PGP signature

