Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Feb 2010 07:37:00 +0100 (MET)
From:      j@uriah.heep.sax.de (Joerg Wunsch)
To:        freebsd-scsi@freebsd.org
Subject:   Re: device.hints isn't setting what I want
Message-ID:  <20100217063700.6332D26@uriah.heep.sax.de>
In-Reply-To: <4B53C505.7050608@langille.org>
References:  <4B53C505.7050608@langille.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Dan Langille <dan@langille.org> wrote:

> I have an external tape library and an external tape drive.  They
> are not always powered up.

Btw., a word of a warning as I'm running a similar setup to yours:
when powered down, do run a "camcontrol rescan 1" so the device nodes
will disappear.  At least under FreeBSD 7.x (don't know whether that
has been fixed later), CAM gets totally upset if you try accessing
/dev/nsa0 when its underlying hardware disappeared.  This leaves CAM
in a state where the sa0 device is partially removed ("lost device"),
but since you just opened it, parts will remain in the kernel.  If you
reattach it to the bus, and run another "camcontrol rescan 1", you'll
no longer get your sa0 device back but something else, and sooner or
later, your kernel will crash.  If you ever run into that situation,
reboot volunteerily before it crashes...

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100217063700.6332D26>