From owner-freebsd-questions@FreeBSD.ORG Tue Dec 5 16:01:33 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1C6FC16A494 for ; Tue, 5 Dec 2006 16:01:33 +0000 (UTC) (envelope-from heli@mikestammer.com) Received: from smtp108.sbc.mail.mud.yahoo.com (smtp108.sbc.mail.mud.yahoo.com [68.142.198.207]) by mx1.FreeBSD.org (Postfix) with SMTP id 67EDE43CA2 for ; Tue, 5 Dec 2006 16:00:46 +0000 (GMT) (envelope-from heli@mikestammer.com) Received: (qmail 68492 invoked from network); 5 Dec 2006 16:01:25 -0000 Received: from unknown (HELO mail.mikestammer.com) (mikestammer@sbcglobal.net@68.249.189.132 with login) by smtp108.sbc.mail.mud.yahoo.com with SMTP; 5 Dec 2006 16:01:25 -0000 X-YMail-OSG: 8ZarYbYVM1lfsKCVUX0ghBXHEtWeETzGzEna0_aiMLyHun8XIhkaRH981n9jHqrt3ttHcTRygoIUQYIrptnQo0UBDEGXc1vrSWEC.7KeMVBOUS48eQHCpw-- Received: from localhost (localhost [127.0.0.1]) by mail.mikestammer.com (Postfix) with ESMTP id 189791146B; Tue, 5 Dec 2006 10:01:24 -0600 (CST) X-Virus-Scanned: amavisd-new at mikestammer.com Received: from mail.mikestammer.com ([127.0.0.1]) by localhost (gondolin.middleearth.mikestammer.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gbUkJeVEg+fD; Tue, 5 Dec 2006 10:01:20 -0600 (CST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: eric) by mail.mikestammer.com (Postfix) with ESMTP id A490611469; Tue, 5 Dec 2006 10:01:20 -0600 (CST) Message-ID: <457597CE.2040408@mikestammer.com> Date: Tue, 05 Dec 2006 10:01:18 -0600 From: Eric User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: "B. Cook" References: <457594C2.90803@poklib.org> In-Reply-To: <457594C2.90803@poklib.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Moving to a new disk.. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Dec 2006 16:01:33 -0000 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