crash during metadata operations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I was curious how LVM1/LVM2 handles a crash in the middle of a metadata
operation. I presume an operation such as vgextend will update the
mapping in the VGDA section of the disk. What happens if you crash in
the middle of updating the VGDA? Hopefully, you don't end up with a
partial mapping. I can see a way of guaranteeing atomicity by
maintaining two VGDA sections and including a timestamp at the end of
each write. Does LVM do something like this?

Regards,
-Kai


_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux