What instance type are you using? A xen based type like t2, or similar? Hibernate seems to work fine on KVM based instances, e.g. c5, m5, and in my testing I also experienced issues with Xen based instance types. I am looking into those issues in a separate bug.
It is very interesting that you have both /swap and /swap-hibinit.
/swap-hibinit is from the ec2-hibinit-agent package, while /swap is from the older hibagent package. I am a little confused as to why both packages are seeded to AWS AMIs since they are both doing effectively the same thing, but I will ask the CPC team about it and let you know the result.
Is there anything special you did to trigger hibagent to make /swap? It seems to ship a old sysvinit script, /etc/init.d/hibagent which sets up the swapfile and configures grub. This shouldn't be running by default on a modern 20.04 system anymore.
I will keep looking into the hibernation issue on Xen instance types and will let you know.
Hi andy1723,
What instance type are you using? A xen based type like t2, or similar? Hibernate seems to work fine on KVM based instances, e.g. c5, m5, and in my testing I also experienced issues with Xen based instance types. I am looking into those issues in a separate bug.
It is very interesting that you have both /swap and /swap-hibinit.
/swap-hibinit is from the ec2-hibinit-agent package, while /swap is from the older hibagent package. I am a little confused as to why both packages are seeded to AWS AMIs since they are both doing effectively the same thing, but I will ask the CPC team about it and let you know the result.
Is there anything special you did to trigger hibagent to make /swap? It seems to ship a old sysvinit script, /etc/init. d/hibagent which sets up the swapfile and configures grub. This shouldn't be running by default on a modern 20.04 system anymore.
I will keep looking into the hibernation issue on Xen instance types and will let you know.
Thanks,
Matthew