18 3. Removal of all but one volume should still produce a working volume.

19 4. Online removal of any volumes should keep the mirror working, given that there is still a working volume present.

20 5. Failure to any of the disks holding any of the volumes should not lead to data loss or corruption, given that one or more disks holding at least one of the mirrored volumes are still present and healthy.

21 6. The Mirror target's interface should be integrated with LVM Tools.

22 7. Any meta data stored on disk should be kept consistent across any possible unclean shutdown.

72 Every mirror leg (from now on: leg) has a structure which contains any information the target may need during operation. Some of these information should be saved to the disk. The structures are contained in a linked list (TAILQ) to allow flexible removal/addition. The O(n) access time shouldn't be a problem as we don't expect a very large number of legs.