[linux-lvm] LVM2 on-disk layout

malahal at us.ibm.com malahal at us.ibm.com
Mon Jan 5 20:08:19 UTC 2009


Stuart D. Gathman [stuart at bmsi.com] wrote:
> > 3) Why the metadata inside MDA wraps around, instead of the offset
> > pointing to the start of metadata?
> 
> Someone else?

Probably because when something bad happens while changing the metadata,
you want to go back to the old state. To preserve the old state, you
don't want to wipe the old metadata. You need offset other than the
start of the metadata! Circular buffer is an optimal solution to
implement this, I guess.




More information about the linux-lvm mailing list