System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How to scan a new SCSI device

 
SOLVED
Go to solution
B. Jen
Contributor

How to scan a new SCSI device

We have added a new SCSI device(LTO2 tape drive) to the SCSI chain. How can we make the system to recognize the device?

Thank you.
5 REPLIES
Nido
Trusted Contributor

Re: How to scan a new SCSI device

Hi,

ioscan will recognize the newly added device.

Its good to have a copy of old ioscan if you've a long listing of devices.


run : insf -e
ioscan -fnC tape > /tmp/ioscan.out
diff
New device should list in the `diff` output.

Thanks,

" Let Villagers Be Happy!! "
Kenan Erdey
Honored Contributor

Re: How to scan a new SCSI device

Hi,

first look at kernel drivers from sam if there is something like stape. if not, add it.

then do:

# ioscan -fnC tape
# insf -e

Kenan.
Computers have lots of memory but no imagination
Kranti Mahmud
Honored Contributor
Solution

Re: How to scan a new SCSI device

Hi Jen,

ioscan is the universal UNIX command for scanning H/W. For checking a new SCSI device like LTO 2 tape drive, just execute the following commands:

# ioscan -fnC tape
# insf -e

Rgds-Kranti
Dont look BACK as U will miss something INFRONT!
Steven Schweda
Honored Contributor

Re: How to scan a new SCSI device

> ioscan is the universal UNIX command for
> scanning H/W. [...]

Apparently, we don't live in the same UNIX
universe.

ra# man ioscan
No manual entry for ioscan.
ra# type ioscan
-bash: type: ioscan: not found
ra# find / -name ioscan
ra# uname -a
SunOS ra 5.10 Generic_137137-09 sun4u sparc SUNW,UltraSPARC-IIi-cEngine

"man devfsadm" would be more useful in that
part of the UNIX universe.
avizen9
Esteemed Contributor

Re: How to scan a new SCSI device

Hello B.Jen,
once you connect this drive with server and boot up server,

on command prompt you should type this, if everying is ok then you should able to get full hardware path with this command.

ioscan -fnC tape
insf -e


here is output for ioscan -fnC floppy in one of my old server,

Class I H/W Path Driver S/W State H/W Type Description
========================================================================
floppy 1 2/0/10.0 pflop NO_HW DEVICE HP_PC_FDC_FLOPPY
floppy 0 2/0/10.1 pflop CLAIMED DEVICE HP_PC_FDC_FLOPPY
/dev/floppy/c0t1d0 /dev/rfloppy/c0t1d0