Gentoo Archives: gentoo-user

From: Laurence Perkins <lperkins@×××××××.net>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: RE: [gentoo-user] Encrypted hard drives on LVM and urgent power shutdowns.
Date: Mon, 12 Sep 2022 16:55:03
Message-Id: MW2PR07MB4058A5D6669E2C8886FC497CD2449@MW2PR07MB4058.namprd07.prod.outlook.com
In Reply to: Re: [gentoo-user] Encrypted hard drives on LVM and urgent power shutdowns. by Dale
1 >-----Original Message-----
2 >From: Dale <rdalek1967@×××××.com>
3 >Sent: Sunday, September 11, 2022 10:58 PM
4 >To: gentoo-user@l.g.o
5 >Subject: Re: [gentoo-user] Encrypted hard drives on LVM and urgent power shutdowns.
6 >
7 >William Kenworthy wrote:
8 >> If your using nut, it has to be setup - and should be regularly tested
9 >> to make sure it works.
10 >>
11 >> BillK
12 >
13 >
14 >I think upsmon is part of nut. I keep forgetting that since the service is ups something. Thing is, I've never quite figured out how to test it without unplugging and running down the batteries. I do have everything configured and have ever since I built this puter. I did the same on previous puter and UPS. Pretty sure it will work. When power blinks etc, it does notice it and logs it in messages file. Also, the upsc command outputs the info correctly when run.
15 >
16 >I wish I could send a command to the UPS to fake a power failure, wait say one minute and then it tell puter to shutdown all on its own. If it does it correctly, it should work in the event of a actual power failure and not run down my batteries either. I try to keep the batteries topped off at all times since we do on occasion have some crazy driver not watching where he/she is going and hits a power pole. Doesn't do the pole any good and the car seems to not enjoy it either. :/ Sometimes the driver is no longer caring about it.
17 >
18 >I actually wish I had a much larger external battery. Thing is, I'm concerned about the charging bit. The charging section in a UPS isn't really that powerful since it mostly just keeps the batteries topped off. I have 7Amp/hr batteries and I think it takes like 7 or 8 hours to charge from almost dead. I'd guess it is at most a 1 to 1.5 amp charging circuit.
19 >
20 >If you know of a command to test without running down batteries, I have a Cyberpower UPS and I'm certainly interested. It's only a decade or so old so has quite a few features. There may be a way to do this but I've yet to find it.
21 >
22 >Thanks.
23 >
24 >Dale
25 >
26 >:-) :-)
27 >
28
29 Some of the higher-end UPS models do have diagnostic modes for simulating various events to make sure the connected systems behave as desired. A very few of the consumer-grade ones do as well. But how to do it is model specific, so you'll have to dig up the documentation.
30
31 Commercial-grade units also often have a DC port on the back so you can plug in larger battery banks and/or hotswap battery banks during extended outages.
32
33 If you want an arbitrarily large battery bank, just get a decent power inverter heavy enough to run your load and a battery float charger that can push enough amps to keep up, then put as big a stack of batteries as you like between the two. The nicer inverters will even warn you when the batteries get low.
34
35 You can often get used batteries from the local automotive shop for just the core charge. Just because it can't provide 600 amps to start a car any more doesn't mean it can't provide 60 to run your computers. Obviously they'll require more regular maintenance, but it's hard to beat the price.
36
37 LMP

Replies