File system corruption upon reboot with gmirror

Mike Bristow mike at urgle.com
Thu Sep 11 15:04:17 UTC 2008


On Thu, Sep 11, 2008 at 04:12:09PM +0200, Michel Talon wrote:
> Gunther Mayer wrote:
> 
> > > Don't use "reboot", use shutdown -r now. I also had the same problem
> > > once
> > > (had to get physical access to the box to fix it) and it was because
> > > of
> > > the "reboot".
> > >   
> > 
> > Thanks. I guess I'll use shutdown -r now then in future. If it still 
> > happens then I'll post again...
> 
> What's this stuff? shutdown -r is implemented using reboot.

Only when you give it -o.  Otherwise it sends a signal to init,
and init manages the shutdown.    The code you quote is only 
run if -o is given.

-- 
Shenanigans!  Shenanigans!    Best of 3!
	-- Flash 



More information about the freebsd-questions mailing list