Re: Map tape library drives with O.S (258 Views)
Reply
Valued Contributor
chindi
Posts: 367
Registered: ‎07-24-2008
Message 1 of 6 (265 Views)
Accepted Solution

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 ?

 

 

 

Acclaimed Contributor
Torsten.
Posts: 23,285
Registered: ‎10-02-2001
Message 2 of 6 (258 Views)

Re: Map tape library drives with O.S

[ Edited ]

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!   
Valued Contributor
chindi
Posts: 367
Registered: ‎07-24-2008
Message 3 of 6 (254 Views)

Re: Map tape library drives with O.S

Hi Torsten ,

 

Thanks.

What about 11iv2 how do we check the same ?

Acclaimed Contributor
Torsten.
Posts: 23,285
Registered: ‎10-02-2001
Message 4 of 6 (252 Views)

Re: Map tape library drives with O.S

[ Edited ]

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!   
Valued Contributor
chindi
Posts: 367
Registered: ‎07-24-2008
Message 5 of 6 (231 Views)

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 ?

Acclaimed Contributor
Torsten.
Posts: 23,285
Registered: ‎10-02-2001
Message 6 of 6 (229 Views)

Re: Map tape library drives with O.S

[ Edited ]

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!   
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.