LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Need help with HP Ultrium LTO5 (https://www.linuxquestions.org/questions/slackware-14/need-help-with-hp-ultrium-lto5-4175484453/)

dmslack 11-13-2013 10:54 AM

Need help with HP Ultrium LTO5
 
Hi all,
in my Slackware64-14 I got a new HP Ultrium LTO5 (3TB) tape drive.

I've downloaded and installed HP StoreOpen Automation Linear Tape File System (LTFS) - 1.2
(http://h71028.www7.hp.com/enterprise...le-system.html)

As shown in the README, I try to use lfts:
$ mkltfs -d /dev/st0

The output is:
LTFS15000I mkltfs starting, LTFS version 1.2.2, log level 2
LTFS20107I (0) drives and (7454) slots are present in the library.
LTFS20106E HP StoreOpen Automation supports a maximum of 4 drives and 48 slots per partition
LTFS12012E Cannot open device: backend open call failed
LTFS10004E Cannot open device '/dev/st0'

Anyone can help me?

Thanks

warpalpha 11-13-2013 05:23 PM

Hi dmslack,

Quote:

Originally Posted by dmslack (Post 5063753)
LTFS10004E Cannot open device '/dev/st0'

LTO5.... drool :)

I'm not sure if this will help, but a few ideas come to mind:

Have you tried using the mt-st tools on the drive, or perhaps attempted using dump to backup a partition to tape?

Have you checked out dmesg wrt the tape drive being detected properly?

Do the HP tools expect a certain kernel { version , module , etc } ...?

Have you tried install the HP LTT software to help query the drive?


Best of luck - I'd be interested to hear how it performs for you.

dmslack 11-14-2013 05:26 AM

Hi warpalpha,

Quote:

Originally Posted by warpalpha (Post 5063940)
Hi dmslack,

LTO5.... drool :)

I'm not sure if this will help, but a few ideas come to mind:

Have you tried using the mt-st tools on the drive, or perhaps attempted using dump to backup a partition to tape?

Have you checked out dmesg wrt the tape drive being detected properly?

Do the HP tools expect a certain kernel { version , module , etc } ...?

Have you tried install the HP LTT software to help query the drive?

I forget to write that Ultrium tape drive is recognized correctly:
# cat /proc/scsi/sg/device_strs
HP Ultrium 5-SCSI Z64D

Using tar, Ultrium LTO5 works like a charm and the limit are my SATA hdd.

But I'm using this drive as my previous Ultrium LTO3... instead I want to create a partition and use the beauty of LTO5.
And here comes the problem. Whatever command I use, I only got the messages I posted yesterday.

Any ideas?

warpalpha 11-14-2013 08:46 AM

Quote:

Originally Posted by dmslack (Post 5063753)
I've downloaded and installed HP StoreOpen Automation Linear Tape File System (LTFS) - 1.2
(http://h71028.www7.hp.com/enterprise...le-system.html)

Something in the output caught my eye..

Quote:

Originally Posted by dmslack (Post 5063753)
LTFS20107I (0) drives and (7454) slots are present in the library.
LTFS20106E HP StoreOpen Automation supports a maximum of 4 drives and 48 slots per partition

So, I just read the linked page again, and saw this at the bottom (my emphasis):

HP StoreOpen Automation is required to be installed on customer servers supporting Enterprise Linux or MacOS X with connection and support of HP tape libraries.

HP StoreOpen Standalone is required to be installed on a customer server supporting Windows or MacOS X with connection and support for HP LTO-5 or LTO-6 tape drives.

Unfortunately it would seem that you need the Standalone software which isn't made for Linux :(

dmslack 11-24-2013 12:07 PM

Quote:

Originally Posted by warpalpha (Post 5064302)
So, I just read the linked page again, and saw this at the bottom (my emphasis):

HP StoreOpen Automation is required to be installed on customer servers supporting Enterprise Linux or MacOS X with connection and support of HP tape libraries.

HP StoreOpen Standalone is required to be installed on a customer server supporting Windows or MacOS X with connection and support for HP LTO-5 or LTO-6 tape drives.
Unfortunately it would seem that you need the Standalone software which isn't made for Linux :(

Thanks warpalpha, you pointed me in the right direction... and many thanks to my friend Fabio, who solved some compilation errors in hp package.

So now I'm able to partition LTO tape, mount it and use it as a disk.

Now I'm fighting with rsync, that seems to have terrible performance... instead, cp works very well.
The important thing is that I'm able to list tape content and restore a single file very quickly (I mean seconds or minutes, not hours as when I use Ultrium as a normal tape device).

Dan_Acroid 01-21-2016 09:25 AM

Help
 
Hi, can you please answer what helped you to connect ltfs partition.I have the same problem
Thank you

dmslack 01-25-2016 04:54 AM

Quote:

Originally Posted by Dan_Acroid (Post 5484086)
Hi, can you please answer what helped you to connect ltfs partition.I have the same problem
Thank you

Dan_Acroid, what do you mean by "I have the same problem"?
You do not mention any error messages, so I don't know how to help you.

I can give you some information:
- I had to use Standalone and not Automation HP package;
- there were some errors while trying to compile HP package from source (but at this moment I remember nothing about these errors).

When finally package got compiled and installed, I was able to play with LTO5 tape:
1. Format tape: /usr/local/bin/mkltfs -f -d /dev/st0;
2. (optional) Check tape: /usr/local/bin/ltfsck -m /dev/st0
3. Mount tape: /usr/local/bin/ltfs your_mount_point -o devname=/dev/st0;
4. Umount tape: umount your_mount_point;
5. Delete tape content: /usr/local/bin/ltfs -o --device=/dev/st0;


All times are GMT -5. The time now is 09:37 PM.