Re: copy root disk from IDE to scsi

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: OpenBSD-Misc <misc@...>
Date: Monday, December 10, 2007 - 11:15 am

On Dec 10, 2007 5:40 AM, Khalid Schofield 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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
copy root disk from IDE to scsi, Khalid Schofield, (Mon Dec 10, 6:40 am)
Re: copy root disk from IDE to scsi, Nick Guenther, (Mon Dec 10, 11:15 am)