[linux-lvm] Snapshots and disk re-use

Les Mikesell lesmikesell at gmail.com
Thu Feb 24 19:25:16 UTC 2011


On 2/24/2011 1:15 PM, Nataraj wrote:
>
> One other thing that wasn't mentioned here.... As far as I understand,
> if these are lvms on the host and the snapshots are being taken on the
> host, there is no guaranteed integrity of the filesystems unless you
> shutdown the guest while the snapshot is taken.
>
> It's too bad they don't implement a system call that could do something
> like sync filesystem and sleep until I tell you to continue.  This would
> be perfect for snapshot backups of virtual hosts.

Syncing a filesystem's OS buffers isn't really enough to ensure that 
running apps have saved their data in a consistent state.  The best you 
are going to get without shuting things down is more or less what you'd 
have if the server crashed at some point in time.

-- 
   Les Mikesell
    lesmikesell at gmail.com




More information about the linux-lvm mailing list