Forcing use of sd driver on optical drive

From: Mark Day (Mark.Day@mrsc.ucsf.edu)
Date: Tue Jan 14 2003 - 17:03:32 EST


I have a project where I need to rapidly read in a bunch of magneto-optical
discs formatted with FAT32 file systems on a Solaris system. We have
several optical libraries under the management of AMASS software.
I'd like to disable specific slots/drives inside of these libraries,
so I can leverage the jukebox robotics to process these platters on a
24x7 basis.

My problem: When we last had to do this on a smaller scale we were able
to use mtools to copy the contents of the media onto hard drives
for processing. Since then we've upgraded our version of AMASS, and
mtools no longer seems to work. When I try to run a "mdir" command, I
get SCSI I/O errors, and truss shows that an ioctl() call is
returning EFAULT when
mtools is trying to read the initial block of data.

When this worked previously, our mtools.conf file specified "file=/dev/jb3d1",
which, based on the name that the symbolic link points to, looks like
it goes through the jukebox device driver. I've tried mtools on
standalone drives on Solaris 8 systems, and it works just fine for
the same media. So I suspect that something changed in the jukebox
driver, and if I could only convince mtools
to use the generic sd device drivers for a drive inside of the jukebox,
I'd be fine.

I know how to reserve slots and inactivate the drive so that AMASS won't
try and use it, but I don't know how to configure our system so that
mtools can use the sd driver when accessing this drive. I've tried
drvconfg/drives/makelinks, but only one of the drives in the jukebox
ends up with links. Trying to use this link with mtools results in a "No such
device or address" error.

I have to admit complete ignorance on how the system decides which
devices it should make links for, and which driver it should use. Can
anyone provide insight on how I can provide an entry point to the
sd driver for this drive for use with mtools?

Thanks,

-- 
Mark Day				(415) 476-1068
Dept. of Radiology, UCSF		mark.day@mrsc.ucsf.edu
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:36 EDT