From owner-freebsd-questions@FreeBSD.ORG Fri Oct 1 20:39:17 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DFEC216A4CF for ; Fri, 1 Oct 2004 20:39:16 +0000 (GMT) Received: from mail.elvandar.org (redqueen.elvandar.org [217.148.169.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4821743D53 for ; Fri, 1 Oct 2004 20:39:16 +0000 (GMT) (envelope-from remko@elvandar.org) Received: from localhost (localhost [127.0.0.1]) by mail.elvandar.org (Postfix) with ESMTP id F05AD295494; Fri, 1 Oct 2004 20:32:28 +0200 (CEST) Received: from mail.elvandar.org ([127.0.0.1]) by localhost (redqueen.elvandar.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 63119-06; Fri, 1 Oct 2004 20:32:27 +0200 (CEST) Message-ID: <415DA2BB.4010408@elvandar.org> Date: Fri, 01 Oct 2004 20:32:27 +0200 From: Remko Lodder User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Matt Staroscik References: <20041001171949.885F316A4F3@hub.freebsd.org> <6.1.2.0.2.20041001102302.0cd64560@wrongcrowd.com> In-Reply-To: <6.1.2.0.2.20041001102302.0cd64560@wrongcrowd.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at elvandar.org cc: freebsd-questions@freebsd.org Subject: Re: How do you duplicate a drive? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Oct 2004 20:39:17 -0000 Matt Staroscik wrote: > > I have a RAID mirror (2x 160GB) which I would like to back up onto a > spare 160GB drive. > > I do not have a hot-swap caddy so I was planning on powering down the > system to get the backup drive in and out. > > But once I have the new blank drive in, what is the best way to > duplicate the RAID? Ideally I would like to create a disk that could > boot the system (and rebuild the RAID) in case disaster strikes. > > Can dd do this? > > I am new to Unix disk operations... Many thanks in advance for the help. > I think that dd if=/dev/ of=/dev/ would work in duplicating the entire raid disk. I don't know if there are better ways, so if someone knows them, we would like to know ;) Cheers! -- Kind regards, Remko Lodder |remko@elvandar.org Reporter DSINet |remko@dsinet.org Projectleader Mostly-Harmless |remko@mostly-harmless.nl Founder Tienervaders |remko@tienervaders.org