Difference: FibreAttach (3 vs. 4)

Revision 42009-04-29 - neilb

Line: 1 to 1
 

Attaching a linux box to a SAN

Line: 55 to 55
 
If you have just added a new volume to an array, you will probably need to get the HBA to rescan the bus to detect it. For QLogic cards, the following should work
  echo "scsi-qlascan" > /proc/scsi/qla2xxx/1

Changed:
<
<
rescan-scsi-bus.sh -c -l -w
>
>
echo "- - -" > /sys/class/scsi_host/host/scan or rescan-scsi-bus.sh -c -l -w
 
Changed:
<
<
Though you will have to use the path appropriate to your HBA and port in use. And obtains the rescan-scsi-bus.sh script from the web.
>
>
Though you will have to use the path appropriate to your HBA and port in use. And obtain the rescan-scsi-bus.sh script from the web.
  Under FC5, the SCSI stack now creates a soft link to each partition it finds on any attached disk (volume), whether it be local or on a SAN, in the /dev/disk/by-id directory. These soft links are based on the unique SCSI identifiers for the associated volumes. In effect, the SCSI stack is now automatically doing the work that the FC3 udev service did, with no configuration required; with the slight difference that the links are now per partition rather than being per disk (volume).
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback