From owner-freebsd-questions Fri Apr 30 8:24:24 1999 Delivered-To: freebsd-questions@freebsd.org Received: from loviatar.webcom.com (loviatar.webcom.com [209.1.28.41]) by hub.freebsd.org (Postfix) with ESMTP id E7452150B1 for ; Fri, 30 Apr 1999 08:24:22 -0700 (PDT) (envelope-from graeme@echidna.com) Received: from kigal.webcom.com (kigal.webcom.com [209.1.28.57]) by loviatar.webcom.com (8.9.1/8.9.1) with SMTP id IAA17090 for ; Fri, 30 Apr 1999 08:24:21 -0700 Received: from [209.122.117.150] by inanna.webcom.com (WebCom SMTP 1.2.1) with SMTP id 31544622; Fri Apr 30 08:20 PDT 1999 Message-Id: <3729F55A.7E06@echidna.com> Date: Fri, 30 Apr 1999 11:24:26 -0700 From: Graeme Tait Organization: Echidna X-Mailer: Mozilla 2.02 (Win16; I) Mime-Version: 1.0 To: freebsd-questions@freebsd.org Cc: info@boatbooks.com Subject: Moving OS to a new disk References: <19990430175241.A22708@relay.ucb.crimea.ua> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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.? What is the best way to make a literal copy of the old drive on the new? I've found that tar doesn't copy all the device nodes properly (it says "minor number too large; not dumped" for many devices). I'm assuming I would temporarily mount the new drive as say /new and so the root filesystem would have to be transferred to /new , etc. -- Graeme Tait - Echidna To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message