>Which device, i.e. /dev/rmt/?, will access the tape device, target
>4, on esp 1 (ie. the second scsi bus) under Solaris 2.2 ? Or more
>exactly which command, or man page, will reveal the correct device?
>Both prtconf and sysdef don't explicitly reveal anything at
>target 4 of esp#1.
This is the beauty of Solaris 2 - device and driver configuration are
dynamic. Nothing will show up on prtconf unless there's actually a
device there. Solaris 2 does not have the "hard coded" SCSI id
reservation that 4.x had. The target numbers are set in the driver's
".conf" files (e.g. /kernel/drv/sd.conf for disks), and the system
will look at all the id's specified there for the devices. So for
disks, the sd.conf file specifies all target id's for any scsibus,
so you can add a disk at any unused target on any scsibus and the
system will see it. The same is true for tape drives. Prtconf
won't reveal anything until the device is first accessed (which
causes it to be dynamically configured into the system) - so you
have a catch-22 here!
You have a tape device at scsibus 1, target 4. What you should do is
get a long list (ls -l) of the content of /dev/rmt. Then look at the
entries in /devices they point to. These will be something like:
is the first scsibus. You'll find an entry with something like this:
for the tape on the second scsibus, pointed to by one of the links
in /dev rmt. Use this link to access the drive.
P S Consulting