Gentoo Archives: gentoo-user

From: Volker Armin Hemmann <volker.armin.hemmann@××××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Emergency shutdown, how to?
Date: Wed, 02 Apr 2008 19:59:42
Message-Id: 200804022159.33462.volker.armin.hemmann@tu-clausthal.de
In Reply to: Re: [gentoo-user] Emergency shutdown, how to? by Dale
1 On Mittwoch, 2. April 2008, Dale wrote:
2 > Volker Armin Hemmann wrote:
3 > > On Mittwoch, 2. April 2008, Steven Lembark wrote:
4 > >> Liviu Andronic wrote:
5 > >> > On Fri, Mar 28, 2008 at 10:07 AM, Dale <dalek1967@×××××××××.net>
6 wrote:
7 > >> >>> By the way the safest and recommended command, although a bit
8 > >> >>> longish should be ALT+SysRq(or print)+S(ync)+U(mount)+B(Reboot).
9 > >> >>
10 > >> >> Since I wanted to shutdown instead of reboot, it would be ALT +
11 > >> >> SysRq + S + U + O then correct?
12 > >> >
13 > >> > Are there any potential harms to the hardware / system in case one
14 > >> > tends to abuse (i.e. use more often than necessary) of this command?
15 > >> > It's so often so tempting to shut down your system fast.
16 > >>
17 > >> Short of a serious emergency (e.g., UPS with
18 > >> 30-sec lag and no input power) stick with
19 > >> 'shutdown -fh now'. The main problem is that
20 > >> you bypass the stop phase of all the app's
21 > >> started up via init.d; very little short of
22 > >> just hitting the reset switch or yanking the
23 > >> power.
24 > >
25 > > if you do it the right way, start with 'e' and 'i', all apps are cleanly
26 > > terminated/killed. So if an app does not quit cleanly, it is broken.
27 > >
28 > > The correct sequence is: e,i,u,b/o and it is absolutly save.
29 >
30 > Folks, keep in mind why I asked this question in the first place. My
31 > power supply was frying and I needed a VERY fast shutdown. This was not
32 > asked as a fast way to shutdown just because we are impatient or
33 > something. This was for the event of a serious emergency where I needed
34 > a shutdown in just a very few seconds not a minute or two. Some of my
35 > services take a while to stop, foldingathome being the longest one.
36 >
37 > Basically, this is not intended to be used to shutdown a puter on a
38 > regular basis, unless you burn out P/S's on a daily basis. O-o
39 >
40 > Just didn't want someone to be using this on a regular basis and then
41 > wondering why their system has a new nickname, FUBAR. :'(
42 >
43 > Dale
44 >
45 > :-) :-)
46
47 even in an emergency, e,i,u,b/o is the right thing to do. Just don't wait
48 after the e and follow it directly by the i.
49 --
50 gentoo-user@l.g.o mailing list