Operating System - HP-UX
1848476 Members
7142 Online
104029 Solutions
New Discussion

Re: I found some tape drives !!

 
SOLVED
Go to solution
someone_4
Honored Contributor

I found some tape drives !!

 
7 REPLIES 7
paul courry
Honored Contributor
Solution

Re: I found some tape drives !!

Why don't you try

ioscan -fnC tape

disk won't show you a thing.

newops4:/#:ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
======================================================================
tape 0 10/12/5.0.0 stape CLAIMED DEVICE HP C1533A
/dev/rmt/0m /dev/rmt/c4t0d0BESTn
/dev/rmt/0mb /dev/rmt/c4t0d0BESTnb
/dev/rmt/0mn /dev/rmt/c4t0d0DDS
/dev/rmt/0mnb /dev/rmt/c4t0d0DDSb
/dev/rmt/c4t0d0BEST /dev/rmt/c4t0d0DDSn
/dev/rmt/c4t0d0BESTb /dev/rmt/c4t0d0DDSnb
Victor BERRIDGE
Honored Contributor

Re: I found some tape drives !!

Hi,
You should try:
> ioscan -funC tape
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tape 0 0/0/2/1.0.0 stape CLAIMED DEVICE HP C1537A
/dev/rmt/0m /dev/rmt/c3t0d0BESTn
/dev/rmt/0mb /dev/rmt/c3t0d0BESTnb
/dev/rmt/0mn /dev/rmt/c3t0d0DDS
/dev/rmt/0mnb /dev/rmt/c3t0d0DDSb
/dev/rmt/c3t0d0BEST /dev/rmt/c3t0d0DDSn
/dev/rmt/c3t0d0BESTb /dev/rmt/c3t0d0DDSnb


ALl the best

Victor
someone_4
Honored Contributor

Re: I found some tape drives !!

Ok ..
# ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tape 0 0/0/1/0.0.0 stape CLAIMED DEVICE HP C1537A
/dev/rmt/0m /dev/rmt/c0t0d0BESTn
/dev/rmt/0mb /dev/rmt/c0t0d0BESTnb
/dev/rmt/0mn /dev/rmt/c0t0d0DDS
/dev/rmt/0mnb /dev/rmt/c0t0d0DDSb
/dev/rmt/c0t0d0BEST /dev/rmt/c0t0d0DDSn
/dev/rmt/c0t0d0BESTb /dev/rmt/c0t0d0DDSnb

so it is set up and ready to go ..
A. Clay Stephenson
Acclaimed Contributor

Re: I found some tape drives !!

Hi Richard:

Now that you properly used ioscan it appears that your tape drive is ready - assuming you have a tape inserted in the drive. Note that you have both a long name e.g. c0t0doBEST and simply a 0m. Both of these are equivalent and typically you use the 'short' name. The suffixs:
0m - Rewind on close
0mn - Norewind on close; you can append several sessions to the tape
0mb - Rewind 'Berkeley' style
Omnb - No rewind, 'Berkeley' style

I suggest that you use the 0mnb if you are doing any sort of multiple sessions to the same tape.

If it ain't broke, I can fix that.
Darrell Allen
Honored Contributor

Re: I found some tape drives !!

Hi Richard,

Test 1 - put a tape in the drive and do mt -t /dev/rmt0m rewind

Test 2 - write something on the tape, say a tar file
tar cf /dev/rmt/0m somefile_or_dir

Test 3 - Try it with make_tape_recovery
/opt/ignite/bin/make_tape_recovery -a $/dev/rmt/0mn -I -v -x inc_entire=vg00

Good luck,
Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
Victor BERRIDGE
Honored Contributor

Re: I found some tape drives !!

Yes and you have a DDS3 (125m 4mm DAT)...

All the best

Victor
Darrell Allen
Honored Contributor

Re: I found some tape drives !!

Sorry Richard, I made a slight mistake in my post ($ in front of tape device path). It should be:
/opt/ignite/bin/make_tape_recovery -a /dev/rmt/0mn -I -v -x inc_entire=vg00

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)