From owner-freebsd-questions Fri Oct 25 11: 2:31 2002 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 D2FDA37B401 for ; Fri, 25 Oct 2002 11:02:29 -0700 (PDT) Received: from web11205.mail.yahoo.com (web11205.mail.yahoo.com [216.136.131.187]) by mx1.FreeBSD.org (Postfix) with SMTP id 36A9E43E42 for ; Fri, 25 Oct 2002 11:02:28 -0700 (PDT) (envelope-from jwyeo2@yahoo.ca) Message-ID: <20021025180213.79554.qmail@web11205.mail.yahoo.com> Received: from [139.142.65.19] by web11205.mail.yahoo.com via HTTP; Fri, 25 Oct 2002 14:02:13 EDT Date: Fri, 25 Oct 2002 14:02:13 -0400 (EDT) From: Jeffrey Yeo Subject: Copying filesystem(s) to new install To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm moving an existing FBSD 4.4 server install to a new HDD, and upgrading to 4.7 at the same time. I installed 4.7 on the new drive and had hoped to be able to mount the old drive while running off the new install. The plan was to copy the contents of the original filesystem and easily grab the config files as needed. There is a knwn problem with the old drive (DMA mode is broken, PIO only), and this seems to cause the 4.7 kernel to panic on startup. Although this concerns me a bit, I've booted the 4.6 install off the old drive and mounted a partition from the new drive so I can copy some files over. For comfort, I thought I'd copy everything from / and /usr (old drive is 6GB, new is 40GB so there isn't a space issue). What is the best way to copy the files from a running system? The simplest to me seems to be shutdown all the daemons I'm running and cp -Rp the / and /usr directory trees. Is there a better approach? Thanks in advance, Jeff ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message