device.hints isn't setting what I want

Joerg Wunsch j at uriah.heep.sax.de
Wed Feb 17 06:37:02 UTC 2010


Dan Langille <dan at 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. ;-)


More information about the freebsd-scsi mailing list