Replacing hdd in multiboot system

Kenneth W Cochran kwc at TheWorld.com
Fri May 13 00:15:11 PDT 2005


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 at localhost.my.domain:/usr/obj/usr/src/sys/LOCAL  i386

Drives (from dmesg.boot):

da0 at dpt0 bus 0 target 0 lun 0
da0: <SEAGATE ST32550W 0021> 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: <SEAGATE ST34573LW 6246> 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: <IBM DNES-309170W S80K> 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 <kern.crit> localhost /kernel: (da1:dpt0:0:1:0): READ(06). CDB: 8 0 45 57 a 0
May 12 23:13:09 <kern.crit> localhost /kernel: (da1:dpt0:0:1:0): MEDIUM ERROR info:4557 asc:11,0
May 12 23:13:09 <kern.crit> localhost /kernel: (da1:dpt0:0:1:0): Unrecovered read error field replaceable unit: e4 sks:80,101
May 12 23:21:56 <kern.crit> localhost /kernel: (da1:dpt0:0:1:0): READ(06). CDB: 8 0 45 57 a 0
May 12 23:21:56 <kern.crit> localhost /kernel: (da1:dpt0:0:1:0): MEDIUM ERROR info:4557 asc:16,0
May 12 23:21:56 <kern.crit> localhost /kernel: (da1:dpt0:0:1:0): Data synchronization mark error field replaceable unit: d2 sks:80,101
May 12 23:22:23 <kern.crit> localhost /kernel: (da1:dpt0:0:1:0): READ(06). CDB: 8 0 45 57 a 0
May 12 23:22:23 <kern.crit> localhost /kernel: (da1:dpt0:0:1:0): MEDIUM ERROR info:4557 asc:16,0
May 12 23:22:23 <kern.crit> localhost /kernel: (da1:dpt0:0:1:0): Data synchronization mark error field replaceable unit: d2 sks:80,101
May 12 23:24:57 <kern.crit> localhost /kernel: (da1:dpt0:0:1:0): READ(06). CDB: 8 0 45 57 a 0
May 12 23:24:57 <kern.crit> localhost /kernel: (da1:dpt0:0:1:0): MEDIUM ERROR info:4557 asc:16,0
May 12 23:24:57 <kern.crit> localhost /kernel: (da1:dpt0:0:1:0): Data synchronization mark error field replaceable unit: d2 sks:80,101
May 13 00:18:01 <kern.crit> localhost /kernel: (da1:dpt0:0:1:0): READ(06). CDB: 8 0 45 57 a 0
May 13 00:18:01 <kern.crit> localhost /kernel: (da1:dpt0:0:1:0): MEDIUM ERROR info:4557 asc:16,0
May 13 00:18:01 <kern.crit> localhost /kernel: (da1:dpt0:0:1:0): Data synchronization mark error field replaceable unit: d2 sks:80,101
May 13 00:18:29 <kern.crit> localhost /kernel: (da1:dpt0:0:1:0): READ(06). CDB: 8 0 45 57 a 0
May 13 00:18:29 <kern.crit> localhost /kernel: (da1:dpt0:0:1:0): MEDIUM ERROR info:4557 asc:11,0
May 13 00:18:29 <kern.crit> localhost /kernel: (da1:dpt0:0:1:0): Unrecovered read error field replaceable unit: e4 sks:80,101


More information about the freebsd-questions mailing list