[systemd-devel] systemd hibernator generator does not function on default Fedora install

poma pomidorabelisima at gmail.com
Thu Apr 21 15:09:40 UTC 2016


On 19.04.2016 12:31, Harald Hoyer wrote:
> 
> Here are my thought as the main dracut maintainer:
> 
> To resume from a swap disk means, that you must not change any data on disk
> while doing so, because that change would go unnoticed by the kernel, which we
> want to resume. So basically assembling raid or LVM, which changes metadata on
> disk is a no go. [...]

MD RAID1 is "go-go", i.e. funk, rhythm and blues, and early hip-hop ...
https://en.wikipedia.org/wiki/Go-go

# grep resume /proc/cmdline 
... resume=UUID=12345678-1234-1234-1234-123456789abc ...

# blkid | grep 12345678-1234-1234-1234-123456789abc
/dev/md1: UUID="12345678-1234-1234-1234-123456789abc" TYPE="swap"

# mdadm --detail /dev/md1 | grep Level
     Raid Level : raid1

# systemctl hibernate
...
ACPI: Preparing to enter system sleep state S4
  PM: Creating hibernation image:
...
..
.
RESUME(THAW)
.
..
...
ACPI: Waking up from system sleep state S4
  PM: Image restored successfully.




More information about the systemd-devel mailing list