Moving to a new disk..

Eric heli at mikestammer.com
Tue Dec 5 08:01:33 PST 2006


B. Cook wrote:
> Hello all,
>
> I've got a dying drive on my hands.. and I know I found a doc/guide on 
> the handbook before regarding this..
>
> something like..
>
> # tar cf - --one-file-system -C /var . | tar xpvf - -C /mnt/var
>
> where the new drive is fsck'd and mounted at /mnt ..
>
> or something else..
>
> where is that?
>
> or how would I do that?
>
> I just want to take this 20G drive and copy it to a 30G drive..
>
> what would be the best way?
>
> (and I need to talk to someone over the phone about this.. it's his 
> box and he has no inet)
>
>
this is what i used when i did it a month ago

http://lantech.geekvenue.net/chucktips/jason/chuck/1004897633/index_html

it will be slightly different depending on your version, but 
dump/restore is better than tar

Eric


More information about the freebsd-questions mailing list