Date: Fri, 30 Apr 1999 12:45:08 -0700 (PDT) From: Doug White <dwhite@resnet.uoregon.edu> To: Graeme Tait <graeme@echidna.com> Cc: freebsd-questions@FreeBSD.ORG, info@boatbooks.com Subject: Re: Moving OS to a new disk Message-ID: <Pine.BSF.4.03.9904301243330.16807-100000@resnet.uoregon.edu> In-Reply-To: <3729F55A.7E06@echidna.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 30 Apr 1999, Graeme Tait wrote: > I have a system (2.2.8S/CAM) in which the primary hard drive has become > flaky (it powers itself down periodically). This drive contains all the > OS. > > I have a second identical drive, and my thought to ease replacement is to > install the second drive as da1 (SCSI ID 1; the existing drive is da0/ID > 0), partition it identically, and transfer everything from the old drive. > I'd then remove the old drive, and jumper the new drive as SCSI ID 0 and > have it appear as da0. > Do I need to change the disklabel on the new drive or do anything else in > changing the SCSI ID - that is, is the device name embedded in the label, > etc.? No. Just make sure /etc/fstab is correct before you pull the switch. I've hung myself many a time by forgetting to fiddle that file. :) > What is the best way to make a literal copy of the old drive on the new? Either ue a pipe of tars or dump piped to restore. > I've found that tar doesn't copy all the device nodes properly (it says > "minor number too large; not dumped" for many devices). There's an option to key this on. Carefully read your man pages. Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org 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?Pine.BSF.4.03.9904301243330.16807-100000>