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

Re: [linux-lvm] Temporary shapshots



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.

Ditto...

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,

Charles


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