[linux-lvm] LVM for backup

Heinz J. Mauelshagen Mauelshagen at sistina.com
Tue Jul 4 17:01:01 UTC 2000


On Tue, Jul 04, 2000 at 03:01:22PM +0200, Jörgen Persson wrote:
> LVM-list,
> I got an interesting problem today... Is it possible to use LVM to
> make a backup while the file server is in use??

Yes.
With the last version 0.8final you can create read only snapshots of Logical
Volumes and mount them to do a backup.

> 
> Do I have to use LVM in conjunction with some external 
> functionality, eg. ReiserFS??
> 

There is no specific filesystem functionality related to the matter so far.
Filesystems as one kind of user of the block device layer, where LVM lives,
are not aware of the snapshot support of LVM.

> Will VFS bug me??

In case of journaled filesystems porbably.
The problem is that the journal of the filesystem can't be flushed on the
snapshot logical volume, because the implementation supports read only snapshots
today.

In case of ext2 this problem doesn't exist.

Another thing is that there is no interface between the VFS layer and the LVM
to support snapshot activation after the filesystem cleaned up metadata,
activated the snapshot and continued to do i/o afterwards so far.

> 
> I'm a LVM-newbie, can someone please give me a direction for me
> to head out for some documentation??
> 

Please have a look at http://ds9a.nl/lvm-howto

Regards,
Heinz      -- The LVM guy --

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Bartningstr. 12
                                                  64289 Darmstadt
                                                  Germany
Mauelshagen at Sistina.com                           +49 6151 7103 86
                                                       FAX 7103 96
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



More information about the linux-lvm mailing list