[CentOS] imaging a drive with dd

Fri Mar 3 17:23:14 UTC 2017
John R Pierce <pierce at hogranch.com>

On 3/3/2017 5:34 AM, Robert Moskowitz wrote:
> Well, I only wanted to copy the used part of the drive which I try to 
> keep small so I can still copy the image to an mSD card if I wish.  So 
> I have to supply the amount of the drive to copy.  The bs=512 went 
> fast enough, but then I was only copying 3.2GB.
> thanks for the help. 

personally, I would use 'dump' for ext? file systems, and xfsdump for 
XFS.   this *just* backs up the inodes and directories, not raw blocks

john r pierce, recycling bits in santa cruz