cancel
Showing results for 
Search instead for 
Did you mean: 

LTO2 Block Size

SOLVED
Go to solution
Walter K. Maul Jr.
Occasional Advisor

LTO2 Block Size

Hello, is the a util/command for HPUX 11i ver 1 to read an LTO2 tape and display the block size?
12 REPLIES
AwadheshPandey
Honored Contributor
Solution

Re: LTO2 Block Size

have u used mt?
It's kind of fun to do the impossible
Luk Vandenbussche
Honored Contributor

Re: LTO2 Block Size

Have you checked the command mt

Read man mt
Walter K. Maul Jr.
Occasional Advisor

Re: LTO2 Block Size

I have rad the man page on mt, but it does not state anything about block size, just how to rewind, fast forward, eject, position, etc the tape.
Wei Jung
Trusted Contributor

Re: LTO2 Block Size

There is another option
diskinfo, try that one with the tape inside.
Walter K. Maul Jr.
Occasional Advisor

Re: LTO2 Block Size

Hello, the diskinfo does give more information and the size of the tape, but not the block size used to write the tape. Any other suggestions???
Wei Jung
Trusted Contributor

Re: LTO2 Block Size

Hum, ops :)
wrong one, it was tapeinfo

but it only works to read a media that was already written and retrieve the blocksize and all.

#tapeinfo -f /dev/sg*

something like it
Walter K. Maul Jr.
Occasional Advisor

Re: LTO2 Block Size

Well I do not have that utility. The only tapeinfo I have is in the STM and then it wants an HP rep to enter a code. I also have not man page for tapeinfo. Are you sure this is for HPUX????
Wei Jung
Trusted Contributor

Re: LTO2 Block Size

Hum, yes! I forgot, this is part of the mtx program, you can get it here

http://mtx.opensource-sw.net/

It works in HPUX as well.
Wei Jung
Trusted Contributor

Re: LTO2 Block Size

OK, now I'm the one that is confused :)
I used it in 11.11 with tapeinfo and it gives me:

Usage: tapeinfo hardware_path

although there is no man pages, it seems that it's available.
Walter K. Maul Jr.
Occasional Advisor

Re: LTO2 Block Size

Hello, here is what I get.....

# tapeinfo

Usage: tapeinfo hardware_path

# tapeinfo /dev/rmt/1mn

*-------------------------------------*
* This command may take up to several minutes to run. *
* No other tools or processes can be running on the *
* device while this tool is running. Exit out of any *
* STM tool which maybe currently running on this *
* device before continuing. *
*-------------------------------------*

Do you wish to continue? (y/n) y

There is not a license currently installed.
Do you wish to install a HP-Only support license? (y/n)

If I answer y I get a prompt for HP to enter a code, if I answer n I get Good-Bye.

Thanks for your assistance.....
Wei Jung
Trusted Contributor

Re: LTO2 Block Size

but you are not using the hardware path, but the device file

should be the 0.1/1.2.0 address or something like that,
Walter K. Maul Jr.
Occasional Advisor

Re: LTO2 Block Size

No solution found.