On Oct 25, 2011, at 11:20 PM, ma...@mohawksoft.com wrote:
> 
> Actually, in LVM 'a' and 'b' are completely independent, each have their
> own copy of the COW data. So, if 'a' gets nuked, 'b' is fine, and vice
> virca.

Rather, this is how LVM works *because* of this situation.  If LVM supported 
snapshots of snapshots then it'd be trivially easy to shoot yourself in the 
foot.

> If you know the behaviour of your system, you could allocate a large
> percentage of the existing volume size (even 100%) and mitigate any risk.
> You would get your snapshot quickly and still have full backing.

So for your hypothetical 1TB disk, let's assume that you actually have 1TB of 
data on it.  You would need two more 1TB disks for each of the two snapshots.  
This would be unscalable to my 25TB compute server.  I would need another 25TB+ 
to implement your scheme.  This is a case where I can agree that yes, it is 
possible to coerce LVM into doing it but that doesn't make it useful.


> In a disaster, well, brute force will save the day.

My systems work for both individual files and total disaster.  I've proven it.

>> don't need to do any of this and users can go back in time just by looking
>> in .clone in their home directories.  I still have nightly backups to tape
>> for long-term archives.
> 
> Seems complicated.

It isn't.  It's a single AFS command to do the nightly snapshot and a second to 
run the nightly backup against that snapshot.



> totally wrong!!!
> 
> lvcreate -s -n disaster -L1024G /dev/vg0/phddata
> (my utility)
> lvclonesnapshot /dev/mapper/vg0-phdprev-cow /dev/vg0/disaster
> 
> This will apply historical changes to the /dev/vg0/disaster, the volume
> may then be used to restore data.

Wait... wait... so you're saying that in order to restore some files I need to 
recreate the "disaster" volume, restore to it, and then I can copy files back 
over to the real volume?


> You have a similar issue with file system backups. You have to find the
> last time a particular file was backed up.

> Yes, and it should be MUCH faster!!! I agree.

*Snrk*.  Neither of these are true.  I don't have to "find" anything.  I pick a 
point in time between the first backup and the most recent, inclusive, and 
restore whatever I need.  Everything is there.  I don't even need to look for 
tapes; TSM does all that for me.  400GB/hour sustained restore throughput is 
quite good for a network backup system.

Remember, ease of restoration is the most important component of a backup 
system.  Yours, apparently, fails to deliver.

--Rich P.

_______________________________________________
Discuss mailing list
Discuss@blu.org
http://lists.blu.org/mailman/listinfo/discuss

Reply via email to