- Community Home
- >
- Storage
- >
- Data Protection and Retention
- >
- StoreEver Tape Storage
- >
- LTO cartridge barcode/volser
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
04-14-2017 02:20 AM
04-14-2017 02:20 AM
LTO cartridge barcode/volser
Some of my LTO cartridges were previously used in a library and have barcode labels.
This barcode is somehow read my my LTO-4 (HP 1840) drive even if the barcode label has been removed from the cartridge. This is reported by backup applications and by LTT.
1. How can I read this data from the cartridge in my own code?
2. Can I re-write (new value) the barcode data of a cartridge? If so, how can I achieve this?
I've googled for ages but always ended up with sites selling barcode labels.
Thanks. Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2017 07:51 AM
04-14-2017 07:51 AM
Re: LTO cartridge barcode/volser
The barcode value is stored in the LTO cartridge memory which contains a number of values called "Medium Auxiliary Memory Attributes" (MAM attributes) which are accessible using SCSI commands. In particular it is in MAM attribute 0806h.
The interface to read/write MAM attributes is defined in the SPC specification which is available from: http://webstore.ansi.org/RecordDetail.aspx?sku=INCITS+513-2015
The SPC specification is written and maintained by the INCITS/T10 organization http://www.t10.org
The excellent sg utilities for Linux http://sg.danny.cz/sg/sg3_utils.html contain a command for reading MAM attributes. I don't see a corresponding command for writing attributes but you can create one with sg_raw.
I work for HPE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2017 09:54 AM
04-14-2017 09:54 AM
Re: LTO cartridge barcode/volser
That looks like sg_read_attr - I'll do some digging. Thanks for the "starter for 10". BTW the "IBM LTO SCSI Reference" manual is mighty helpful.
Thanks, Dave