Comment on Do you encrypt your data drives?
onlinepersona@programming.dev 10 months agoI did have to make sure some services were fault tolerant if an encrypted volume was unavailable when the OS booted
How did you achieve that? systemd dependency?
rockstarmode@lemmy.world 9 months ago
I’m pretty sure I didn’t mess with systems, though that would probably be the right way to handle it.
I was able to update a runtime config so if any storage wasn’t available it just halted the service. Then I created a short script I’d invoke manually which decrypted the luks drives and brought the dependent services up. I also added monitoring to alert me when the drives weren’t available for whatever reason.