From owner-freebsd-hackers Sat Jul 7 23:26:45 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 8421937B408 for ; Sat, 7 Jul 2001 23:26:42 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id f686Qfg11925; Sun, 8 Jul 2001 00:26:41 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.3/8.11.4) with ESMTP id f686QeJ76449; Sun, 8 Jul 2001 00:26:40 -0600 (MDT) (envelope-from imp@harmony.village.org) Message-Id: <200107080626.f686QeJ76449@harmony.village.org> To: Jeff Mohler Subject: Re: best way to migrate to a new disk Cc: freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Sat, 07 Jul 2001 18:39:59 PDT." <20010708013959.16876.qmail@web10301.mail.yahoo.com> References: <20010708013959.16876.qmail@web10301.mail.yahoo.com> Date: Sun, 08 Jul 2001 00:26:40 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20010708013959.16876.qmail@web10301.mail.yahoo.com> Jeff Mohler writes: : I need to upgrade to a new HD now that the current one : has shows some reliability issues..and Im polling for : what is the best method to do so. buy new disk. install disk disklabel da1 newfs filesystems. mount fs under /da1 for each partion fs on da0: cd /da1/$fs dump 0f - /$fs | restore -rf - tweak /da1/etc/fstab disklabel -B da1 bring the system down Rejumper the da1 to da0 and remove the old da0 Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message