Operating System - Linux
1824937 Members
3751 Online
109678 Solutions
New Discussion

lsscsi shows only two devices instead of four

 
sacthivel.C
Frequent Advisor

lsscsi shows only two devices instead of four

Hi all,
we have one suse 9 server with sp4.
In that there are two dual port emulex fc card.
From the storage end one Lun of 1 GB is assigned to this server.
When we try to list the lun we are getting only two lun's instead of 4 on the server end.
Please find the lsscsi output below.

linux:~ # lsscsi
[0:0:0:0] storage COMPAQ HSV110 (C)COMPAQ 3110 -
[0:0:0:1] disk COMPAQ HSV110 (C)COMPAQ 3110 /dev/sda
[0:0:1:0] storage COMPAQ HSV110 (C)COMPAQ 3110 -
[0:0:1:1] disk COMPAQ HSV110 (C)COMPAQ 3110 -
[1:0:0:0] storage COMPAQ HSV110 (C)COMPAQ 3110 -
[1:0:0:1] disk COMPAQ HSV110 (C)COMPAQ 3110 /dev/sdb
[1:0:1:0] storage COMPAQ HSV110 (C)COMPAQ 3110 -
[1:0:1:1] disk COMPAQ HSV110 (C)COMPAQ 3110 -
[2:0:0:0] cd/dvd HP Virtual DVD-ROM /dev/sr0

If i restart the server sometimes the device files get swapped to the alternate path.

Could somebody help me in this issue?


Regards,

C.Sacthivel
1 REPLY 1
Jayakrishnan G Naik
Trusted Contributor

Re: lsscsi shows only two devices instead of four

Hi
>>If i restart the server sometimes the device files get swapped to the alternate path.

Multipath software will help you to overcome the device file issues like this and you may use dm-multipath as a fix.

Check whether your system have it or else you may need to download and install appropriate version

Regards
Jayakrishnan G Naik