openbsd-misc
[Top] [All Lists]

Re: image of a harddrive

To: <guinness-list@redhat.com>
Subject: Re: image of a harddrive
From: Chris Kloiber <ckloiber@redhat.com>
Date: Wed, 28 Feb 2001 13:43:04 -0500 (EST)
Cc: <misc@openbsd.org>
In-reply-to: <F119BNlJbSorxTjtRpe00023076@hotmail.com>
Sender: owner-misc@openbsd.org
On Wed, 28 Feb 2001, cameron charlebois wrote:

>      I have an OpenBSD box and a RH 7.0 box running on my LAN. I want to
> rebuild the OpenBSD, but I want to have a fail safe incase I botch it and
> need the box back in a hurry. So I thought just do a "dd" of the entire
> drive and dump the resulting image to the RH 7.0 box. The OpenBSD HD is only
> 500MB and the RH7.0 has tons of space, (>15gig free).
>      If I do a "dd if=/dev/wd0a of=<need to reference the RH box here>" I
> get /dev/wdoa is busy. I thought I should boot off of a floppy and do the dd
> but the question is how do I reference the RH box to dump the image there?
> The RH box is a fileserver that has Samba running, (no nfs but there is
> samba).
>      Any help would rock!
>
> -Cam

I think your best bet would be to replace the 500M drive and keep the
original as your backup. Drives are dirt cheap (especially old ones).

Otherwise you could try Tom's root&boot if your BSD box is using a
supported NIC and if Tom has smbfs support in his kernel. Your current
problem seems to me that the parttion you are trying to dd is busy
(mounted rw).

Chris Kloiber


<Prev in Thread] Current Thread [Next in Thread>