I just messed up a production SSD because Linux restored an old and obsolete hibernation image from swap and all file system information was out of sync. I am now running a "brtrfsck --repair" as the last resort with the full knowledge that it is a very dangerous thing to do but it is that or reformat.
I need to find a way to prevent this in the future. Is there a way to prevent Linux from restoring a hibernation image from swap, even though there are one? With later systemd one can no longer just remove the "resume=" option as it is no longer needed and systemd just automagically finds the image and restores it according to the documentation.
Thanks,
Erik
I need to find a way to prevent this in the future. Is there a way to prevent Linux from restoring a hibernation image from swap, even though there are one? With later systemd one can no longer just remove the "resume=" option as it is no longer needed and systemd just automagically finds the image and restores it according to the documentation.
Thanks,
Erik
Statistics: Posted by Paddlaren — 2024-01-29 19:18 — Replies 3 — Views 79