The reason the metadata wraps around is to decrease the likelihood of losing all your metadata if a failure happens during an update. If you always write from the beginning of the area, then any partial write guarantees a complete loss. If you always start part-way through, then you only lose data when your metadata approaches the full size of the MDA. Since this is most likely an issue with small arrays (where there are few disks and you may only have 1 or 2 MDAs), this gives vastly greater chances of recovery. Also, even in the event of a failure, you are likely to get the beginning of the new data + end the of the old data--which is more recoverable (by hand) than the alternatives. It's all about increasing chances of recoverability in the event of a failure. On Jan 5, 2009, at 2:22 AM, Tejas Sumant wrote:
-- Jayson Vantuyl Systems Architect 1 866 518 9275 ext 204 IRC (freenode): kagato |
_______________________________________________ linux-lvm mailing list linux-lvm@redhat.com https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/