Amanda-Users

Re: LVM snapshots

2006-07-07 13:46:20
Subject: Re: LVM snapshots
From: Ross Vandegrift <ross AT kallisti DOT us>
To: Joe Donner <joedonner2001 AT hotmail DOT com>
Date: Fri, 7 Jul 2006 13:37:53 -0400
On Fri, Jul 07, 2006 at 02:35:23AM -0700, Joe Donner (sent by Nabble.com) wrote:
> I'm just wondering what happens during the freeze - how freezing "all
> activity to and from the filesystem to reduce the risk of problems" affects
> the system?  One would imagine that disk writes are somehow queued up and
> complete when the file system is unfreezed again?

Yes - when you configure an LVM snapshot, you provide another device
to which changes are written.  LVM creates a new device node that
points to the snapshot of the original device.

The rest of the system basically sees everything as normal.  LVM
handles all the changes between the disks until the snapshot is
removed.

I don't run LVM snapshots with Amanda, but be aware that if you wanted
to do this, there'd be a few hoops to jump though.  You'd need to
specify the snapshot device name in the DLE, not the normal one.  As a
result, you'll need to somehow ensure that the snapshot was
sucessfully created before running amdump.

-- 
Ross Vandegrift
ross AT kallisti DOT us

"The good Christian should beware of mathematicians, and all those who
make empty prophecies. The danger already exists that the mathematicians
have made a covenant with the devil to darken the spirit and to confine
man in the bonds of Hell."
        --St. Augustine, De Genesi ad Litteram, Book II, xviii, 37

<Prev in Thread] Current Thread [Next in Thread>