From owner-freebsd-current Thu Jul 19 2:28:24 2001 Delivered-To: freebsd-current@freebsd.org Received: from verdi.nethelp.no (verdi.nethelp.no [158.36.41.162]) by hub.freebsd.org (Postfix) with SMTP id 3E4EE37B407 for ; Thu, 19 Jul 2001 02:28:21 -0700 (PDT) (envelope-from sthaug@nethelp.no) Received: (qmail 64363 invoked by uid 1001); 19 Jul 2001 09:28:15 +0000 (GMT) To: bde@zeta.org.au Cc: mjacob@feral.com, current@FreeBSD.ORG Subject: Re: fatal flaw in diskcheckd... From: sthaug@nethelp.no In-Reply-To: Your message of "Thu, 19 Jul 2001 19:01:03 +1000 (EST)" References: X-Mailer: Mew version 1.05+ on Emacs 19.34.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Thu, 19 Jul 2001 11:28:15 +0200 Message-ID: <64361.995534895@verdi.nethelp.no> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > 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. In some situations it would be very useful to be able to tell the kernel "forget all you ever knew about disklabel X". Any good mechanisms to do this today (other than reboot)? Steinar Haug, Nethelp consulting, sthaug@nethelp.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message