[linux-lvm] lvcreate --mirror, specifying multiple PVs per copy
lupe at lupe-christoph.de
Thu Jan 29 07:55:21 UTC 2009
I'm still integrating mirrored LVM volumes in our configuration
management system, and the most recent challenge is a volume that is
explicitly placed by specifying the PVs the original, the mirror copies,
and the mirror log reside on.
lvcreate builds a mirrored volume OK that requires multiple segments per
copy when you let it determine where to place the segments. But this is
not acceptable when you have disks that are located in different
locations for fault tolerance = you must be sure that all the segments
of a copy reside on disks in a single location.
The manpage or the command help for lvcreate do not specify the
algorithm that is used in picking the PVs lvcreate uses for the mirror
copies or the mirror log.
I tried "lvcreate --mirror 1 ... testvg PV0a,PV0b PV1a,PV1b PV2" but
that does not work...
Please advise. Thank you!
| There is no substitute for bad design except worse design. |
| /me |
More information about the linux-lvm