[CentOS] SAN help

Fri Jan 8 08:02:17 UTC 2010
Per Qvindesland <per at norhex.com>

Hi

Not sure if you have done this already but install multipath as the os
sees multiple presented luns which needs to be tied up to one by
multipath also do not use the rh drivers for you qlogic it's not
recommended at all for any storage solutions.

Per

At Fredag, 08-01-2010 on 6:29 "Paras pradhan"  wrote:

Yes here is th o/p of fdisk -l. Two Luns are assigned. one of 323 G
and another of 359 G as seen blow. sda is my local disk.
So do you think incorrect zoning can lead to this?

Thanks
Paras.

-----------------------------------------------------
[root at prd1 ~]# fdisk -l

Disk /dev/sda: 146.1 GB, 146163105792 bytes
255 heads, 63 sectors/track, 17769 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End     
Blocks   Id  System
/dev/sda1   *           1          33     
265041   83  Linux
/dev/sda2              34        4210   
33551752+  82  Linux swap / Solaris
/dev/sda3            4211        6821   
20972857+  83  Linux
/dev/sda4            6822       17769   
87939810    5  Extended
/dev/sda5            6822       17769   
87939778+  83  Linux

Disk /dev/sdb: 323.4 GB, 323459481600 bytes
255 heads, 63 sectors/track, 39325 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End     
Blocks   Id  System
/dev/sdb1               1          
2       16033+  83  Linux
/dev/sdb2               3       39325  
315861997+  83  Linux

Disk /dev/sdc: 359.3 GB, 359399424000 bytes
255 heads, 63 sectors/track, 43694 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End     
Blocks   Id  System
/dev/sdc1               1       43694  
350972023+  83  Linux

Disk /dev/sdd: 323.4 GB, 323459481600 bytes
255 heads, 63 sectors/track, 39325 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End     
Blocks   Id  System
/dev/sdd1               1          
2       16033+  83  Linux
/dev/sdd2               3       39325  
315861997+  83  Linux

Disk /dev/sde: 323.4 GB, 323459481600 bytes
255 heads, 63 sectors/track, 39325 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End     
Blocks   Id  System
/dev/sde1               1          
2       16033+  83  Linux
/dev/sde2               3       39325  
315861997+  83  Linux

Disk /dev/sdf: 359.3 GB, 359399424000 bytes
255 heads, 63 sectors/track, 43694 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End     
Blocks   Id  System
/dev/sdf1               1       43694  
350972023+  83  Linux

Disk /dev/sdg: 323.4 GB, 323459481600 bytes
255 heads, 63 sectors/track, 39325 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End     
Blocks   Id  System
/dev/sdg1               1          
2       16033+  83  Linux
/dev/sdg2               3       39325  
315861997+  83  Linux

Disk /dev/sdh: 323.4 GB, 323459481600 bytes
255 heads, 63 sectors/track, 39325 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End     
Blocks   Id  System
/dev/sdh1               1          
2       16033+  83  Linux
/dev/sdh2               3       39325  
315861997+  83  Linux

Disk /dev/sdi: 359.3 GB, 359399424000 bytes
255 heads, 63 sectors/track, 43694 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End     
Blocks   Id  System
/dev/sdi1               1       43694  
350972023+  83  Linux

Disk /dev/sdj: 323.4 GB, 323459481600 bytes
255 heads, 63 sectors/track, 39325 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End     
Blocks   Id  System
/dev/sdj1               1          
2       16033+  83  Linux
/dev/sdj2               3       39325  
315861997+  83  Linux

Disk /dev/sdk: 323.4 GB, 323459481600 bytes
255 heads, 63 sectors/track, 39325 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End     
Blocks   Id  System
/dev/sdk1               1          
2       16033+  83  Linux
/dev/sdk2               3       39325  
315861997+  83  Linux

Disk /dev/sdl: 359.3 GB, 359399424000 bytes
255 heads, 63 sectors/track, 43694 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End     
Blocks   Id  System
/dev/sdl1               1       43694  
350972023+  83  Linux

Disk /dev/sdm: 323.4 GB, 323459481600 bytes
255 heads, 63 sectors/track, 39325 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End     
Blocks   Id  System
/dev/sdm1               1          
2       16033+  83  Linux
/dev/sdm2               3       39325  
315861997+  83  Linux

On Thu, Jan 7, 2010 at 11:26 PM, Eero Volotinen  wrote:

 On 1/8/10 7:21 AM, Paras pradhan wrote:
>
>
> On Thu, Jan 7, 2010 at 11:08 PM, Eero Volotinen  > wrote:
>
>     On 1/8/10 6:38 AM, Paras pradhan wrote:
>      > My CentOS 5.4 box has a single HBA card with 2 ports
connected to my
>      > Storage. 2 Luns are assigned to my HBA card. Under /dev
instead of
>      > seeing 4 devices I can see 12 devices from sdb to sdm. I
am using
>     qlogic
>      > driver that is bulitin to the OS. Has any one seen this
kind of
>     situation?
>
>     Sounds like zoning problem ..
>
>
> Storage is HDS and the LUN type created was of type netware. I don't
> know why this type but my storage administrator said its correct.
This
> might be an issue?
>
> Or if you can ellaborate how this is zoning problem it wud be great
help.

Are you sure that you can see correct luns? check the size ?

--
Eero
_______________________________________________
CentOS mailing list
CentOS at centos.org
http://lists.centos.org/mailman/listinfo/centos


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20100108/0241a90b/attachment-0005.html>