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. To get around *that*, I modified my arrays to have a write intent bitmap. This way the resync takes ~10 seconds. The wait was added at the end of the uswsusp script, right before the call to /sbin/resume. [1] By greping for 'resync' in /proc/mdstat and looping. I'm certain there's a bug there just waiting to bite me.
signature.asc
Description: Digital signature

