1752571 Members
4482 Online
108788 Solutions
New Discussion юеВ

LTT Command

 
Timothy P. Jackson
Valued Contributor

LTT Command

Hi everyone,

I am having tape drive problems on two seperate systems. One is with a DAT160 and the other is a DAT72.

System: rp5470
OS: HP-UX 11i Version 1

(both systems are the same)

On the system with the DAT72 the ioscan show the tape drive claimed but if I try to run a tar to it, it errors out and tells me that it is not a valid device.

On the system with the DAT160 I can tar data to the tape but when I try to run an fbackup to it the fbackup process errors and tells me that it is not a valid device.

So I downloaded LTT and installed it but I cannot seem to find documentation on how to run it.

Any help would be greatly appreciated!

Tim
5 REPLIES 5
Torsten.
Acclaimed Contributor

Re: LTT Command

>> On the system with the DAT72 the ioscan show the tape drive claimed but if I try to run a tar to it, it errors out and tells me that it is not a valid device.

Please post the "ioscan -fnCtape" and your tar command.


Regarding LTT - the windows version help has a nice help section about the CLI version too (AFAIR). However, whenever you press return instead of selecting a number, the application show you all available options from the current menu.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Ismail Azad
Esteemed Contributor

Re: LTT Command

Hi,

You might find something useful on this link. This manual should be for the latest release.

http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c02760687/c02760687.pdf

Regards
Ismail Azad
Read, read and read... Then read again until you read "between the lines".....
Timothy P. Jackson
Valued Contributor

Re: LTT Command

Here is a text document of the ioscan and the tar command that I am using.
Timothy P. Jackson
Valued Contributor

Re: LTT Command

Thanks for the document!

Unfortunately I am a real idiot! I have no idea how to run this utility. Can I run it directly from the shell?
Michael Steele_2
Honored Contributor

Re: LTT Command

LTT (* Library Tape Tools *) is self explanatory - Just lread the TUI menu. TUI means text driven menu so don't expect a GUI point and shoot menu like in Windows.

# ./ltt Launches the application

To install L&TT for HP-UX:

1. Log in as root.

2. Navigate to the temporary directory:
cd /tmp

3. Download or copy the L&TT tar file to the /tmp directory

cp //hp_ltt.tar /tmp

4. Preview the tar file and review the table of contents

tar -tvf hp_ltt.tar

5. When ready, Un-tar the L&TT tar file:
tar -xvf hp_ltt.tar

5. Run the install script in the /tmp directory:

./install_hpltt -or
/tmp/ltt/install_hpltt

6. After the software is successfully installed, enter the following commands to remove the /tmp/ltt directory and its contents:

cd /tmp
rm -rf ltt
rm -rf install_hpltt

####################3

Quite frankly thought this is a wild goose chase. All you need is

mt -f /dev/rmt/0mn rew
mt -f /dev/rmt/0mn stat

Where 0m is the name of the tape drive's device file that you obtain from ioscan:

ioscan -funC tape

#########################

man mt

stat = status
rew - rewind
fsf - forward
0m - auto rewind at end of taped
0mn - no rewind at end of tape recored

Which provides the current status of the tape drive and tape. Just paste in the error.
Support Fatherhood - Stop Family Law