StoreEver Tape Storage
1748003 Members
4826 Online
108757 Solutions
New Discussion юеВ

Re: DLT8000 which command to check tape status?

 
iambluegary
Advisor

DLT8000 which command to check tape status?

i wanna check the status of the 8000's tape,and i use a pc telnet to the box.which command should i use?
help ,help,help :-)
6 REPLIES 6
Michael Tully
Honored Contributor

Re: DLT8000 which command to check tape status?

Hi,

If your using telnet to a HPUX box you
can use the 'mt ' command to at least
manipulate the tape. You must be 'root'
do this. You also need to know the
device name for the tape drive.

To get the device
# /usr/sbin/ioscan -fnkC tape

To exercise the tape (assuming a tape is loaded)
# /usr/bin/mt -t /dev/rmt/1m rew

Or you could use the 'mstm' command to talk
direct to the drive.

HTH
-Michael
Anyone for a Mutiny ?
iambluegary
Advisor

Re: DLT8000 which command to check tape status?

i have tried it,but it doesnt work ,following is output:


tape 1 0/6/0/1.4.0 stape CLAIMED DEVICE QUANTUM DLT8000
/dev/rmt/1m /dev/rmt/1mn /dev/rmt/c14t4d0BEST /dev/rmt/c14t4d0BESTn
/dev/rmt/1mb /dev/rmt/1mnb /dev/rmt/c14t4d0BESTb /dev/rmt/c14t4d0BESTnb


mt -t /dev/rmt/1m rew
/dev/rmt/1m: No such device or address

what does it mean?
help ,help,help :-)
Michael Tully
Honored Contributor

Re: DLT8000 which command to check tape status?

Okay, the ioscan output shows that the system
kernel recognises that there is a tape drive
on the system.

Try running the ioscan again, this time doing
this:

# /usr/sbin/ioscan -fn
(and look for the same entry for the tape drive)

The output of the 'mt' command indicates that
there is either no tape in the drive or the
drive is off line. Re-insert the tape and try
again, and post the results.
Anyone for a Mutiny ?
iambluegary
Advisor

Re: DLT8000 which command to check tape status?

ok ,now i have finish ioscan -fn,and find the 8000 driver,and what should i do following?
output is following:
tape 8 0/1/2/0.6.0 stape CLAIMED DEVICE QUANTUM DLT8000

help ,help,help :-)
Vincent Farrugia
Honored Contributor

Re: DLT8000 which command to check tape status?

Hello,

It seems that the drive has been connected to a different SCSI bus now.

Do an insf -e to install the drivers.

Then do ioscan -fnkC tape to check whether they are installed or not.

Then try with the mt command again.

HTH,
Vince
Tape Drives RULE!!!
Deshpande Prashant
Honored Contributor

Re: DLT8000 which command to check tape status?

Hi
For your path find the device file
tape 8 0/1/2/0.6.0 stape CLAIMED DEVICE QUANTUM DLT8000

Use #ioscan -fnH 0/1
Then with the device file use
#mt -t /dev/rmt/XXm status ::-to check status of tape drive.

You can alos look foe device files in /dev/rmt/ directory.

Thanks.
Prashant Deshpande.
Take it as it comes.