LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   8 Luns instead of 2 (https://www.linuxquestions.org/questions/linux-software-2/8-luns-instead-of-2-a-738437/)

pradhanparas 07-07-2009 05:39 PM

8 Luns instead of 2
 
Hi,

I have a qlogic fibre channel card installed in a CentOS 5.3 server.

Dmesg o/p:
--------------------------------------------------
QLogic Fibre Channel HBA Driver
QLogic Fibre Channel HBA Driver: 8.02.00.06.05.03-k
QLogic QLA2340 - 133MHz PCI-X to 2Gb FC, Single Channel
--------------------------------------------------------------------

It looks like the card is working properly. But the problem is , 2 Luns of 38 GBs are allocated. But in my CentOS box I can see 8 devices in /dev ie. sdc, sdd, sde, sdf, sdg, sdh, sdi, sdj.

fdisk -l reports:

--
Disk /dev/sdc doesn't contain a valid partition table

Disk /dev/sdd: 35.9 GB, 35939942400 bytes
64 heads, 32 sectors/track, 34275 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

Disk /dev/sdd doesn't contain a valid partition table

Disk /dev/sde: 35.9 GB, 35939942400 bytes
64 heads, 32 sectors/track, 34275 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

Disk /dev/sde doesn't contain a valid partition table
Disk /dev/sdc doesn't contain a valid partition table

Disk /dev/sdd: 35.9 GB, 35939942400 bytes
64 heads, 32 sectors/track, 34275 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

Disk /dev/sdd doesn't contain a valid partition table

Disk /dev/sde: 35.9 GB, 35939942400 bytes
64 heads, 32 sectors/track, 34275 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

Disk /dev/sde doesn't contain a valid partition table

Disk /dev/sdf: 35.9 GB, 35939942400 bytes
64 heads, 32 sectors/track, 34275 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

Disk /dev/sdf: 35.9 GB, 35939942400 bytes
64 heads, 32 sectors/track, 34275 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

.. and so on..


What might be the problem.

Thanks in Adv
Paras.

LiamFromLeeds 07-08-2009 09:58 AM

Have you got multiple fibre paths to the same disks? If so, you probably need a multi-path deamon.

pradhanparas 07-09-2009 09:13 AM

I compiled the qlogic drivers from the src file found at qlogic.com and it seems to be fine now (still testing).

BTW, how do I know if multi-path daemon is running or not.

Thanks for your answer
Paras.

archtoad6 08-04-2009 03:23 AM

I have no experience w/ fiber channel, so this may be completely wrong; also you seem to say that after compiling & installing the mfrs. drivers, the problem is solved; but, your fdisk -l output reminds me of my LVM set up -- do/did you by chance have LVM running?

What does you fdisk -l look like now? [Hint, put the o/p inside [code] [/code] tags.]

pradhanparas 08-05-2009 09:24 AM

fdisk -l takes my SAN connected LUNS as normal partitions.

here the o/p

root@cvtst1 ~]# fdisk -l

Disk /dev/sda: 73.4 GB, 73407820800 bytes
255 heads, 63 sectors/track, 8924 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 65 522081 83 Linux
/dev/sda2 66 8924 71159917+ 8e Linux LVM

Disk /dev/sdc: 35.9 GB, 35939942400 bytes
64 heads, 32 sectors/track, 34275 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

Device Boot Start End Blocks Id System
/dev/sdc1 1 34275 35097584 8e Linux LVM

Disk /dev/sdd: 35.9 GB, 35939942400 bytes
64 heads, 32 sectors/track, 34275 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

Device Boot Start End Blocks Id System
/dev/sdd1 1 11 11248 83 Linux
[root@cvtst1 ~]#
----

Here sdc1 is my SAN connected storage.


Paras.

archtoad6 08-06-2009 06:16 AM

I'm ready to give up on this thread: I didn't ask for a post of more fdisk output, I asked that fdisk output be put in [CODE][/CODE] blocks. If you don't understand [CODE][/CODE] blocks, ask for help w/ them.

When I asked, "do/did you by chance have LVM running?", a simple yes would have sufficed, I didn't need to wade through more improperly formatted CLI output.

pradhanparas 08-07-2009 09:22 AM

I did what i think I am supposed to write/reply.

So Bye bye archtoad6


All times are GMT -5. The time now is 07:58 AM.