From owner-freebsd-scsi@FreeBSD.ORG Thu May 1 11:07:09 2003 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D141D37B401; Thu, 1 May 2003 11:07:09 -0700 (PDT) Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B4E643F85; Thu, 1 May 2003 11:07:08 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: from panzer.kdm.org (localhost [127.0.0.1]) by panzer.kdm.org (8.12.9/8.12.5) with ESMTP id h41I77PM010723; Thu, 1 May 2003 12:07:07 -0600 (MDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.12.9/8.12.5/Submit) id h41I773t010722; Thu, 1 May 2003 12:07:07 -0600 (MDT) (envelope-from ken) Date: Thu, 1 May 2003 12:07:07 -0600 From: "Kenneth D. Merry" To: Nate Lawson Message-ID: <20030501120707.B10607@panzer.kdm.org> References: <200305011359.h41DxPJJ023503@uriah.heep.sax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from nate@root.org on Thu, May 01, 2003 at 10:21:04AM -0700 cc: Joerg Wunsch cc: gordon@freebsd.org cc: freebsd-scsi@freebsd.org Subject: Re: Invalidating/reattaching a volume (was: relocation info) X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2003 18:07:10 -0000 On Thu, May 01, 2003 at 10:21:04 -0700, Nate Lawson wrote: > On Thu, 1 May 2003, Joerg Wunsch wrote: > > "Kenneth D. Merry" wrote: > > > You can try 'camcontrol reassign'. joerg sent me patches last Fall > > > to implement it, and I've been planning on turning it into a scan > > > and reassign tool. > > > > Mea culpa, i always intented to commit them, but apparently completely > > forgot about the item. I'll make another stab on committing it (but > > first have to see whether all's still OK with it in -current). > > I'd also like to see your camcontrol detach patches and a path for vinum > to lose and then reattach a volume. Whether the latter should happen at > the CAM layer or the vinum layer is up for discussion. I personally > believe you should be able to tell vinum to close its reference to the > drive that went away and then re-open it when the drive reappears. This > could even be done automatically through GEOM. (See Gordon Tetlow's work > on adding volume labels to GEOM). Matthew Dodd did the detach patches. They aren't necessary, vinum should close the device when it gets back an ENXIO. Ken -- Kenneth Merry ken@kdm.org