MLUG: Re: [MLUG - DISCUSSION] Quickest Way to "shrink" a drive?
Re: [MLUG - DISCUSSION] Quickest Way to "shrink" a drive?
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
On Thu, 4 Aug 2005, George B. Robb III wrote:

> Hey Gang-
> 
> Would a cat /dev/hda3 > /dev/hdb3 preserve permissions etc...?  Or should I
> use a cp -a /mnt/source /mnt/dest  (source being hda3 dest being hdb3)?
> 
> I am trying to shrink a 20 gig down to 6 gig on reiserfs...  (Is there a FAST
> or better way to do this?)

Doesn't reiser have a dump and restore?  You'll probably get, er,
"unexpected" results catting from one partitition to another unless
they're exactly the same.  Besides, using dd with a 512kb block size
(which, IIRC, is the max io chunk that linux will do in the 2.4 kern) is
faster and probably safer than cat.

--dlloyd

_______________________________________________
discussion mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/discussion