1850231 Members
3982 Online
104053 Solutions
New Discussion

Re: tape

 
SOLVED
Go to solution
j773303
Super Advisor

tape

Is it possible any command to view how many tape exist in the tape array? Thanks.
Hero
5 REPLIES 5
Patrick Wallek
Honored Contributor

Re: tape

What backup software are you using? If you are using anything other than basic unix utilities then the backup software should tell you what you need. Most software has GUI and command line versions of their utilities.

You could try the 'mc' command as well. 'man mc' for more info.
Steven E. Protter
Exalted Contributor

Re: tape

You could always try and write to the tape.

I'm attaching tape eject script that contains one of the basic commands you may need.

That command family will what you need.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Tom Ward_1
Honored Contributor
Solution

Re: tape

Hello,

It is possible in later versions of HPUX. Use the mc command. It's not in 10.20, maybe in 11.0. I know for sure it's in 11.11.

You need to have a tape picker device configured. Document DFQKBCA00000222 has information on configuring one.
Make sure the schgr driver is in the kernel.
It's mentioned in the doc, but an easy thing to miss.

Once you've got the picker added, us mc something like this:
mc -p /dev/picker -r IDSM

This would give a listing of tapes for
mail slot -- I
tape drives -- D
tape slots -- S
picker -- M

See the mc command for more details.

Regards,
Tom
j773303
Super Advisor

Re: tape

How mc to view the slot status?
Hero
Tom Ward_1
Honored Contributor

Re: tape

For just the slots you'd use
mc -p /dev/picker -r S

If you've got barcodes and a reader in the library you'll get a list of them.
Something like this:

ST_slot_1 EMPTY
ST_slot_2 FULL 060107
ST_slot_3 FULL 000058
...
ST_slot_40 FULL cln047

Hope that helps,
Tom