#LUKS encrypted system keeps breaking filesystem after reboot
13 messages · Page 1 of 1 (latest)
we could try and diagnose some kernel modules, but I’m not convinced they’re the issue
have you ever seen any failed messages on shutdown?
I’ve found a weird thing that happened to me on an SD card with a FAT32 filesystem
in that with how Linux never wipes a partition when formatting, and how deletes are fairly shallow
older files and partition tables and whatnot are read by certain tools
and I eventually had to completely wipe the relevant part by piping /dev/zero in
maybe… you could try running blkdiscard on the partition, before reformatting
wiping with dd on an SSD is unfortunately not usually the best plan
I’m not sure how it affects filesystem stuff in the future, but it unnecessarily takes away a write/erase cycle from the SSD
and without a discard operation it will leave the SSD performing badly