[ale] Copy-on-write file?

Greg Freemyer greg.freemyer at gmail.com
Mon Jan 18 08:37:41 EST 2010


Another option is getting that 80GB copy down to 20 minutes.

Is that fast enough?

If so, just put the 80GB image on a different physical disk than where
you want to restore it.  That eliminates all the disks seeks you must
currently have.

4GB/min is very doable with a 64bit kernel/cpu and sata drives.

3GB/min for 32bit kernel

2GB/min for ide drives (iirc, this may be low)

Greg

On 1/17/10, JK <jknapka at kneuro.net> wrote:
> Hi everyone,
>
> ddrescue kicks a*s -- it imaged all but about 20MB of my 80GB failed
> HFS partition successfully.  I then made a copy of the image so as to
> have a backup in case I hosed the original (via fsck or simple
> dumbness on my part).  Making the backup took about 5 hours, which
> kinda sucked; and if I *do* need to revert to the backup image,
> copying for another 5 hours is not an appealing prospect.  What I'd
> really like is a way to tell the Linux kernel: "Please treat this
> file as copy-on-write -- if I write something to it, allocate a new
> on-disk block to hold the written data, splice that block into the
> file, and leave the original alone."  That way, going back to the
> clean image would merely be a matter of throwing away the COW blocks,
> instead of waiting another 5 hours to copy my backup image.
>
> Surely such magic is already available somehow? I know there are some
> distros that implement "writable" CDROM filesystems in a similar
> way, by using specialized COW filesystems, but that isn't exactly
> what I want.  I want to either
> (a) set up COW for a single file on an EXT3 FS, or else
> (b) mount the disk image as an HFS+ volume, in such a way that writes
> will not alter the image itself.
>
> (BTW I found the ext3cow FS, which would work, but something less
> intrusive would be awfully nice.)
>
> TIA,
>
> -- JK
>
>
> --
> As the size of an explosion increases, the number of social situations
> it is incapable of solving approaches zero. -- V, Order of the Stick
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>

-- 
Sent from my mobile device

Greg Freemyer
Head of EDD Tape Extraction and Processing team
Litigation Triage Solutions Specialist
http://www.linkedin.com/in/gregfreemyer
Preservation and Forensic processing of Exchange Repositories White Paper -
<http://www.norcrossgroup.com/forms/whitepapers/tng_whitepaper_fpe.html>

The Norcross Group
The Intersection of Evidence & Technology
http://www.norcrossgroup.com


More information about the Ale mailing list