Date: Thu, 14 Nov 2002 14:36:42 +0100 From: Joerg Wunsch <j@ida.interface-business.de> To: scsi@freebsd.org Subject: How to recover an invalidated device? Message-ID: <20021114143642.I8753@ida.interface-business.de>
next in thread | raw e-mail | index | archive | help
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: <SEAGATE ST336706LC 010A> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021114143642.I8753>