From owner-freebsd-questions@FreeBSD.ORG Sun Jul 18 00:17:50 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5332616A4CE for ; Sun, 18 Jul 2004 00:17:50 +0000 (GMT) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id EB3FA43D48 for ; Sun, 18 Jul 2004 00:17:48 +0000 (GMT) (envelope-from mayday@gmx.net) Received: (qmail 19195 invoked by uid 65534); 18 Jul 2004 00:17:47 -0000 Received: from p508A9416.dip0.t-ipconnect.de (EHLO [192.168.0.12]) (80.138.148.22) by mail.gmx.net (mp025) with SMTP; 18 Jul 2004 02:17:47 +0200 X-Authenticated: #431110 From: Benjamin Sobotta To: freebsd-questions@freebsd.org Date: Sun, 18 Jul 2004 02:22:06 +0000 User-Agent: KMail/1.6.2 References: <200407170226.19474.ecrist@secure-computing.net> <40F93A04.9060706@yahoo.com> <001b01c46c14$a22e3720$0aa8a8c0@Macha> In-Reply-To: <001b01c46c14$a22e3720$0aa8a8c0@Macha> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200407180222.06756.mayday@gmx.net> Subject: Re: Replacing hd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jul 2004 00:17:50 -0000 On Saturday 17 July 2004 15:42, Mark wrote: > Hello, > I have a hd going bad. It is not the primary drive but is > ad2s1e > ad2s1f > > it holds /usr and /tmp > > How can I put in a new drive and copy everything over and not miss a beat. > if possible. > > THanks > Mark Hi! I did something like this once. Just get the drive ready and mount under, say, /mnt. Since /tmp doesn't really matter copy everything from /usr to /tmp. Something like "cp -pR /usr /mnt". Next you might have to alter /etc/fstab according to your new drive settings and reboot. There is probably a more sophisticated method but like this is worked for me. Cheers, Ben