add a new FC/HBA LUN to Redhat 4
guys,
I just got passed on to support a new Redhat 4 server. It has two Qlogic HBA cards attached to a FC switch and a fabric that has a LUN presented to the Linux Server. According to the department, which has no Linux admins, the driver for Qlogic is already installed. Here are my questions: How do I discover the LUN? How do I mount the LUN? How do I add the LUN to fstab? Is there a command to discover the LUN, to add the LUN, etc.. HELP. |
Well first, make sure you actually have support for the QLogic card. It might be running as a module, usually starting with qlaXXXX, depending on the model you have installed.
Code:
# lsmod | grep qla Code:
# lspci Code:
cat /proc/scsi/qlaXXXX/<number> "echo "scsi add-single-device Controller Channel Target LUN" > /proc/scsi/scsi" |
thanks.
I just downloaded the qlogic drivers and it seems to rebuild initrd and backup the file and modules.conf was also done for me..so, I guess it usually depends on the hardware being used. But, thanks for the reponse, I also found a .sh file does the scanning for new LUNs...great stuff.
|
Quote:
|
All times are GMT -5. The time now is 12:07 PM. |