From owner-freebsd-scsi@FreeBSD.ORG Thu May 1 10:21:04 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 306E037B405 for ; Thu, 1 May 2003 10:21:04 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 5E9E143FCB for ; Thu, 1 May 2003 10:21:03 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 86010 invoked by uid 1000); 1 May 2003 17:21:04 -0000 Date: Thu, 1 May 2003 10:21:04 -0700 (PDT) From: Nate Lawson To: Joerg Wunsch In-Reply-To: <200305011359.h41DxPJJ023503@uriah.heep.sax.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 17:21:04 -0000 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). Comments? -Nate