How to scan new FC LUNS and SCSI disks in Linux?

Moderator: cah

Post Reply
cah
General of the Army / Fleet Admiral / General of the Air Force
General of the Army / Fleet Admiral / General of the Air Force
Posts: 1342
Joined: Sun Aug 17, 2008 5:05 am

How to scan new FC LUNS and SCSI disks in Linux?

Post by cah »

First, try to find how many fiber channel adapters are on the server:

Code: Select all

# ls /sys/class/fc_host
host0  host1
Scan for new luns:

Code: Select all

# echo "1" > /sys/class/fc_host/host0/issue_lip
# echo "- - -" > /sys/class/scsi_host/host0/scan
# echo "1" > /sys/class/fc_host/host1/issue_lip
# echo "- - -" > /sys/class/scsi_host/host1/scan
CAH, The Great
Post Reply