1752294 Members
4790 Online
108786 Solutions
New Discussion юеВ

Re: ioscan -fnC tape

 
SOLVED
Go to solution
Khalid Shakoor
Regular Advisor

ioscan -fnC tape

Two of my library connected with SAN and my Server see the library but one thing is Confusing me the out put of Ioscan -fnC tape.

# ioscan -funC tape
Class I H/W Path Driver S/W State H/W Type Description
=========================================================================
tape 2 0/4/2/0.1.26.255.0.0.0 stape CLAIMED DEVICE HP U
ltrium 4-SCSI
/dev/rmt/2m /dev/rmt/c17t0d0BEST
/dev/rmt/2mb /dev/rmt/c17t0d0BESTb
/dev/rmt/2mn /dev/rmt/c17t0d0BESTn
/dev/rmt/2mnb /dev/rmt/c17t0d0BESTnb
tape 0 0/4/2/0.1.27.255.0.0.0 stape CLAIMED DEVICE HP U
ltrium 4-SCSI
/dev/rmt/c18t0d0BEST /dev/rmt/c18t0d0BESTn
/dev/rmt/c18t0d0BESTb /dev/rmt/c18t0d0BESTnb
#
one first drive output its show me Driver /dev/rmt/2m but in other tape its show me like /c18t0d0BEST.
Can anybody tell me how can I make same.

Thanks a lot in Advance.
Khalid Shakoor
10 REPLIES 10
Torsten.
Acclaimed Contributor

Re: ioscan -fnC tape

Do you have patches installed for LTO-4?

Try to remove the device files for the tapes (rmsf) and install them again.

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!   
Ganesan R
Honored Contributor

Re: ioscan -fnC tape

Hi,

#rmsf -H

#insf -e
or
#insf -H
Best wishes,

Ganesh.
Khalid Shakoor
Regular Advisor

Re: ioscan -fnC tape

Dear Torsten.
Thanks for your Quick reply,
I did not apply patch for LTO4 and i remove the devices and create it again But no Luck.

Please help me to solve this issue.

Khalid
JaMeS_311
Advisor

Re: ioscan -fnC tape

hi Khalid,

i presume that before you had other tape drives configured on this server...since it it is trying to attach one of the new tape drives to tape0. could it be that when you removed the previous tape drive the device files were not removed properly.

i would try to remove the device files for tape0 as explained above:

# rmsf -H

and then check whether there are still any files under /dev/rmt corresponding to a previous 0m* tape drive. if yes, i would delete them and try to recreate the new device files with:

# insf -H

i hope this helps.
Asif Sharif
Honored Contributor

Re: ioscan -fnC tape

Assalam-O-Alaikum ,

Khalid,

After removing the HW path with
"rmsf -H " command and creating new device paths any thing happen? What OS release you are using? HP-UX Vx?

Regards,
Asif Sharif
Regards,
Asif Sharif
Avinash20
Honored Contributor
Solution

Re: ioscan -fnC tape

# mkdir /tmp/tape
# mv /dev/rmt/* /tmp/tape
# insf -e
# ioscan -fnC tape

Please let me know the output

Dont worry about the device files(mv command), since the backup exist in /tmp/tape
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Avinash20
Honored Contributor

Re: ioscan -fnC tape

Or an alternative would be create the device manually

You need to create the devices for the below device files
/dev/rmt/c18t0d0BEST
/dev/rmt/c18t0d0BESTn
/dev/rmt/c18t0d0BESTb
/dev/rmt/c18t0d0BESTnb

eg:
# ls -l /dev/rmt/c18t0d0BEST

Check the minor and the major number
eg:
# ls -l
crw-rw-rw- 2 bin bin 205 0x094080 Jan 12 1998 /dev/rmt/c18t0d0BEST

You can create the device file via

# mknod /dev/rmt/1m c 205 0x094080

So the following files should have the same minor number
/dev/rmt/c18t0d0BEST >> /dev/rmt/1m
/dev/rmt/c18t0d0BESTn >> /dev/rmt/1mn
/dev/rmt/c18t0d0BESTb >> /dev/rmt/1b
/dev/rmt/c18t0d0BESTnb >> /dev/rmt/1nb

Best of Luck
thanks

Please assign point..

"Light travels faster than sound. That's why some people appear bright until you hear them speak."
щ╗ЮчЗГ
Valued Contributor

Re: ioscan -fnC tape

Use '#insf -e -C tape' command to reinstall the device files .
Else try remove and reinstall them.

#rmsf -H

#ioscan -fnC tape

#insf -H
------------------------------
Hope this helps!

Pradeesh Kumar
Man's mind, once stretched by a new idea, never regains its original dimensions
щ╗ЮчЗГ
Valued Contributor

Re: ioscan -fnC tape

Use '#insf -e -C tape' command to reinstall the device files .
Else try remove and install them.

#rmsf -H

#ioscan -fnC tape

#insf -H
------------------------------
Hope this helps!

Pradeesh Kumar
Man's mind, once stretched by a new idea, never regains its original dimensions