Operating System - HP-UX
1833051 Members
2321 Online
110049 Solutions
New Discussion

How to find tapes are loaded and its size

 
dharan
New Member

How to find tapes are loaded and its size

Hi Experts,

I am a working as a remote backup administrator ,We are using fbackup/frestore and Ignite-UX , and also Omni backup. Generally the tapes will be loaded into the tape drives , I would like to confirm the bellow before performing it.
1. How to check whether the tape is loaded or not.
2. How to find how many tapes are in tape drive and size of each tape.

Can you please provide me the needful, Also please provide if any of you have the quick reference or any other kind of documentation which contain the backup functionalities.

Thanks in advance

3 REPLIES 3
Torsten.
Acclaimed Contributor

Re: How to find tapes are loaded and its size

Hi,

try

diskinfo -v /dev/rmt/0mn

it gives a result if a tape is loaded.

"2. How to find how many tapes are in tape drive and size of each tape"

You can only load 1 tape into the drive ;-)

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!   
Robert-Jan Goossens
Honored Contributor

Re: How to find tapes are loaded and its size

Hi Dharan,

# mt -f /dev/rmt/0mn status
Drive: HP C1537A
Format: DDS-3 format
Status: [41112500] BOT online compression immediate-report-mode
File: 0
Block: 0

Tape device is online and loaded with a DDS-3 tape.

Regards,
Robert-Jan
Rasheed Tamton
Honored Contributor

Re: How to find tapes are loaded and its size

Hi dharan,

For the shared tape library stuff, please see below:

st -f /dev/scsi/st_device -s
st (shared tape administration and -s status of shared library)
You need root for using st.
man st

mc -p -r DIMS
mc - media changer manipulation utility
man mc


And omni has a tool called uma (/opt/omni/lbin/uma)

/opt/omni/lbin/uma -ioctl
gives the prompt. Use the stat command to see the status.

Regards,
Rasheed Tamton