Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Oct 2002 14:02:13 -0400 (EDT)
From:      Jeffrey Yeo <jwyeo2@yahoo.ca>
To:        freebsd-questions@freebsd.org
Subject:   Copying filesystem(s) to new install
Message-ID:  <20021025180213.79554.qmail@web11205.mail.yahoo.com>

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




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