On Dec 10, 2007 5:40 AM, Khalid Schofield <lists@sgi.materials.ox.ac.uk> wrote:
There's no way to do this without downtime, but you can probably
minimize it by 1) cloning over the network (i.e. put the scsi in a
different box, and use `scp mailserver:/$part dev_box:/mnt/$part`
(where part is one of 'home', 'usr', 'var') 2) figuring out what files
are getting written to and cloning them last, since you must shutdown
the mailserver for this or risk losing consistency. Since it's a
mailserver, you can probably copy every partition except for var
without shutting down the machine.
You can't copy the disklabels directly because the disks are different
sizes, so you'll have to re-disklabel manually. Plug the scsi into an
extra box OpenBSD box you have lying around (you have extras, right?).
fdisk and disklabel the scsi. Mount its partitions somewhere (I
suggested /mnt/$part but you can pick).
Does this help?
-Nick