LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-07-2009, 05:39 PM   #1
pradhanparas
LQ Newbie
 
Registered: Oct 2006
Posts: 14

Rep: Reputation: 0
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.
 
Old 07-08-2009, 09:58 AM   #2
LiamFromLeeds
Member
 
Registered: Dec 2006
Distribution: Arch
Posts: 44

Rep: Reputation: 15
Have you got multiple fibre paths to the same disks? If so, you probably need a multi-path deamon.
 
Old 07-09-2009, 09:13 AM   #3
pradhanparas
LQ Newbie
 
Registered: Oct 2006
Posts: 14

Original Poster
Rep: Reputation: 0
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.
 
Old 08-04-2009, 03:23 AM   #4
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
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.]
 
Old 08-05-2009, 09:24 AM   #5
pradhanparas
LQ Newbie
 
Registered: Oct 2006
Posts: 14

Original Poster
Rep: Reputation: 0
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.
 
Old 08-06-2009, 06:16 AM   #6
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
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.
 
Old 08-07-2009, 09:22 AM   #7
pradhanparas
LQ Newbie
 
Registered: Oct 2006
Posts: 14

Original Poster
Rep: Reputation: 0
I did what i think I am supposed to write/reply.

So Bye bye archtoad6

Last edited by pradhanparas; 08-07-2009 at 09:24 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
> 256 LUNs JFever Linux - Kernel 3 06-24-2008 05:13 AM
Multiple Luns on RHEL4 UltraSoul Linux - Hardware 0 05-11-2008 08:02 PM
Luns shads2k5 Linux - Server 3 02-07-2007 05:55 PM
Multiple LUNS on Mandrake 10 wihiker Linux - Hardware 0 02-10-2005 05:56 AM
Can't see multiple LUNS with RH7.2 stunji Linux - Hardware 2 10-20-2003 08:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration