Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jul 2001 09:58:24 -0700 (PDT)
From:      Matthew Jacob <mjacob@feral.com>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        <current@FreeBSD.ORG>
Subject:   Re: fatal flaw in diskcheckd...
Message-ID:  <20010719095618.H50024-100000@wonky.feral.com>
In-Reply-To: <Pine.BSF.4.21.0107191853450.1140-100000@besplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help


> On Wed, 18 Jul 2001, Matthew Jacob wrote:
>
> > So, I took a SCSi disk away. Diskcheckd started complaining. However,
> > a camcontrol rescan couldn't make the disk go away until I killed off
> > diskcheckd, which then closed the disk, allowing the rescan to remove it.
> > Bad. Bad. Bad.
>
> This may also have caused your disklabel problems.  The old label doesn't
> go away until all minors on the device are closed, at least when you clobber
> the label using the dd hack.

Ummm..... maybe... I think on that system I had disabled disckcheckd, but it's
an excellent suggestion for me to check.


With respect to diskcheckd,  which in general is a neat tool to have around, I
think it might be better if it did:

	open
	seek
	read
	close

rather than leaving a disk open anyway. The difference between problems with
an open as opposed to problems with a read are worth noting anyway.

-matt



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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