[Bug 131830] Re: local-premount resume script(s) too fast for LVM
This bug should be solved since initramfs-tools 0.92ubuntu1: Merge from debian unstable, remaining changes: ... * Loop for 5 seconds waiting for $suspend to show up, adjustable with the resumedelay= command-line arg ... ** Changed in: initramfs-tools (Ubuntu) Status: New = Fix Released -- local-premount resume script(s) too fast for LVM https://bugs.launchpad.net/bugs/131830 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 131830] Re: local-premount resume script(s) too fast for LVM
The fix (and previously the bug) is in initramfs-tools ** Changed in: lvm2 (Ubuntu) Status: New = Fix Released -- local-premount resume script(s) too fast for LVM https://bugs.launchpad.net/bugs/131830 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 131830] Re: local-premount resume script(s) too fast for LVM
The fix (and previously the bug) is in initramfs-tools ** Changed in: uswsusp (Ubuntu) Status: New = Fix Released -- local-premount resume script(s) too fast for LVM https://bugs.launchpad.net/bugs/131830 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 131830] Re: local-premount resume script(s) too fast for LVM
By the way searching for LVM in the same package seems to find related bugs. ** Attachment added: sleep-based workaround for local-premount/resume http://launchpadlibrarian.net/11163611/local-premount_resume_sleep.patch -- local-premount resume script(s) too fast for LVM https://bugs.launchpad.net/bugs/131830 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 131830] Re: local-premount resume script(s) too fast for LVM
This bug is critical because it leads to data corruption. Experienced: - first boot misses the snapshot to resume because of LVM device not found. System proceeds to boot normally (not resuming). System ignores LVM swap/resume partition with unknown swap signature. Writes modifications on other filesystems. Shutdowns. - later, next boot sees the resume partition (remember: this is a race condition). System resumes with wrong state for filesystems: Disaster (see kernel swsusp FAQ) -- local-premount resume script(s) too fast for LVM https://bugs.launchpad.net/bugs/131830 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 131830] Re: local-premount resume script(s) too fast for LVM
The wait for LVM device workaround loop described above is needed by BOTH Uswsusp (s2disk) and swsusp (/sys/power/state). -- local-premount resume script(s) too fast for LVM https://bugs.launchpad.net/bugs/131830 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 131830] Re: local-premount resume script(s) too fast for LVM
Concerning a final fix: - either enabling LVM is deemed to be asynchronous and all LVM users are supposed to poll/wait - or enabling LVM should be fixed to be synchronous (i.e., command returns when actually DONE) For maximum safety both could be implemented; it never hurts to wait a few seconds for a device to be ready. ** Also affects: lvm2 (Ubuntu) Importance: Undecided Status: New -- local-premount resume script(s) too fast for LVM https://bugs.launchpad.net/bugs/131830 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs