I have one very large (physical) disk and many smaller ones.
Using Logical Volume Management's builtin mirroring functions, is it possible to achieve one very large mirrored logical volume that, on a physical level, is comprised of ALL the data stored on the large physical disk and a mirror of it on one of the smaller disks?
Presumably this is very possible by splitting the large volume up, but is it possible to keep the large volume contiguous, to end up with something like the following:
Logical: [================================================][========================] Physical (sort of): LargeVolume [sda1============mirrored=below==================||sda2===unmirrored======|] | | | | V | | | OtherVolumes [sdb======] V | | [sdc======] V | [sde=========] V [sdf=========] Data: LargeVolume [AAAAABBBBBCCDDDDDDDEEFFFFFFGGGGHHHHIIIIJJKLL----||XXXXYYYZZZ-----------|] | | | | V | | | OtherVolumes AAAAABBBBB V | | CCDDDDDDDEE V | FFFFFFGGGGHHHH V IIIIJJKLL----
If so, how does one go about it? Is it done by putting all the volumes to be mirrored in one LVM pool and calling lvcreate -m1 on it?
I think pvgstrict setting and Physical Volume Groups might be part of the answer, but I'm new to LVM and it doesn't make that much sense to me yet.