hi, I have a "server" that's occasionally completely freezing in correlation with LVM snapshots
-
hi, I have a "server" that's occasionally completely freezing in correlation with LVM snapshots
note: i have much more up to date information on my wiki. short link is https://w.jc6.xyz/9 because the long link is https://wiki.jacksonchen666.com/wiki/Request_for_help:Random_system_freezes_on_backups_with_LVM_snapshots
please check my wiki for complete information. below is kind of a summary version that's not complete.
i make LVM snapshots on backups, then remove them after it's done. it seems the last syslogs i usually get is a log that the backup is starting, then logs stop there. interestingly, a backup at the time is made and appears to be complete. after i restart the system, the next backup will be empty, then the second next backup will be normal (my script removes snapshots, and doesn't error on existing snapshot name when creating a snapshot)
i don't have logs of what my backups do, unfortunately. currently system logs are sent via network including kernel and syslogs
when it freezes, SSH is impossible and pressing keys on a keyboard does nothing (except for tty 7-8, which might use a different tty program), but the tty cursor still blinks, and system still responds to sysrq. but sysrq actions which dumps info doesn't really dump any info, and I can only reboot from there.
the system also seems to be idle when it freezes, given it's slightly colder?
running alpine linux 3.21.2, kernel 6.12.9-0-lts, lvm 2.03.29-r1 (distro package) (also all might be slightly outdated by now), feel free to ask any info I might've missed
-
A awoo@gts.apicrim.es shared this topic