partitioning multipath device
The multipath-tools FAQ has the following to say about partitioning multipath devices.
From http://christophe.varoqui.free.fr/faq.html
Quoted 2 lines
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-
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 -----
Quoted 24 lines
The multipath-tools FAQ has the following to say about partitioning multipath devices.
Quoted 4 lines
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/mapperdevice 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
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel
Quoted 8 lines · Ron Peterson
The multipath-tools FAQ has the following to say about partitioning multipath devices.
Quoted 4 lines
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)
Quoted 7 lines
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/mapperdevice 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.