From owner-freebsd-questions@FreeBSD.ORG Fri May 13 07:15:11 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F392D16A4CE for ; Fri, 13 May 2005 07:15:10 +0000 (GMT) Received: from TheWorld.com (pcls2.std.com [192.74.137.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id 477B143D55 for ; Fri, 13 May 2005 07:15:10 +0000 (GMT) (envelope-from kwc@shell.TheWorld.com) Received: from shell.TheWorld.com (root@shell01.theworld.com [192.74.137.71]) by TheWorld.com (8.12.8p1/8.12.8) with ESMTP id j4D7F0C8027340; Fri, 13 May 2005 03:15:07 -0400 Received: (from kwc@localhost) by shell.TheWorld.com (8.9.3/8.9.3) id CAA5013623; Fri, 13 May 2005 02:32:33 -0400 (EDT) Date: Fri, 13 May 2005 02:32:33 -0400 (EDT) From: Kenneth W Cochran Message-Id: <200505130632.CAA5013623@shell.TheWorld.com> To: freebsd-questions@freebsd.org Subject: Replacing hdd in multiboot system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 May 2005 07:15:11 -0000 Hello -questions: I have a failing hdd and could use some input/advice as to a strategy for replacing it. See below for system/configuration information (more on request). Based on reported/logged information and on usage patterns, da1 is the failing drive & I need to replace it. Notes: This system is triple-bootable via (Linux) LILO. OSes are MS-DOS, Linux and FreeBSD. Each drive contains several filesystems. da0 is MS-DOS only (+ a couple of non-bootable UFS filesystems). da0 has LILO installed into the MBR. FreeBSD boots from da1, which also contains the root filesystem. da1 has both Linux (Slackware 7.0 I think) and FreeBSD. da1 is backed up (via scp/rsync to another local FreeBSD system) and can be replaced when convenient. What I (think I) want to do: 1. Using a separate similar system, install/configure FreeBSD (4 or 5, most likely 5.4 when the CDs arrive) onto a drive that will become da1. Linux can disappear. 2. Dual-boot MS-DOS (for the time being :) and FreeBSD. DOS needs to boot from da0 and FreeBSD needs to boot/root from da1. Questions: 1. Can I boot MS-DOS from da0 and FreeBSD from da1 using boot managers available with FreeBSD? If so, how do I configure that? (In other words, replace LILO on da0.) 2. FreeBSD's boot "remembers" what was last booted & uses that; how do I configure a "default" booting OS? 3. I might replace that old dpt HBA with, say, an Adaptec or a Symbios-based Tekram; will that affect things such as drive geometries? 4. Anything I might be missing here? Common overlooked issues? Warnings? Gotchas? Documentation pointers are, of course, quite welcome. Please cc me as I'm not subscribed to -questions. Thanks, -kc ---------------------------------------- System/configuration: uname -a: FreeBSD localhost.my.domain 4.10-STABLE FreeBSD 4.10-STABLE #0: Sun Nov 28 03:17:35 CST 2004 kwc@localhost.my.domain:/usr/obj/usr/src/sys/LOCAL i386 Drives (from dmesg.boot): da0 at dpt0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: Tagged Queueing Enabled da0: 2047MB (4193546 512 byte sectors: 255H 63S/T 261C) da1 at dpt0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-2 device da1: Tagged Queueing Enabled da1: 4243MB (8689787 512 byte sectors: 255H 63S/T 540C) da2 at dpt0 bus 0 target 2 lun 0 da2: Fixed Direct Access SCSI-3 device da2: Tagged Queueing Enabled da2: 8748MB (17916239 512 byte sectors: 255H 63S/T 1115C) Relevant pieces from /var/log/messages: May 12 23:13:09 localhost /kernel: (da1:dpt0:0:1:0): READ(06). CDB: 8 0 45 57 a 0 May 12 23:13:09 localhost /kernel: (da1:dpt0:0:1:0): MEDIUM ERROR info:4557 asc:11,0 May 12 23:13:09 localhost /kernel: (da1:dpt0:0:1:0): Unrecovered read error field replaceable unit: e4 sks:80,101 May 12 23:21:56 localhost /kernel: (da1:dpt0:0:1:0): READ(06). CDB: 8 0 45 57 a 0 May 12 23:21:56 localhost /kernel: (da1:dpt0:0:1:0): MEDIUM ERROR info:4557 asc:16,0 May 12 23:21:56 localhost /kernel: (da1:dpt0:0:1:0): Data synchronization mark error field replaceable unit: d2 sks:80,101 May 12 23:22:23 localhost /kernel: (da1:dpt0:0:1:0): READ(06). CDB: 8 0 45 57 a 0 May 12 23:22:23 localhost /kernel: (da1:dpt0:0:1:0): MEDIUM ERROR info:4557 asc:16,0 May 12 23:22:23 localhost /kernel: (da1:dpt0:0:1:0): Data synchronization mark error field replaceable unit: d2 sks:80,101 May 12 23:24:57 localhost /kernel: (da1:dpt0:0:1:0): READ(06). CDB: 8 0 45 57 a 0 May 12 23:24:57 localhost /kernel: (da1:dpt0:0:1:0): MEDIUM ERROR info:4557 asc:16,0 May 12 23:24:57 localhost /kernel: (da1:dpt0:0:1:0): Data synchronization mark error field replaceable unit: d2 sks:80,101 May 13 00:18:01 localhost /kernel: (da1:dpt0:0:1:0): READ(06). CDB: 8 0 45 57 a 0 May 13 00:18:01 localhost /kernel: (da1:dpt0:0:1:0): MEDIUM ERROR info:4557 asc:16,0 May 13 00:18:01 localhost /kernel: (da1:dpt0:0:1:0): Data synchronization mark error field replaceable unit: d2 sks:80,101 May 13 00:18:29 localhost /kernel: (da1:dpt0:0:1:0): READ(06). CDB: 8 0 45 57 a 0 May 13 00:18:29 localhost /kernel: (da1:dpt0:0:1:0): MEDIUM ERROR info:4557 asc:11,0 May 13 00:18:29 localhost /kernel: (da1:dpt0:0:1:0): Unrecovered read error field replaceable unit: e4 sks:80,101