Method used to check newly mapped LUNs on the server not installed with the multipathing software

Method used to check newly mapped LUNs on the server not installed with the multipathing software:
1. Log in to the application server.
2. Run cd /sys/class/scsi_host/ to enter the /sys/class/scsi_host/ directory.
# cd /sys/class/scsi_host/
3. Run ls to check the HBA card port in the /sys/class/scsi_host/ directory (for example, host0, host1, and host2).
# ls
host0 host1 host2 host3 host4 host5 host6 host7 host8
4. Run echo "- - -" > /sys/class/scsi_host/host*/scan to scan for disk devices. host* is an HBA card port. The LUN mapped to the HBA card port host2 is used as an example.
# echo "- - -" > /sys/class/scsi_host/host2/scan
5. Run lsscsi to check LUN s newly mapped to the server.
# lsscsi
[0:0:0:0] cd/dvd hp DVD D DS8D3SH HHE7 /dev/sr0
[2:0:0:0] disk HUASY S5500T 2105 -
[2:0:0:1] disk HUASY S5500T 2105 -
[2:0:0:2] disk HUASY S5500T 2105 -
[2:0:0:3] disk HUASY S5500T 2105 -
[2:0:0:4] disk HUASY S5500T 2105 -
[2:0:0:5] disk HUASY S5500T 2105 -
[2:0:0:6] disk HUASY S5500T 2105 -
[2:0:0:7] disk HUASY S5500T 2105 -
[2:0:0:8] disk HUASY S5500T 2105 -
[2:0:1:0] disk HUASY S5500T 2105 -
[2:0:1:1] disk HUASY S5500T 2105 -
[2:0:1:2] disk HUASY S5500T 2105 -
[2:0:1:3] disk HUASY S5500T 2105 -
[2:0:1:4] disk HUASY S5500T 2105 -
[2:0:1:5] disk HUASY S5500T 2105 -
[2:0:1:6] disk HUASY S5500T 2105 -
[2:0:1:7] disk HUASY S5500T 2105 -
[2:0:1:8] disk HUASY S5500T 2105 -
[3:0:0:0] disk HUASY S5500T 2105 -
[3:0:0:1] disk HUASY S5500T 2105 -
[3:0:0:2] disk HUASY S5500T 2105 -
[3:0:0:3] disk HUASY S5500T 2105 -
[3:0:0:4] disk HUASY S5500T 2105 -
[3:0:0:5] disk HUASY S5500T 2105 -
[3:0:0:6] disk HUASY S5500T 2105 -
[3:0:0:7] disk HUASY S5500T 2105 -
[3:0:0:8] disk HUASY S5500T 2105 -
[4:0:0:0] disk up updisk 2105 /dev/sda
[4:0:0:1] disk up updisk 2105 /dev/sdb
[4:0:0:2] disk up updisk 2105 /dev/sdc
[4:0:0:3] disk up updisk 2105 /dev/sdd
[4:0:0:4] disk up updisk 2105 /dev/sde
[4:0:0:5] disk up updisk 2105 /dev/sdf
[4:0:0:6] disk up updisk 2105 /dev/sdg
[4:0:0:7] disk up updisk 2105 /dev/sdh
[4:0:0:8] disk up updisk 2105 /dev/sdi

Scroll to top