From owner-freebsd-scsi Thu Nov 14 5:36:52 2002 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 D362A37B401 for ; Thu, 14 Nov 2002 05:36:50 -0800 (PST) Received: from ida.interface-business.de (ida.interface-business.de [193.101.57.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9AE1643E8A for ; Thu, 14 Nov 2002 05:36:49 -0800 (PST) (envelope-from j@ida.interface-business.de) Received: from ida.interface-business.de (localhost [127.0.0.1]) by ida.interface-business.de (8.12.5/8.12.5/ifb) with ESMTP id gAEDaic6010617 for ; Thu, 14 Nov 2002 14:36:44 +0100 (MET) (envelope-from j@ida.interface-business.de) Received: (from j@localhost) by ida.interface-business.de (8.12.5/8.12.5/Submit) id gAEDahKp010616 for scsi@freebsd.org; Thu, 14 Nov 2002 14:36:43 +0100 (MET) (envelope-from j) Date: Thu, 14 Nov 2002 14:36:42 +0100 From: Joerg Wunsch To: scsi@freebsd.org Subject: How to recover an invalidated device? Message-ID: <20021114143642.I8753@ida.interface-business.de> Reply-To: Joerg Wunsch Mail-Followup-To: scsi@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Phone: +49-351-31809-14 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Organization: interface systems GmbH, Dresden Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org After pulling a disk in a mirrored configuration, i get the following (expected) errors: Nov 14 14:15:32 xcd6 /kernel: (da1:ahc0:0:6:0): Invalidating pack Vinum disconfigures the affected plexes. So far, so good. However, after replugging the drive, how do i get it alive again? All camcontrol commands work pretty well: xcd6# camcontrol inquiry da1 pass1: Fixed Direct Access SCSI-3 device pass1: Serial Number 3FD1EYLX00002307C07Y pass1: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled xcd6# camcontrol neg da1 Current Parameters: (pass1:ahc0:0:6:0): sync parameter: 9 (pass1:ahc0:0:6:0): frequency: 80.000MHz (pass1:ahc0:0:6:0): offset: 63 (pass1:ahc0:0:6:0): bus width: 16 bits (pass1:ahc0:0:6:0): disconnection is enabled (pass1:ahc0:0:6:0): tagged queueing is enabled Yet, an attempt to access the device fails: xcd6# hd /dev/da1h hd: /dev/da1h: Device not configured Right now, the only way i know to get out of this dilemma is to unplug the drive again, "camcontrol rescan" so it will be removed completely, replug it, "camcontrol rescan" so it's known again. I think this is not quite optimal... Isn't there another way to get the da driver back to live? IMHO there should be one. -- J"org Wunsch Unix support engineer joerg_wunsch@interface-systems.de http://www.interface-systems.de/~j/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message