kimchi-project / gingers390x

Wok plug-in focused in s390x management
Other
6 stars 8 forks source link

Add FCP devices cannot display more than 1023 luns per SAN Adapter per Controller #50

Open pkulkark opened 8 years ago

pkulkark commented 8 years ago

Add FCP devices cannot display more than 1023 luns per SAN Adapter per Controller.

'sg_luns' is the command used to get the list of LUNs from the storage controller. There seems to be a bug in this command which is giving following error,

[root@system-1]# sg_luns /dev/sg1 > /tmp/luns too many luns for internal buffer, will show 1023 luns

The fix is to extend the buffer limit

pkulkark commented 8 years ago

I will be sending a patch for this