Date: Thu, 04 Jan 2007 07:41:52 -0600 From: Eric Anderson <anderson@centtech.com> To: Arone Silimantia <aronesimi@yahoo.com> Cc: freebsd-fs@freebsd.org Subject: Re: breaking out of a background fsck ? Message-ID: <459D0420.3070505@centtech.com> In-Reply-To: <20070103161057.9549.qmail@web58613.mail.re3.yahoo.com> References: <20070103161057.9549.qmail@web58613.mail.re3.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 01/03/07 10:10, Arone Silimantia wrote: > 6.1-RELEASE system crashed. > > System was rebooted before I could get to it, and the background fsck > processes started off. So, while they were running, I logged in and > issued the 'reboot' command. > > This command has not completed, and I cannot ctrl-C it. The system > is still up and responsive - I can log into it. > > I have all the time in the world, and uptime is not a problem, so > what I want to do is reboot the system with the filesystems commented > out in /etc/fstab and just manually fsck them by hand. > > But now what do I do with this system ? Will it finally reboot when > the background fsck is done ? Or are they in a deadlock now (I > notice that fsck_ufs, in top, never seems to leave the state SNAPLK). > > > From past experience, I am fairly certain that any attempt to kill > the fsck processes will fail. The kill command will return with no > errors, but the processes will still be there.... > > Any ideas ? And in the future, what is the right way to break out of > an unintended background fsck ? Ok - first, you can disable background fsck by adding this line to /etc/rc.conf: background_fsck="NO" Now, on with the hang. If you can log into the box, can you send the output of this: ps -auxl Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology An undefined problem has an infinite number of solutions. ------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?459D0420.3070505>
