[GRLUG] ddrescue

Adam Tauno Williams awilliam at whitemice.org
Thu Mar 13 06:15:01 EDT 2014


On Thu, 2014-03-13 at 01:04 -0400, Mike Williams wrote:
> Hmmm. Sparse file? Which is something I barely understand but sounds 
> right. Or image it into a file on a compressed filesystem. Would btrfs 
> on-the-fly compression solve the problem?

gzip will compress standard input to standard output.

dd bs=512 if=/dev/somedevice | gzip - > somedevice.gz

Compression will usually be significant provided there is zero'd space
in the contents of the origin device.

> On 03/12/2014 05:48 PM, L. V. Lammert wrote:
> > I need to recover a large partition, .. only problem is that the target
> > partition is not large enough for all of the 'blank space' in the hosed
> > partition.
> > Is there another way to approach this problem?

-- 
Adam Tauno Williams <mailto:awilliam at whitemice.org> GPG D95ED383
Systems Administrator, Python Developer, LPI / NCLA



More information about the grlug mailing list