Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #77712
| From | Gervase <gervase@group.force9.co.uk> |
|---|---|
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#778849: Support restoring initrd on shutdown and pivoting into it |
| Date | 2022-12-24 15:30 +0100 |
| Message-ID | <FGdHb-cVZ5-1@gated-at.bofh.it> (permalink) |
| References | <oVYjo-80O-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
Hi Joseph. The last paragraph of this e-mail is specifically addressed to you, but most of this e-mail is addressed generally. Also, apologies if this message is a bit rushed. I have a few things to do today. > I have yet to investigate intrigeri's suggestions from 2017, I was planning to try out intrigeri's solution on a VM but have not had the chance to do this. > however I would suggest that this is something that needs to be > upgraded from wishlist in 2022, and here's the reason simply enough: > > root@aki:~# nvme smart-log /dev/nvme0 > Smart Log for NVME device:nvme0 namespace-id:ffffffff > [..] > unsafe_shutdowns : 106 > [..] > num_err_log_entries : 284 > [..] > root@aki:~# nvme smart-log /dev/nvme1 > Smart Log for NVME device:nvme1 namespace-id:ffffffff > [..] > unsafe_shutdowns : 121 > [..] > num_err_log_entries : 291 > [..] I agree that this should be higher than wishlist for the above reason plus Lukas's ZFS shutdown problem mentioned in the initial description/submission of this bug. This really should be fixed for Bookworm. Awhile back, I did have a look around the fix. From what I remembered, intrigeri's solution used a systemd shutdown 'script' to check for devmaps or whatever of LVMs, ZFS partitions, etc... and runs specific commands to umount the partitions. However, I think my memory may be bad because I "now" don't see evidence of such umounts in intrigeri's solution! I would like to try things out today but maybe too rushed. Jo, have you been able to try out intrigeri's solution (in GENERAL as opposed to his specific patch/fix, which is mentioned in this bug report and may have bits missing)? The reason I say this is because you would have the exact recreation steps and be able to do it easily. For me, it would be a shot in the dark or awkward for me to recreate. I would only be able to check that root LVM on LUKS would not cause any untoward problems. Thanks, Gervase.
Back to linux.debian.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Bug#778849: Support restoring initrd on shutdown and pivoting into it Gervase <gervase@group.force9.co.uk> - 2022-12-24 15:30 +0100
Bug#778849: Support restoring initrd on shutdown and pivoting into it Gervase <gervase@group.force9.co.uk> - 2023-01-10 23:50 +0100
Bug#778849: Support restoring initrd on shutdown and pivoting into it Gervase <gervase@group.force9.co.uk> - 2023-01-11 01:30 +0100
Bug#778849: Support restoring initrd on shutdown and pivoting into it Gervase <gervase@group.force9.co.uk> - 2023-03-19 03:30 +0100
csiph-web