From owner-freebsd-questions Fri Apr 30 12:45:21 1999 Delivered-To: freebsd-questions@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id 3C0571554E for ; Fri, 30 Apr 1999 12:45:18 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id MAA12331; Fri, 30 Apr 1999 12:45:09 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Fri, 30 Apr 1999 12:45:08 -0700 (PDT) From: Doug White To: Graeme Tait Cc: freebsd-questions@FreeBSD.ORG, info@boatbooks.com Subject: Re: Moving OS to a new disk In-Reply-To: <3729F55A.7E06@echidna.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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