- Community Home
- >
- Storage
- >
- Data Protection and Retention
- >
- StoreEver Tape Storage
- >
- Re: Command like "ltfscp" for HP drives? (Optimal ...
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
10-25-2014 03:35 AM
10-25-2014 03:35 AM
Command like "ltfscp" for HP drives? (Optimal copy order from LTFS tapes)
Is there a HP compatible tool like IBM's "ltfscp" (which is apparently limited to IBM drives), that would copy file out of an LTFS formatted LTO tape in the same order as they apper on the media - i.e. without unnecessary seeking?
I'm on Linux and would guess that sorting a file list by inode number might do the trick...
find /mnt/ltfs/ATM133L6/ -xdev -type f -printf "%i %p\n" | sort -n | sed 's/^[^ ]* //'
...but I'd feel more comfortable using a dedicated command than applying this kind of ad-hoc shell gymnastics.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2014 12:31 AM
11-05-2014 12:31 AM
Re: Command like "ltfscp" for HP drives? (Optimal copy order from LTFS tapes)
Hi,
HP LTFS currently does not have ltfscopy. However the upcoming versions will have the ltfscopy tool.
HP SOA 2.0.0 is expected to be available by early next week.
The standalone drive version HP SOS next version will be available in Q2 2015 and will have ltfscopy.
Going by the inode numbers may not produce the expected results because it is not guaranteed to be in the order as it is on the tape media.
For files on the LTFS tape there is a unique identifier called “fileUID” and this is accessible as an attribute of the file. On Linux this can be accessed using the “attr” command.
Example,
[root@localhost ~]# attr -g ltfs.fileUID /mnt/soa/CGV952L5/example-file.txt
Attribute "ltfs.fileUID" had a 1 byte value for /mnt/soa/CGV952L5/example-file.txt:
6
[root@localhost ~]#
You would need to generate the list of files on the tape and then sort them based on the ‘fileUID’ to get the expected result.
Regards,
Roy