Re: how to copy a snapshot, or restore snapshot without deleting it

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

 



Yes that is exactly the option which I would love to have.

Regards,
Matt

-----Original Message-----
From: Zdenek Kabelac [mailto:zkabelac@xxxxxxxxxx] 
Sent: Monday, 28 January 2019 10:50 PM
To: LVM general discussion and development <linux-lvm@xxxxxxxxxx>; Zdenek Kabelac <zkabelac@xxxxxxxxxx>; Davis, Matthew <Matthew.Davis.2@xxxxxxxxxxxxxxxx>
Subject: Re: how to copy a snapshot, or restore snapshot without deleting it

Dne 21. 01. 19 v 11:32 Zdenek Kabelac napsal(a):
> Dne 18. 01. 19 v 1:53 Davis, Matthew napsal(a):
>> Hi Zdenek,
>>
>> I assumed that LVM thin snapshots would work like git branches.
>> Since git also uses diffs on the backend, and git is popular with 
>> developers, the same kind of behaviour seems reasonable to me.
>>
> 
> Hi
> 
> There is very good reason why the git is not really a good tool for 
> storing binary data...
> 
> Your use-case is 'very specific' sub-case of many different usability 
> scenarios you can do with lvm2 -  so while you might see some 
> potential benefit if the lvm2 would work more closely to git logic, it 
> would look terrible in many other situations.
> 

Hi

Adding some more thoughts here - we can probably give user an option to control this - particularly in this case  - how about something like:

lvconvert --mergesnapshot --keeporigin y|n

so if user would specify 'y' - lvm2 would relink/preserve merged snapshot as an origin for all other existing snapshots of the old origin - this would make more obvious what is going to happen when you start creating and merging lots of them into a single origin.

(yeah - maybe there could be better fitting option name - so it's more about idea here for now)

Zdenek

_______________________________________________
linux-lvm mailing list
linux-lvm@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/




[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux