StoreEver Tape Storage

Re: How to map tape drive to device file in linux

 
okwap
Occasional Contributor

How to map tape drive to device file in linux

Hi all,

I can get tape drive number/element address from the sg driver

{'access': 1,
'additional_sense_code': 0,
'additional_sense_code_qualifier': 0,
'alternate_volume_tag': bytearray(b'\x02\x00\x00\x1480000094 '),
'ed': 0,
'element_address': 483,
'except': 0,
'full': 0,
'invert': 0,
'medium_type': 0,
'primary_volume_tag': bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'),
'source_storage_element_address': 0,
'svalid': 0}]

but how to map it to linux device file, e.g., /dev/st4? Thanks

 

1 REPLY 1
AshrafK
HPE Pro

Re: How to map tape drive to device file in linux

Hello,

Please refer page 17 create device files for the tape drive on the Linux server.

Kindly make sure Linux OS versions is compatible and driver is installed for the LTO X generation tape drive.

https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-c04571310

Ashraf Khan
I work for HPE

Accept or Kudo