Re: [BackupPC-users] Block-level rsync-like hashing dd?
2011-04-12 17:12:30
Timothy J Massey wrote at about 15:40:05 -0400 on Tuesday, April 12, 2011:
> "Jeffrey J. Kosowsky" <backuppc AT kosowsky DOT org> wrote on 04/10/2011
> 01:57:01
> PM:
>
> > The only problem with dd is that you would generally need to either
> > make a "snapshot" (e.g., using lvm2) or shutdown BackupPC and unmount
> > the drives to assure a perfect partition copy.
>
> You always have to unmount (for it to work correctly, anyway), whether
> you're dd'ing the partition raw or using LVM. The difference with LVM is
> that you only have to have it umounted for a brief moment, and without it
> for the entire time of the DD.
Well with LVM, if you have a dedicated BackupPC partition, it should
be sufficient to make sure no backup (or backuppc nightly process) is
running and that you are not at one of the round-number o'clock wakeup
times, then just doing a 'sync' followed by a lvm-snapshot should be
sufficient. I agree though that unmounting would be simpler though and
less likely to make mistakes.
> > I'm not sure though how a 'dd' of an lvm2 snapshot works and what you
> > would need to do on the new drive to get it to mount.
>
> The same thing you'd have to do in any other case: mount it! :)
Well with 'dd' I typically do *not* mount it. I do a dd on the
unmounted partition (to ensure it is stable). I guess my question is
whether I can do the same on an unmounted lvm partition using
/dev/lvm-pv/lvm-vg format. I imagine I can...
That being said, I have found that at least on my slow machines,
lvm-snapshots add a significant slowdown tax...
------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now! http://p.sf.net/sfu/ibm-webcastpromo
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
|
|