FAQ Search Today's Posts Mark Forums Read

» Linux Archive
Home
New Posts
Search
FAQ


Go Back   Linux Archive > Redhat > Device-mapper Development

 
 
LinkBack Thread Tools
 
Old 01-21-2008, 05:45 PM
"Michael Di Domenico"
 
Default multiple paths question

I'm a little confused over how multipathing works. I've got a host
with a 2port HBA and a 4port Storage unit. My multipath setup seems
to create 8 LUNS and then splitting them up into two groups. This is
a single disk. How do i get it to show me a single target instead of
dm-0 and dm-1?

[root@node1 ~]$ multipath -ll
mpath2 (HITACHI_DF500_B_) dm-0 HITACHI ,DF500
[size=1.0G][features=1 queue_if_no_path][hwhandler=0]
\_ round-robin 0 [prio=0][active]
\_ 3:0:3:0 sdi 8:128 [active][ready]
\_ 3:0:2:0 sdh 8:112 [active][ready]
\_ 2:0:3:0 sde 8:64 [active][ready]
\_ 2:0:2:0 sdd 8:48 [active][ready]
mpath3 (HITACHI_DF500_A_) dm-1 HITACHI ,DF500
[size=1.0G][features=1 queue_if_no_path][hwhandler=0]
\_ round-robin 0 [prio=0][active]
\_ 3:0:1:0 sdg 8:96 [active][ready]
\_ 3:0:0:0 sdf 8:80 [active][ready]
\_ 2:0:1:0 sdc 8:32 [active][ready]
\_ 2:0:0:0 sdb 8:16 [active][ready]

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 
Old 01-21-2008, 06:50 PM
Chandra Seetharaman
 
Default multiple paths question

On Mon, 2008-01-21 at 12:45 -0500, Michael Di Domenico wrote:
> I'm a little confused over how multipathing works. I've got a host
> with a 2port HBA and a 4port Storage unit. My multipath setup seems
> to create 8 LUNS and then splitting them up into two groups. This is
> a single disk. How do i get it to show me a single target instead of
> dm-0 and dm-1?

You may have a single disk but from your results it is clear that it is
configured as 2 LUNS in Hitachi storage.

If you want to see it as a single dm device, you should reconfigure the
luns in Hitachi.
>
> [root@node1 ~]$ multipath -ll
> mpath2 (HITACHI_DF500_B_) dm-0 HITACHI ,DF500
> [size=1.0G][features=1 queue_if_no_path][hwhandler=0]
> \_ round-robin 0 [prio=0][active]
> \_ 3:0:3:0 sdi 8:128 [active][ready]
> \_ 3:0:2:0 sdh 8:112 [active][ready]
> \_ 2:0:3:0 sde 8:64 [active][ready]
> \_ 2:0:2:0 sdd 8:48 [active][ready]
> mpath3 (HITACHI_DF500_A_) dm-1 HITACHI ,DF500
> [size=1.0G][features=1 queue_if_no_path][hwhandler=0]
> \_ round-robin 0 [prio=0][active]
> \_ 3:0:1:0 sdg 8:96 [active][ready]
> \_ 3:0:0:0 sdf 8:80 [active][ready]
> \_ 2:0:1:0 sdc 8:32 [active][ready]
> \_ 2:0:0:0 sdb 8:16 [active][ready]
>
> --
> dm-devel mailing list
> dm-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel
--

----------------------------------------------------------------------
Chandra Seetharaman | Be careful what you choose....
- sekharan@us.ibm.com | .......you may get it.
----------------------------------------------------------------------


--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 
Old 01-21-2008, 08:03 PM
 
Default multiple paths question

The id in those two dm devices (HITACHI_DF500_B_ and HITACHI_DF500_A_)
seem to indicate that you may not be using the right getuid_callout for
these devices.

--Malahal.

Chandra Seetharaman [sekharan@us.ibm.com] wrote:
> On Mon, 2008-01-21 at 12:45 -0500, Michael Di Domenico wrote:
> > I'm a little confused over how multipathing works. I've got a host
> > with a 2port HBA and a 4port Storage unit. My multipath setup seems
> > to create 8 LUNS and then splitting them up into two groups. This is
> > a single disk. How do i get it to show me a single target instead of
> > dm-0 and dm-1?
>
> You may have a single disk but from your results it is clear that it is
> configured as 2 LUNS in Hitachi storage.
>
> If you want to see it as a single dm device, you should reconfigure the
> luns in Hitachi.
> >
> > [root@node1 ~]$ multipath -ll
> > mpath2 (HITACHI_DF500_B_) dm-0 HITACHI ,DF500
> > [size=1.0G][features=1 queue_if_no_path][hwhandler=0]
> > \_ round-robin 0 [prio=0][active]
> > \_ 3:0:3:0 sdi 8:128 [active][ready]
> > \_ 3:0:2:0 sdh 8:112 [active][ready]
> > \_ 2:0:3:0 sde 8:64 [active][ready]
> > \_ 2:0:2:0 sdd 8:48 [active][ready]
> > mpath3 (HITACHI_DF500_A_) dm-1 HITACHI ,DF500
> > [size=1.0G][features=1 queue_if_no_path][hwhandler=0]
> > \_ round-robin 0 [prio=0][active]
> > \_ 3:0:1:0 sdg 8:96 [active][ready]
> > \_ 3:0:0:0 sdf 8:80 [active][ready]
> > \_ 2:0:1:0 sdc 8:32 [active][ready]
> > \_ 2:0:0:0 sdb 8:16 [active][ready]
> >
> > --
> > dm-devel mailing list
> > dm-devel@redhat.com
> > https://www.redhat.com/mailman/listinfo/dm-devel
> --
>
> ----------------------------------------------------------------------
> Chandra Seetharaman | Be careful what you choose....
> - sekharan@us.ibm.com | .......you may get it.
> ----------------------------------------------------------------------
>
>
> --
> dm-devel mailing list
> dm-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 

Thread Tools




All times are GMT. The time now is 01:01 AM.

VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org