How Do I Scan a Fiber Channel in Linux?
Contents in Linux We Can Scan the Luns Using the Script “Rescan-Scsi-Bus. Sh” or Triggering Some Device Host Files with Some Values. Note the Number of Hosts...
Contents
In Linux we can scan the LUNs using the script “rescan-scsi-bus.sh” or triggering some device host files with some values. Note the number of hosts available in the server. If you have more number of hosts file under the directory /sys/class/fc_host, then use the command for each hosts file by replacing the “host0”.
How do I rescan HBA in Linux?
Online rescanning of LUNs on Linux hosts
- Update the HBA driver by installing or updating the files sg3_utils-*. …
- Ensure that DMMP is enabled.
- Ensure that the LUNS that need to be expanded are not mounted and are not used by applications.
- Run sh rescan-scsi-bus.sh -r .
- Run multipath -F .
- Run multipath .
Must Read
How do I scan a new drive in Linux?
Scanning SCSI DISKS in Redhat Linux
- Finding the existing disk from fdisk. [[email protected] ~]# fdisk -l |egrep ‘^Disk’ |egrep -v ‘dm-‘ Disk /dev/sda: 21.5 GB, 21474836480 bytes.
- Find out how many SCSI controller configured. …
- Scan the SCSI disks using below command. …
- Verify if the new disks are visible or not.
20 июн. 2013 г.