I have a QLogic Fibre Channel card installed in a Debian box (Lenny), and after some tiffs with the firmware, I managed to get the operating system to recognize the card (DKMS driver, and the "firmware-qlogic" package for firmware).
However, for some reason, no block devices are being created for the two SAN volumes being exposed to the unit. They show up when I 'cat /proc/scsi/scsi' but there's no /dev/sdX block device that I can see and further, I have to run the rescan-scsi-bus.sh shell script every time I need to get the /dev/sgX devices back.
How can I get the system to recognize those fibre-channel volumes persistently?
EDIT: Found out that the dual devices being seen are part of the Multipath I/O system we use with our SAN array. Does multipath i/o need to be set up prior to the volumes being recognized as block devices?
Make sure that the devices you see are actually the exposed LUNs and not just the storage subsystem controllers.
Try reading from the sgX device directly. If you're reading from a real disk, you'll see:
But a read from an access LUN ought to fail:
Can we see the output of
lsscsi -g
?If we only see the controllers, I expect something like:
But if the disks are there as well, you should see something like:
You don't need multipath setup before you can see the block devices, but you should set it up before you use them.
Once multipath is setup, you should see something like: