Operating System - HP-UX
1748265 Members
3965 Online
108760 Solutions
New Discussion

Re: Map tape library drives with O.S

 
SOLVED
Go to solution
chindi
Respected Contributor

Map tape library drives with O.S

Hi ,

 

Can anyone tell me hiw to map MSL8096 drive 0 1 & 2 with our O.S ?

If backup is going on in drive 1 , how can we crosscheck from O.S end ( 11iv2 or 11iv3 ) ?

 

ioscan -fnc tape shows a lot of info ; how do we use that information to verify the same ?

 

 

 

5 REPLIES 5
Torsten.
Acclaimed Contributor

Re: Map tape library drives with O.S

What exatcly do you want to check?

If your drive 1 in OS is really drive 1 of the library?

 

 

 

Connect to the library web interface and get the serial numbers of the drives.

 

The from OS 11.31 do

 

# scsimgr -p get_attr all_lun -a hw_path -a device_file -a wwid -a serial_number | grep tape
64000/0xfa00/0x20:/dev/rtape/tape6_BEST:0x500110a001012345:"HU10123456"

 

Compare the serial numbers!


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!   
chindi
Respected Contributor

Re: Map tape library drives with O.S

Hi Torsten ,

 

Thanks.

What about 11iv2 how do we check the same ?

Torsten.
Acclaimed Contributor
Solution

Re: Map tape library drives with O.S

You can also compare the WWN of the drive. This will always remain the same, even if you replace a bad drive.

 

Try this:

 

# fcmsutil /dev/fcd1 get remote all

                    Target N_Port_id is = 0x160000
                           Target state = DSM_UNOPENED
                          Symbolic Name = HP Ultrium 4 Fibre Channel S/N-HU18512345 Port-0
                              Port Type = N_PORT
                          FCP-2 Support = YES
            Target Port World Wide Name = 0x500110a000912345
            Target Node World Wide Name = 0x500110a000912346




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!   
chindi
Respected Contributor

Re: Map tape library drives with O.S

Hi Torsten ,

 

If we get the following o/p wehn running ioscan -fnC tape ;

 

root #/ >ioscan -fnkC tape
Class I H/W Path Driver S/W State H/W Type Description
===========================================================================

tape 7 0/7/1/0/4/0.97.3.255.0.0.1 stape CLAIMED DEVICE HP Ultrium 3-SCSI
/dev/rmt/7m /dev/rmt/c37t0d1BEST
/dev/rmt/7mb /dev/rmt/c37t0d1BESTb
/dev/rmt/7mn /dev/rmt/c37t0d1BESTn
/dev/rmt/7mnb /dev/rmt/c37t0d1BESTnb
tape 6 0/7/1/0/4/0.97.3.255.0.0.2 stape CLAIMED DEVICE HP Ultrium 3-SCSI
/dev/rmt/6m /dev/rmt/c37t0d2BEST
/dev/rmt/6mb /dev/rmt/c37t0d2BESTb
/dev/rmt/6mn /dev/rmt/c37t0d2BESTn
/dev/rmt/6mnb /dev/rmt/c37t0d2BESTnb

 

So how can we map drive 1 and drive 2 ?

Torsten.
Acclaimed Contributor

Re: Map tape library drives with O.S

I'm sure the drive at 0/7/1/0/4/0.97.3.255.0.0.1 is 1, at 0/7/1/0/4/0.97.3.255.0.0.2 is 2, because this is the default.

 

But you can verify with "fcsmutil".


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!