All of lore.kernel.org
 help / color / mirror / Atom feed
* partitioning multipath device
@ 2010-01-22 19:29 Ron Peterson
  2010-01-22 19:53 ` Christophe Varoqui
  2010-01-25 12:32 ` Bryn M. Reeves
  0 siblings, 2 replies; 3+ messages in thread
From: Ron Peterson @ 2010-01-22 19:29 UTC (permalink / raw)
  To: dm-devel

The multipath-tools FAQ has the following to say about partitioning
multipath devices.

From http://christophe.varoqui.free.fr/faq.html

> 6. How do I partition my multipathed devices
> Partition a constituant path instead. And reload the map through multipath(8)

I take this to mean, for example, that one should partition /dev/sdX,
rather than the corresponding coalesced /dev/mapper/... device, correct?

My question is: why?  Paritioning the /dev/mapper device appears to
work.  Is there an operational difference?  I've always done this
exactly as advised, but I know someone who didn't, and we're wondering
if it matters.

TIA

-Ron-

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

* Re: partitioning multipath device
  2010-01-22 19:29 partitioning multipath device Ron Peterson
@ 2010-01-22 19:53 ` Christophe Varoqui
  2010-01-25 12:32 ` Bryn M. Reeves
  1 sibling, 0 replies; 3+ messages in thread
From: Christophe Varoqui @ 2010-01-22 19:53 UTC (permalink / raw)
  To: device-mapper development


[-- Attachment #1.1: Type: text/plain, Size: 951 bytes --]

The device mapper used to eat ioctl. This is no longer the case. I'll fix the faq.
Thanks for the heads-up.

----- Message d'origine -----
> The multipath-tools FAQ has the following to say about partitioning
> multipath devices.
>
> > From http://christophe.varoqui.free.fr/faq.html
>
> > 6. How do I partition my multipathed devices
> > Partition a constituant path instead. And reload the map through multipath(8)
>
> I take this to mean, for example, that one should partition /dev/sdX,
> rather than the corresponding coalesced /dev/mapper/... device, correct?
>
> My question is: why?  Paritioning the /dev/mapper device appears to
> work.  Is there an operational difference?  I've always done this
> exactly as advised, but I know someone who didn't, and we're wondering
> if it matters.
>
> TIA
>
> -Ron-
>
> --
> dm-devel mailing list
> dm-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel


[-- Attachment #1.2: Type: text/html, Size: 1586 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



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

* Re: partitioning multipath device
  2010-01-22 19:29 partitioning multipath device Ron Peterson
  2010-01-22 19:53 ` Christophe Varoqui
@ 2010-01-25 12:32 ` Bryn M. Reeves
  1 sibling, 0 replies; 3+ messages in thread
From: Bryn M. Reeves @ 2010-01-25 12:32 UTC (permalink / raw)
  To: device-mapper development

On Fri, 2010-01-22 at 14:29 -0500, Ron Peterson wrote:
> The multipath-tools FAQ has the following to say about partitioning
> multipath devices.
> 
> >From http://christophe.varoqui.free.fr/faq.html
> 
> > 6. How do I partition my multipathed devices
> > Partition a constituant path instead. And reload the map through multipath(8)
> 
> I take this to mean, for example, that one should partition /dev/sdX,
> rather than the corresponding coalesced /dev/mapper/... device, correct?
> 
> My question is: why?  Paritioning the /dev/mapper device appears to
> work.  Is there an operational difference?  I've always done this
> exactly as advised, but I know someone who didn't, and we're wondering
> if it matters.

It doesn't actually matter too much. If you're partitioning before
assembling maps then you may as well do it on a path. The common
partitioning tools should do the right thing if you point them at the
multipath device too though (although you may need to arrange for kpartx
to get run again, or run it manually to refresh).

Regards,
Bryn.

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

end of thread, other threads:[~2010-01-25 12:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-22 19:29 partitioning multipath device Ron Peterson
2010-01-22 19:53 ` Christophe Varoqui
2010-01-25 12:32 ` Bryn M. Reeves

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.