Bug#415441: uswsusp: fails to resume if initrd starts raid arrays

martin f krafft madduck at debian.org
Tue Apr 3 15:17:52 UTC 2007


also sprach Luis Rodrigo Gallardo Cruz <rodrigo at nul-unu.com> [2007.03.27.0808 +0200]:
> mdadm maintainers: Could you please be so kind as to comment on this
> bug and our current attempts to solve it? I think both Tim and I are a
> bit out of our depth here.

Sorry about the delay, I did not see any mail about this until now.

I do not see this as a problem mdadm/userspace can solve. The only
real solution I can imagine is to implement proper freeze/thaw
support into the md kernel processes. Anything else will require
resyncs of the arrays for every suspend cycle, which is simply
unacceptable. Either that, or make uswsusp/the kernel shut down the
arrays cleanly after snapshotting and let mdadm in initramfs
reassemble them.

The suggestion to assemble arrays after resume support in initramfs
does not work because it cannot handle swap on md arrays. Assembling
only swap early and all the others later can't work because swap may
be on LVM and everything would get totally complicated.

This is an issue to be fixed in the kernel.

-- 
 .''`.   martin f. krafft <madduck at debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature (GPG/PGP)
Url : http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20070403/0883ca59/attachment.pgp


More information about the pkg-mdadm-devel mailing list