*BSD News Article 98945


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.netspace.net.au!news.mel.connect.com.au!munnari.OZ.AU!uunet!in2.uu.net!134.48.1.31!spool.mu.edu!sol.net!spool.mu.edu!newsspool.sol.net!howland.erols.net!news-peer.sprintlink.net!news-pull.sprintlink.net!news-in-east.sprintlink.net!news.sprintlink.net!Sprint!207.67.253.7!atmnet.net!news.lightside.com!dcs59.dcsi.net!user
From: fred@lightside.net (Fred Condo)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Installing new hard drive...
Date: Thu, 03 Jul 1997 11:27:57 -0700
Organization: Lightside, Inc.
Lines: 30
Message-ID: <fred-0307971127580001@dcs59.dcsi.net>
References: <33BBDBA5.69E0@eos.ncsu.edu>
NNTP-Posting-Host: dcs59.dcsi.net
Mime-Version: 1.0
Content-Type: text/plain;charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Newsreader: MT-NewsWatcher 2.3.1
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:43881

In article <33BBDBA5.69E0@eos.ncsu.edu>, jbrinkley@crosslogic.com wrote:

>I have a new hard drive, one that's a lot bigger than the other three I
>have running BSD.  FreeBSD is spanned across three hard drives
>currently, and I'd like to transfer their information to this new hard
>drive.  Does anyone have a safe idea on how I can get the system
>transfered from a three disk-based FreeBSD system to one hard disk?
>
>The three disks are all around 425M, and the new one is a 3.2G or 3.1G.
>
>I'd really appreciate some advice if you can spare it.
>
>Thanks,
>webmaster@crosslogic.com

If you can mount the new drive alongside the existing ones, what you can
do is this: Mount the new drive on /mnt

Then, do this:

cd /
find / -print | egrep -v /mnt | cpio -pvudma /mnt

That will transfer all your files to the new drive.

-- 
http://www.lightside.net/~fred/ + net access + http://www.lightside.net/
"Attempts to control the use of encryption technology are wrong in
principle, unworkable in practice, and damaging to the long term economic
value of the information networks." - UK Labour Party