Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Mar 2000 01:55:10 +0100
From:      "Karel J. Bosschaart" <karelj@wop21.wop.wtb.tue.nl>
To:        Adam <ajwoodbe@oakland.edu>, questions@freebsd.org
Subject:   Re: Moving FreeBSD from an IDE drive to a SCSI drive?
Message-ID:  <20000321015510.A72418@wop21.wop.wtb.tue.nl>
In-Reply-To: <NDBBLEIJALJKACDMNFLJIEFCCBAA.ajwoodbe@oakland.edu>; from ajwoodbe@oakland.edu on Mon, Mar 20, 2000 at 04:41:40PM -0500
References:  <NDBBLEIJALJKACDMNFLJIEFCCBAA.ajwoodbe@oakland.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 20, 2000 at 04:41:40PM -0500, Adam wrote:
> Has anyone moved a FreeBSD 3.4 installation from an IDE hard drive to a SCSI
> hard disk?  I'm installing a SCSI controller and hard disk in our current
> FreeBSD 3.4 server, which is currently running on an IDE hard disk.  Since
> I've never moved FreeBSD between hard disks without re-installing FreeBSD, I
> figured I'd ask you guys to see if 1.) it is possible and 2.) what is the

Yes, not so long ago I moved my 3.4 from an IDE disk to a SCSI disk and
it went surprisingly well, using the article at

http://www.freebsddiary.org/driveswap.html

This article describes how to put your system from one SCSI disk to another,
but the instructions are also useful when you go from IDE to SCSI.
Basically, you use tar to archive your filesystems into a few files and
then untar it onto the new drive. I used sysinstall to make the new
filesystems on the SCSI disk (be careful not to wipe out your existing
filesystems on the IDE drive!), install BootEasy, then exited sysinstall and 
untarred the files on the new filesystems on the SCSI drive. I mounted the 
newly created / file system to edit the /etc/fstab, replacing wd by da. You 
might have more wd entries in your /etc, for example dumpdev in rc.conf. 
Depending on how you set your BIOS, you might need to play with currdev
and/or root_disk_unit in /boot/loader.conf (example in the article).

> easiest way to do it?  Is it possible to install the boot loader off of the

Easiest... I don't know, but I can't imagine there would be an easier
method :-). 

> CD onto the new SCSI hard disk and then just copy everything onto the new
> hard disk?  Or would it be better to back everything up onto tape and then
> restore it to the new SCSI disk?  Please point out any pitfalls I may run
> into so I can plan ahead of them.  The reason I shy away from totally
> reinstalling FreeBSD onto the new SCSI hard drive is because I've put a LOT
> of work into customizing, securing, and optimizing the server and I'd really
> like to avoid having to do all that work over again if it can be avoided.  I

Customization was also my reason not to start all over again...

> figure this process is pretty generic so I didn't include much system
> information.  Let me know if you need any more info.  Thank you for the
> help!
>
I think that article will point you in the right direction.

Good luck,

Karel. 


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?20000321015510.A72418>