[linux-lvm] Temporary shapshots

Charles Marcus CMarcus at Media-Brokers.com
Mon May 5 14:45:21 UTC 2008

On 5/5/2008 10:30 AM, Larry Dickson wrote:
>>> To use temporary storage for snapshot, a special command for lvm 
>>> would be more appropriate --- a command that would setup snapshot
>>> and write nothing about it to metadata, so that the snapshot would
>>> be forgotten on next reboot --- then, you can setup the snapshot on
>>> any device outside the volume group. You can already do this with
>>> dmsetup.

>> This is an excellent idea - and not just for ramdisks. The hardest
>> part of using snapshots for backups is making sure they are deleted 
>> afterward. Not having to check at reboot would be one less 'i' to
>> dot.

> I love this idea because it nicely covers one of the main purposes of
> snapshotting, namely, making backups at a well-defined time point. 
> Would there ever be any use of a temporary read-write snapshot? If
> not, perhaps making it read-only would simplify the design.


I feel much better now about using snapshots after realizing the OP's 
problem was due to the use of a RAMdisk for a snapshot volume (combined 
with an unclean shutdown), but anything that makes these safer and 
easier gets my vite...


Best regards,


More information about the linux-lvm mailing list