- Community Home
- >
- Storage
- >
- Data Protection and Retention
- >
- StoreEver Tape Storage
- >
- Re: Need help from RHEL command line while managin...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2020 02:51 AM - edited 06-24-2020 04:38 AM
06-24-2020 02:51 AM - edited 06-24-2020 04:38 AM
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!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2020 10:00 PM
06-28-2020 10:00 PM
SolutionHi 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
I work for HPE.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]