Re: Compiling a new RHEL-4 kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Dec 20, 2005, at 6:45 PM, Magnus Andersen wrote:

I have found that an inventory helps alot if tapes have been shifted
manually by staff before I run the status.

Try

mtx -f /dev/sg5 inventory

and then

mtx -f /dev/sg5 status

and I think it will work.

We only swap tapes on a weekly basis in our changer and I have a shell
script changing the tapes depending on the day.

HTH,

The fundamental problem is more basic than that - I'm getting SCSI sense errors...

[root@www4 ~]$ mtx -f /dev/sg5 inventory
[root@www4 ~]$ mtx -f /dev/sg5 status
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 = 20
mtx: Request Sense: Additional Sense Qualifier = 00
mtx: Request Sense: BPV=no
mtx: Request Sense: Error in CDB=no
mtx: Request Sense: SKSV=no
READ ELEMENT STATUS Command Failed

even with the newest code:

[root@www4 mtx-1.3.8]$ ./mtx -f /dev/sg5 inventory
mtx:inventory failed
[root@www4 mtx-1.3.8]$ ./mtx -f /dev/sg5 status
mtx: Request Sense: 70 00 05 00 00 00 00 10 00 00 00 00 20 00 00 00 94 10 00 00
READ ELEMENT STATUS Command Failed

I think it needs the other LUN (1) on /dev/sg5 to be registered before it'll work...

Thanks, though :-)

ATB,
	Simon

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux