SANLK-RESETD(8)
β¨ SANLK-RESETD β¨
okay bestie, welcome to the sanlk-resetd page β that's the host reset daemon from the System Manager's Manual, and she is not here to play. this one's got range: it watches lockspaces, and when something goes sideways it nukes the host. no cap. π
πΈ SYNOPSIS πΈ
sanlk-resetd [OPTIONS] lockspace_name ...
π¦ DESCRIPTION π¦
so like, the sanlk-resetd daemon β¨gets eventsβ¨ from the sanlock lockspaces you name. and when those events show up, they're defined to make sanlk-resetd do one of these two things:
- use
wdmd/watchdog to reset the host π - use
/proc/sysrq-triggerto reboot the host π₯
okay so now the fun part. the sanlk-reset program can be run on another host, and it can request that sanlk-resetd reset the host it's running on. it's giving long-distance chaos. for that reset request to actually succeed, both hosts must be operational and both need to have continued access to a common lockspace β no shared lockspace, no reset, periodt. after setting the event, the sanlk-reset program monitors the host status in the sanlock lockspace until the target host is dead. yes, dead-dead. πͺ¦
but wait, there's more π the sanlk-reset program can also be run on the same host as sanlk-resetd, and in that case it updates which lockspaces the local sanlk-resetd is watching for events. so it's like, a little settings refresh for your local daemon. iconic.
π OPTIONS π
--version,-Vβ print the version. that's it, that's the whole thing π«Ά--help,-hβ print usage. your girl when you forget how she works π--foreground,-fβ don't fork. stay right here in front of you, main character energy β¨--daemon-debug,-Dβ enable debugging tostderrand don't fork. two-for-one, we love a multitasker π₯--sysrq-reboot,-b 0|1β enable/disable (1/0) the use of/proc/sysrq-triggerto reboot. flip the1to turn it on,0to turn it off π--sysrq-delay,-d secβ delay this many seconds before using/proc/sysrq-trigger. a lil dramatic pause before the drop π--resource-mode,-R 0|1β resource leases are used (1) or not used (0) to protect storage. pick your vibe:1= leases on,0= leases off π
heads up bestie:0|1means exactly those two values, andsecis a number of seconds. don't get creative, the daemon will not be charmed by your creativity π
π SEE ALSO π
sanlk-reset(8) sanlock(8) wdmd(8) β go read these next, they're the friend group π§
and that's the whole page, babe π this was SANLK-RESETD(8) from the System Manager's Manual, dated 2014-08-14, and honestly? still slaying. stay safe out there, don't reset anything you can't emotionally recover from πβ¨
π¦ where this page comes from
- debian bookworm: sanlk-reset 3.8.5-1+b1 Β· GPL-2.0-or-later
- debian trixie: sanlk-reset 3.9.5-1 Β· GPL-2.0-or-later
- ubuntu jammy: sanlk-reset 3.8.4-1build2 Β· GPL-2.0-or-later
- ubuntu noble: sanlk-reset 3.8.5-2build3 Β· GPL-2.0-or-later
- ubuntu questing: sanlk-reset 3.9.5-1
- ubuntu resolute: sanlk-reset 4.2.0-1build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms