Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Aug 2013 13:58:40 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-current@freebsd.org
Cc:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>, Boris Samorodov <bsam@passap.ru>
Subject:   Re: /etc/namedb->@ referrs to NIL after crash or typing "reboot" (not shutdown -r)
Message-ID:  <201308191358.40555.jhb@freebsd.org>
In-Reply-To: <A89885AB-7819-4F0A-A98E-7C35394CD0A0@kientzle.com>
References:  <20130817113636.21346cd2@thor.walstatt.dyndns.org> <20130817193517.2bf01dfe@thor.walstatt.dyndns.org> <A89885AB-7819-4F0A-A98E-7C35394CD0A0@kientzle.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday, August 17, 2013 1:42:07 pm Tim Kientzle wrote:
>=20
> On Aug 17, 2013, at 10:35 AM, O. Hartmann wrote:
>=20
> > On Sat, 17 Aug 2013 21:10:49 +0400
> > Boris Samorodov <bsam@passap.ru> wrote:
> >=20
> >> 17.08.2013 13:36, O. Hartmann =D0=BF=D0=B8=D1=88=D0=B5=D1=82:
> >>=20
> >>> I can reproduceable truncate the link in /etc/ to be NIL by typing
> >>> simply "reboot" when rebooting the box
> >>=20
> >> Does it make any difference if you use "shutdown -r" instead?
> >>=20
> >=20
> > Yes, when using "shutdown -r" the link isn't broken and the system
> > reboots and operates as expected. Only if I use the "quick and dirty
> > way" via "reboot" or after a crash when service named ahs already been
> > started the link is dead. If a crahs occurs BEFORE service named has
> > been started, the recovery is also operable - this is my observation.
>=20
> Does "reboot" show the same problem If the system has been running
> for a while (at least 15 minutes or so)?
>=20
> Your broken link sounds like the expected behavior when you
> do a dirty reboot shortly after the link has been created (before
> the link contents have been written all the way to disk).

"reboot" shouldn't be a dirty reboot in this sense though.  The disks shoul=
d=20
still be synced if you do a reboot.  Only a panic or power failure should g=
ive=20
you unsynced disks.

=2D-=20
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308191358.40555.jhb>