Subject: Re: bin/35067: reboot(8) could remove swap devices, preserving RAID parity
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Blair Sadewitz <blair.sadewitz@gmail.com>
List: netbsd-bugs
Date: 11/17/2006 21:45:02
The following reply was made to PR bin/35067; it has been noted by GNATS.

From: "Blair Sadewitz" <blair.sadewitz@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: bin/35067: reboot(8) could remove swap devices, preserving RAID parity
Date: Fri, 17 Nov 2006 16:37:50 -0500

 Yes, that was one of the possibilites that I thought of, but I hate
 telling people that they should do something that I can't do. ;)
 
 One thing that could still be done in the meantime, however, is
 include a note about the distinction between reboot(8) and shutdown(8)
 in, let's say, the guide, one of the manpages, etc.  Let's say an
 administrator wants to quickly reboot, or is having some problem where
 he doesn't want to go through the ordinary shutdown hooks.  He might
 just type 'reboot', thinking that this is clean enough--and not
 thinking that the parity on his 2TB RAID array would be disturbed.
 I'm sure you've all thought these scenarios before, I just think it
 should be more clearly noted.
 
 Thanks for your time,
 
 --Blair
 
 On 11/17/06, Martin Husemann <martin@duskware.de> wrote:
 > The following reply was made to PR bin/35067; it has been noted by GNATS.
 >
 > From: Martin Husemann <martin@duskware.de>
 > To: gnats-bugs@NetBSD.org
 > Cc:
 > Subject: Re: bin/35067: reboot(8) could remove swap devices, preserving RAID
 > parity
 > Date: Fri, 17 Nov 2006 21:16:20 +0100
 >
 >  This has been discussed before, and the consensus was, IIRC, that it has to
 >  be solved by pure kernel means - swap has to automagically unconfigured via
 >  shutdown hooks and close the underlying devices.
 >
 >  Martin
 >
 >
 
 
 -- 
 Support WFMU-FM: free-form radio for the masses!
 
 <http://www.wfmu.org/>
 91.1 FM Jersey City, NJ
 90.1 FM Mt. Hope, NY
 
 "The Reggae Schoolroom":
 <http://www.wfmu.org/playlists/RS/>