[!!] Summary: Adding 2.1G system disk

You may recall my request for feedback on replacing a 1.05GB system disk with a 2.1GB

device.

Following responses from various people, I've just completed what I believe to be a

successful upgrade.

I had a full complement of SCSI devices, but elected to temporarily replace an

existing drive (sd1) with my new disk whilst files were transferred from sd0.

Having moved files/directories I knew I'd need from sd1, I modified /etc/fstab to

exclude sd1, and shut the system down. I then installed the 2.1GB disk as sd1 and

rebooted. I used format to define the disk partitions and then newfs'd them. I then

mounted each new partition (using /part1a and /part1g mount points in /).

The file transfer from old disk to new was easy: (using sd0a as the example)

  cd /part1a

  dump 0f - /dev/rsd0a | restore rf -

The / and /usr partitions were moved across.

The only tricky part came in trying to install bootstrap information to the drive.

The normal installboot command goes something like:

  cd /usr/kvm/mdec

  installboot -vlt /boot bootsd /dev/rsd1a

This failed (since I was working across disks) and was corrected by:

  cd /part1g/kvm/mdec

  installboot -vlt /part1a/boot bootsd /dev/rsd1a

/etc/fstab was editied to reflect the new file systems.

I also took the opportunity to move the /home partition from /dev/sd0h onto another

disk, /dev/sd1c. Fortunately, I had an almost empty disk to use as a temporary

repository for the files off the /home partition.

All-in-all, a very successful afternoon's work.

BUT!! It would not have been so easy had it not been for the invaluable contributions

of the following people, particularly Ingolf Markhof. If I have missed anyone out, I

apologise....these are the messages I received directly.

!!

bonomi@delta.eecs.nwu.edu (Robert Bonomi)

Peter Koch - DA Gesmann <koch@informatik.uni-kl.de>

Andrew Arensburger <arensb@cfar.umd.edu>

Ingolf Markhof <markhof@ls12r.informatik.uni-dortmund.de>

karl@grebyn.com

Carl Mueller <mueller@cs.unc.edu>

!!

Again, many thanks!!

Gary


---

#include <Std_Caveats.h>

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Contact Details: gcs@tstsp0.dsto.gov.au _/_/_/_/ _/_/_/_/ _/_/_/_/
Gary C Speechley CIS: [100236,2246] _/ _/ _/
DSTO Australia Wk: +61 2 692 1432 ph _/ _/_/ _/ _/_/_/_/
PO Box 44 +61 2 660 0019 fx _/ _/ _/ _/
PYRMONT NSW 2009 Hm: +61 2 570 3870 ph/fx _/_/_/_/ _/_/_/_/ _/_/_/_/
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Ask me about BMW Club NSW =-=-=

[3933 byte] By [CodeProf.com] at [2007-12-25 8:47:00]