Present LUN in Redhat

Hi,

I created a new vdisk and presented it to a BL460c class server. The LUN was successfully created and presented.

My problem however is that I am unable to see the newly added LUN on my OS? I have rebooted the box but no joy.

Just wondering if you have any ideas on how this can be presented to the OS? It uses qlogic HBA card.

R,
D.

You would need to rescan

echo "- - -" > /sys/class/scsi_host/host#/scan
 fdisk -l
 tail -f /var/log/message

Hi,

I have already tried this but no joy:

[root@XXDBS2 scsi]# echo "- - -" > /sys/class/scsi_host/host0/scan
[root@XXDBS2 scsi]# echo "- - -" > /sys/class/scsi_host/host1/scan 
[root@XXDBS2 scsi]# 
[root@XXDBS2 scsi]# fdisk -l
Disk /dev/cciss/c0d0: 299.9 GB, 299966445568 bytes
255 heads, 63 sectors/track, 36468 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 65 522081 83 Linux
/dev/cciss/c0d0p2 66 32700 262140637+ 8e Linux LVM
/dev/cciss/c0d0p3 32701 34005 10482412+ 83 Linux
[root@XXDBS2 scsi]# 
[root@XXDBS2 scsi]# tail -f /var/log/messages
Mar 13 16:45:38 XXDBS2 xinetd[3501]: START: nrpe pid=4850 from=192.168.235.10
Mar 13 16:45:38 XXDBS2 xinetd[3501]: EXIT: nrpe status=0 pid=4850 duration=0(sec)
Mar 13 16:46:52 XXDBS2 xinetd[3501]: START: nrpe pid=4864 from=192.168.235.10
Mar 13 16:46:52 XXDBS2 xinetd[3501]: EXIT: nrpe status=0 pid=4864 duration=0(sec)
Mar 13 16:46:55 XXDBS2 xinetd[3501]: START: nrpe pid=4867 from=192.168.235.10
Mar 13 16:46:55 XXDBS2 xinetd[3501]: EXIT: nrpe status=0 pid=4867 duration=0(sec)
Mar 13 16:47:23 XXDBS2 xinetd[3501]: START: nrpe pid=4880 from=192.168.235.10
Mar 13 16:47:23 XXDBS2 xinetd[3501]: EXIT: nrpe status=0 pid=4880 duration=0(sec)
Mar 13 16:47:59 XXDBS2 xinetd[3501]: START: nrpe pid=4884 from=192.168.235.10
Mar 13 16:47:59 XXDBS2 xinetd[3501]: EXIT: nrpe status=0 pid=4884 duration=0(sec)

R,
D.

I would venture to guess you have not presented the LUN. If you are zoned correctly and have presented the LUN to the host (How? FC? ISCSI via CNA?) it would appear on rescan or reboot.

What type of connection do you have?

Have you loaded the qlaxxxx drivers?

run the command:

lsmod | grep -i qla

Hi,

[root@XXDBS2 scsi]# lsmod | grep -i qla
qla2xxx 1084229 0 
scsi_transport_fc 37449 1 qla2xxx
scsi_mod 141717 7 scsi_dh,sg,usb_storage,qla2xxx,scsi_transport_fc,cciss,sd_mod

R,
D

Issue resolved.

Mark54g you are absolutely correct, the LUN had not been presented corrrectly to the OS. I blew it away and added the host again and it worked fine. Problem was a typo in the the WWN; "l0" instead of "10" - grrrr