1 |
If your using nut, it has to be setup - and should be regularly tested |
2 |
to make sure it works. |
3 |
|
4 |
BillK |
5 |
|
6 |
' |
7 |
|
8 |
On 12/9/22 09:56, Dale wrote: |
9 |
> Howdy, |
10 |
> |
11 |
> Last night we had some bad weather where I live and we ended up with |
12 |
> some power problems. Ironically they went out a few hours after the |
13 |
> storm was gone. Anyway. I had all sorts of encrypted drives open. My |
14 |
> usual drives inside my puter plus the large 14TB external backup drive |
15 |
> that is still copying files over. Glad my UPS held up while I closed |
16 |
> all those drives and did a proper shutdown. Doing all that tho, it made |
17 |
> me think about if I wasn't here to do all that. Being Linux, I'd |
18 |
> suspect that upsmon would tell the puter to do a proper shutdown which |
19 |
> includes unmounting the file system, closing the encrypted drives, like |
20 |
> I do with cryptsetup close <name> etc and then shutting down. However, |
21 |
> one has to ask, is it set up to do so by default? I manage the |
22 |
> encrypted drives manually. I don't use the crypt services for that like |
23 |
> people do when all of the system drive(s) is encrypted or when just |
24 |
> /home is encrypted. My encrypted stuff is mounted within /home or for |
25 |
> the external backups, in /mnt. Thing is, some aren't open unless I'm |
26 |
> using them or are external. Since I do it manually, is there a tool |
27 |
> that sees they need unmounting and closing and does it or do I need to |
28 |
> do something to make sure it is done before a shutdown? |
29 |
> |
30 |
> I suspect this would happen on its own but I'd like to make sure. I'd |
31 |
> hate to mess up the file system badly on any of my drives or in a worst |
32 |
> case scenario, brick a hard drive with some 1 in a million chance problem. |
33 |
> |
34 |
> I thought about having a drive connected, open and mounted that I don't |
35 |
> really need and just do a shutdown, see what happens. Then again, why |
36 |
> not ask and see if anyone else has had this happen and if things turned |
37 |
> out OK or if there was problems. I'm lucky, most of the time I'm either |
38 |
> home or very close by. Still, it can happen when I'm not here. I |
39 |
> already wonder if upsmon will kick in correctly and do a proper |
40 |
> shutdown. After all, it has never had to before. I'm running on faith |
41 |
> that it will. I hope I'm right. |
42 |
> |
43 |
> Thoughts? Default will take care of things? I need to take steps to be |
44 |
> sure in case I'm not here? Personal experience? A good theory? ;-) |
45 |
> |
46 |
> Thanks. |
47 |
> |
48 |
> Dale |
49 |
> |
50 |
> :-) :-) |
51 |
> |