Date: Fri, 25 Oct 2002 14:25:14 -0400 (EDT) From: Jerry McAllister <jerrymc@clunix.cl.msu.edu> To: jwyeo2@yahoo.ca (Jeffrey Yeo) Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Copying filesystem(s) to new install Message-ID: <200210251825.g9PIPEG05817@clunix.cl.msu.edu> In-Reply-To: <20021025180213.79554.qmail@web11205.mail.yahoo.com> from "Jeffrey Yeo" at Oct 25, 2002 02:02:13 PM
next in thread | previous 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? If you have some media or connection to make the transfer, probably the best way is with dump and restore. dump 0af /media / cd / restore xf /media etc. ////jerry > > 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 > 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?200210251825.g9PIPEG05817>