Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Dec 2006 10:01:18 -0600
From:      Eric <heli@mikestammer.com>
To:        "B. Cook" <bcook@poklib.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Moving to a new disk..
Message-ID:  <457597CE.2040408@mikestammer.com>
In-Reply-To: <457594C2.90803@poklib.org>
References:  <457594C2.90803@poklib.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?457597CE.2040408>