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

Re: [linux-lvm] Keep snapshots active for 24 hours?



On Dec 15, 2001  10:52 +1300, Steve Wray wrote:
> I'd been wondering if snapshotting could be used for;
> 
> - providing 'virtual journalling' any filesystem that happens to
> be on a logical volume.

It could, but you would have to make a _lot_ of snapshots for it to
be worthwhile (i.e. one every 10-30 seconds or so).  If you want this
for "non-journaled" filesystems, you can use the ext3 journaling code
to add this to most any block based filesystem.  It isn't trivial,
but at least possible.

> - take a snapshot, install something or try something out
> that might break something, then restore *directly* from
> the snapshot if anything goes wrong; without having to actually
> back it up to media and restore it.

Yes, this would be clever.  I'd rather that RPM/DEB package tools just
become smarter (like AIX LPP) where it allows you arbitrary amounts of
back-out from updated packages (as long as you have enough disk space).
After you have "applied" a package, you can test it out, and either
commit it or revert to the old version.  The rpm and dpkg tools could
just do this by checksumming any existing files from the previous install
and only backing up those that had changed between versions.

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/




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