* [linux-lvm] Feature Request (revert a logical volume back to its snapshot sta te)
@ 2005-02-11 22:03 Joe Harvell
2005-02-11 22:50 ` Alasdair G Kergon
2005-02-11 23:56 ` Jason Martin
0 siblings, 2 replies; 4+ messages in thread
From: Joe Harvell @ 2005-02-11 22:03 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 915 bytes --]
I really love the snapshot logical volume feature, and I use it for
making consistent backups of my system while it is running.
Recently, though I found myself wanting to use a snapshot logical volume
to preserve the state of a filesystem while I experimented with
changes. When I needed to revert, I had to copy the contents from the
snashot logical volume, destroy the snapshot and snapshot source, and
then replace the snapshot source with the copy I made of the snapshot.
It seems like it would make sense for LVM to support a feature to revert
the source logical volume to the state it was in when the snapshot was
taken. I read through all the man pages but I didn't see anything like
this. I realize it might not be possible to do this atomically while
the source logical volume is active, but that's fine. I would still
like to be able to do it when the source is inactive.
---
Joe Harvell
[-- Attachment #2: Type: text/html, Size: 1636 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] Feature Request (revert a logical volume back to its snapshot sta te)
2005-02-11 22:03 [linux-lvm] Feature Request (revert a logical volume back to its snapshot sta te) Joe Harvell
@ 2005-02-11 22:50 ` Alasdair G Kergon
2005-02-11 23:09 ` Clint Byrum
2005-02-11 23:56 ` Jason Martin
1 sibling, 1 reply; 4+ messages in thread
From: Alasdair G Kergon @ 2005-02-11 22:50 UTC (permalink / raw)
To: LVM general discussion and development
On Fri, Feb 11, 2005 at 05:03:50PM -0500, Joe Harvell wrote:
> Recently, though I found myself wanting to use a snapshot logical volume
> to preserve the state of a filesystem while I experimented with
> changes. When I needed to revert, I had to copy the contents from the
> snashot logical volume, destroy the snapshot and snapshot source, and
> then replace the snapshot source with the copy I made of the snapshot.
How about performing your tests on the snapshot device instead of the
original?
Alasdair
--
agk@redhat.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] Feature Request (revert a logical volume back to its snapshot sta te)
2005-02-11 22:03 [linux-lvm] Feature Request (revert a logical volume back to its snapshot sta te) Joe Harvell
2005-02-11 22:50 ` Alasdair G Kergon
@ 2005-02-11 23:56 ` Jason Martin
1 sibling, 0 replies; 4+ messages in thread
From: Jason Martin @ 2005-02-11 23:56 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 488 bytes --]
On Fri, Feb 11, 2005 at 05:03:50PM -0500, Joe Harvell wrote:
> It seems like it would make sense for LVM to support a feature to revert
> the source logical volume to the state it was in when the snapshot was
I think it would also be handy to be able to 'roll back' a
filesystem. Writing to the snapshot isn't always feasible since
the running application isn't in that place.
-JM
--
Luxuriantly hand-crafted from only the finest ASCII.
This message is PGP/MIME signed.
[-- Attachment #2: Type: application/pgp-signature, Size: 211 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-02-11 23:56 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-11 22:03 [linux-lvm] Feature Request (revert a logical volume back to its snapshot sta te) Joe Harvell
2005-02-11 22:50 ` Alasdair G Kergon
2005-02-11 23:09 ` Clint Byrum
2005-02-11 23:56 ` Jason Martin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox