Re: [Bacula-users] mtx on Solaris
2008-09-05 16:40:00
On Fri, Sep 05, 2008 at 03:11:05PM -0400, Jason Dixon wrote:
>
> I just noticed the following lines in /var/adm/messages. I'm going to
> look at the library and see if I can issue an inventory from there. If
> that doesn't work, I'll reboot the server and library.
>
> Sep 5 13:11:59 backup-va-1 scsi: [ID 107833 kern.warning] WARNING:
> /pci@1c,60000 0/scsi@2,1/st@1,0 (st8):
> Sep 5 13:11:59 backup-va-1 Error for Command: rezero/rewind
> Error Level: Fatal
> Sep 5 13:11:59 backup-va-1 scsi: [ID 107833 kern.notice]
> Requested Block: 0 Error Block: 0
> Sep 5 13:11:59 backup-va-1 scsi: [ID 107833 kern.notice] Vendor:
> SONY Serial Number:
> Sep 5 13:11:59 backup-va-1 scsi: [ID 107833 kern.notice] Sense
> Key: Not Re ady
> Sep 5 13:11:59 backup-va-1 scsi: [ID 107833 kern.notice] ASC:
> 0x3a (medium not present), ASCQ: 0x0, FRU: 0x0
Found the cause of the previous errors. The kernel had the Veritas sg
driver loaded. Removed that, setup the sgen driver and we're able to
get status and load. I'm having a problem with the unload though. Here
is the output from a status, my unload and eject attempts, and then a
"label barcodes" in bconsole.
-bash-3.00$ sudo /opt/csw/sbin/mtx -f /dev/scsi/changer/c1t0d0 status
Storage Changer /dev/scsi/changer/c1t0d0:1 Drives, 14 Slots ( 1
Import/Export )
Data Transfer Element 0:Full (Storage Element 2 Loaded):VolumeTag =
000058
Storage Element 1:Empty
Storage Element 2:Empty
Storage Element 3:Empty
Storage Element 4:Empty
Storage Element 5:Empty
Storage Element 6:Empty
Storage Element 7:Empty
Storage Element 8:Full :VolumeTag=000070
Storage Element 9:Full :VolumeTag=000071
Storage Element 10:Empty
Storage Element 11:Full :VolumeTag=000065
Storage Element 12:Empty
Storage Element 13:Empty
Storage Element 14 IMPORT/EXPORT:Empty
-bash-3.00$ sudo /opt/csw/sbin/mtx -f /dev/scsi/changer/c1t0d0 unload
Unloading Data Transfer Element into Storage Element 2...mtx: Request
Sense: Long Report=yes
mtx: Request Sense: Valid Residual=no
mtx: Request Sense: Error Code=70 (Current)
mtx: Request Sense: Sense Key=Illegal Request
mtx: Request Sense: FileMark=no
mtx: Request Sense: EOM=no
mtx: Request Sense: ILI=no
mtx: Request Sense: Additional Sense Code = 3B
mtx: Request Sense: Additional Sense Qualifier = 90
mtx: Request Sense: Field in Error = 00
mtx: Request Sense: BPV=no
mtx: Request Sense: Error in CDB=yes
mtx: Request Sense: SKSV=yes
mtx: Request Sense: Field Pointer = 00 04
MOVE MEDIUM from Element Address 63000 to 1 Failed
-bash-3.00$ sudo /opt/csw/sbin/mtx -f /dev/scsi/sequential/c1t1d0 eject
mtx:eject failed
*label barcodes
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
The defined Storage resources are:
1: Sony SDX-700C
2: FileStorage
Select Storage resource (1-2): 1
Connecting to Storage daemon Sony SDX-700C at backup-va-1:9103 ...
Connecting to Storage daemon Sony SDX-700C at backup-va-1:9103 ...
3306 Issuing autochanger "slots" command.
Device "Sony SDX-700C" has 0 slots.
No slots in changer to scan.
Thanks,
--
Jason Dixon
OmniTI Computer Consulting, Inc.
jdixon AT omniti DOT com
443.325.1357 x.241
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|