StoreEver Tape Storage
1752282 Members
4788 Online
108786 Solutions
New Discussion

Re: Need help from RHEL command line while managing MSL6480 tape library

 
SOLVED
Go to solution
oElixon
Occasional Contributor

Need help from RHEL command line while managing MSL6480 tape library

Fist of all, I typed the following command to check if my tape library device was properly installed:

user@es:/dev$ cat /proc/scsi/scsi
Attached devices:
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: Micron_1300_MTFD Rev: U010
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: Micron_1300_MTFD Rev: U010
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi0 Channel: 02 Id: 00 Lun: 00
Vendor: AVAGO Model: MR9361-16i Rev: 4.74
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi11 Channel: 00 Id: 00 Lun: 00
Vendor: HPE Model: Ultrium 8-SCSI Rev: JAYF
Type: Sequential-Access ANSI SCSI revision: 06
Host: scsi12 Channel: 00 Id: 00 Lun: 00
Vendor: HPE Model: Ultrium 8-SCSI Rev: JAYF
Type: Sequential-Access ANSI SCSI revision: 06
Host: scsi12 Channel: 00 Id: 00 Lun: 01
Vendor: HP Model: MSL6480 Rev: 5.60
Type: Medium Changer ANSI SCSI revision: 05

 

then I used mt command to show my tape library's status

user@es:/dev$ sudo mt -f /dev/st0 status
SCSI 2 tape drive:
File number=-1, block number=-1, partition=0.
Tape block size 0 bytes. Density code 0x0 (default).
Soft error count since last status=0
General status bits on (50000):
DR_OPEN IM_REP_EN
user@es:/dev$ sudo mt -f /dev/st1 status
SCSI 2 tape drive:
File number=-1, block number=-1, partition=0.
Tape block size 0 bytes. Density code 0x0 (default).
Soft error count since last status=0
General status bits on (50000):
DR_OPEN IM_REP_EN

then I used the following command to check if I can manage my MSL6480

user@es:/dev$ sudo mt -f /dev/st0 load
/dev/st0: Input/output error

 

So my question is:

 Can the "mt" command in the Linux really fully manage my MSL6480? 

If not, would you kindly give me a hint about how to manage my MSL6480 in command line?

Or, any APIs I can use to write a script or a program to manage my MSL6480?

Thank you! 

1 REPLY 1
Mahesh202
HPE Pro
Solution

Re: Need help from RHEL command line while managing MSL6480 tape library

Hi oElixon

Thank you for coming on HPE Community Forums.

I would suggest you to use manual pages for MT command to manage the library and ensure a supported driver is being used.
MT command is supported in Linux/UX
Check the DAPR compatibility matrix section, use the link mentioned below.

https://support.hpe.com/hpesc/public/docDisplay?docLocale=en_US&docId=c05379809

Hope this helps.!!


Regards
Mahesh202

If you feel this was helpful please click the KUDOS! thumb below!

I work for HPE.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

Accept or Kudo