Finding new fiber tape drives (like devfsadm?)

Jim Hall james_f_hall at yahoo.com
Tue Apr 1 10:03:42 CDT 2008


Reboot is probably the best method. But if you can't
take the system down you can try the following:

Find the host number for the hba

ls /sys/class/fc_host/

Start a Loop Initialization Procedure (LIP)

echo "1" > /sys/class/fc_host/host<number>/issue_lip

Wait 20-30 seconds for the LIP to complete.

rescan SCSI devices on the hba.

echo "- - -" > /sys/class/scsi_host/host<number>/scan

http://www.centos.org/docs/4/html/release-notes/as-x86/RELEASE-NOTES-U3-en.html#id3641770

--- Shane Presley <shane.presley at gmail.com> wrote:

> Thanks Jim, you are correct, it's a Qlogic HBA --
> sorry about that.
> 
> And the server and drives are connected to a fabric,
> and the switch
> has been zoned.
> 
> And the HBA is dedicated to the drives, there's no
> SAN disk on this server.
> 
> So a simple reboot of the server will find the tape
> drives?
> 
> Thanks,
> Shane
> 
> On Tue, Apr 1, 2008 at 9:03 AM, Jim Hall
> <james_f_hall at yahoo.com> wrote:
> > Are you sure it is an LSI HBA? Those are usually
> >  SCSI/SAS. Do you have an Emulex HBA or Qlogic HBA
> >  installed as well?
> >
> >  Also, are the drives directly attached to the
> fabric?
> >  If so, is a zone created on the switch that
> inlcudes
> >  the WWN of both the HBA in your 1950 and that of
> the
> >  drive?
> >
> >  Finally, you can rescan the adapters but a reboot
> >  would be far more likely to net good results.
> Also,
> >  you need to make sure that the port on the HBA
> you are
> >  using is dedicated to the drive, if it isn't it
> could
> >  cause your SAN to appear to go offline to the
> server
> >  as the drive is accessed off and on.
> >
> >  --Jim
> 



More information about the Linux-PowerEdge mailing list