All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Multipathing using device mapper howto?
  2005-10-28 20:39 Multipathing using device mapper howto? Bruen, Mark
@ 2005-10-28 20:36 ` Josef Whiter
  0 siblings, 0 replies; 2+ messages in thread
From: Josef Whiter @ 2005-10-28 20:36 UTC (permalink / raw)
  To: device-mapper development

Bruen, Mark wrote:

> I'm just beginning to look at device mapper to multipath SAN luns. 
> I've been searching for some time and can't find a simple reference on 
> how to create the multipathed devices from the same luns presented to 
> two or more HBA paths. Is there a source for that information?
> Thanks.
>    -Mark
>
> -- 
> dm-devel mailing list
> dm-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel

I don't know of any external sources, but the quick and dirty way is to 
first fdisk your /dev/sd devices, and then edit your /etc/multipath.conf 
file and comment out hte lines

devnode_blacklist {
        devnode "*"
}

and then uncomment out the lines

defaults {
        multipath_tool  "/sbin/multipath -v0"
        udev_dir        /dev
        polling_interval 10
        default_selector        "round-robin 0"
        default_path_grouping_policy    multibus
        default_getuid_callout  "/sbin/scsi_id -g -u -s /block/%n"
        default_prio_callout    "/bin/true"
        default_features        "0"
        rr_wmin_io              100
        failback                immediate
}

Then reboot, and it should work.  You're devices should show up in 
/dev/dm-#, then all you want to do is do a kpartx -a on /dev/dm-# and it 
will create a new /dev/dm-#+1 for the partitions (ie if my disk was 
/dev/dm-0 and i had one partition, and i ran kpartx -a i would get 
/dev/dm-1.  its equivalent of /dev/sda and /dev/sda1).  Thank you,

Josef

-- 
Josef Whiter, RHCE
Global Support Services
Red Hat, Inc.
919-754-3700 x44429

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Multipathing using device mapper howto?
@ 2005-10-28 20:39 Bruen, Mark
  2005-10-28 20:36 ` Josef Whiter
  0 siblings, 1 reply; 2+ messages in thread
From: Bruen, Mark @ 2005-10-28 20:39 UTC (permalink / raw)
  To: dm-devel

I'm just beginning to look at device mapper to multipath SAN luns. I've 
been searching for some time and can't find a simple reference on how to 
create the multipathed devices from the same luns presented to two or 
more HBA paths. Is there a source for that information?
Thanks.
    -Mark

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-10-28 20:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-28 20:39 Multipathing using device mapper howto? Bruen, Mark
2005-10-28 20:36 ` Josef Whiter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.