How Do I Scan Fn to Lun in Linux?
Contents

How do I scan a new FN Lun in Linux?

Scan new FC LUNS and SCSI disks in Linux

  1. Identify the existing disks fdisk -l 2>/dev/null | egrep ‘^Disk’ | egrep -v ‘dm-|type|identifier’
  2. Identify the number of HBA adapters systool -c fc_host -v or ls /sys/class/fc_host host0. …
  3. Use the below command to scan the LUNs echo “1” > /sys/class/fc_host/host0/issue_lip echo “- – -” > /sys/class/scsi_host/host0/scan.

How do I rescan the LUNs in Linux?

Online rescanning of LUNs on Linux hosts

  1. Update the HBA driver by installing or updating the files sg3_utils-*. …
  2. Ensure that DMMP is enabled.
  3. Ensure that the LUNS that need to be expanded are not mounted and are not used by applications.
  4. Run sh rescan-scsi-bus.sh -r .
  5. Run multipath -F .
  6. Run multipath .
Alexander Ross

Alexander Ross

Gaming, Esports & Interactive Media Writer

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.

Share this article
Twitter Facebook Pinterest