From owner-freebsd-geom@FreeBSD.ORG Wed Jan 24 19:30:56 2007 Return-Path: X-Original-To: freebsd-geom@FreeBSD.ORG Delivered-To: freebsd-geom@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EDA7716A401 for ; Wed, 24 Jan 2007 19:30:56 +0000 (UTC) (envelope-from don_oles@able.com.ua) Received: from able.com.ua (able.com.ua [80.91.162.66]) by mx1.freebsd.org (Postfix) with ESMTP id A04CA13C461 for ; Wed, 24 Jan 2007 19:30:56 +0000 (UTC) (envelope-from don_oles@able.com.ua) Received: from able.com.ua (localhost [127.0.0.1]) by able.com.ua (Postfix) with ESMTP id C7E0244C50 for ; Wed, 24 Jan 2007 20:59:29 +0200 (EET) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=selector1; d=able.com.ua; h=Received:Date:From:X-Mailer:Reply-To:X-Priority:Message-ID:To:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; b=a833DoNtm/njp9SVwJ7TtgnGPpRvXwfIIDt0jBqc8HCmyJfS+A0xZvE2Q11yYMGTlbP3AgLNPnpGYXvuzBHBCFEij9qk4YRfIRDfxmAaLubWECYqeAcKMADI1MEwwS8f12g/Owwov3cVINrD6jRG0T8rfn9VhArDe6hCNJ+s+9A=; Received: from localhost (localhost [127.0.0.1]) by able.com.ua (Postfix) with ESMTP id 7FA9244C4F for ; Wed, 24 Jan 2007 20:59:29 +0200 (EET) Date: Wed, 24 Jan 2007 20:59:33 +0200 From: Oles Hnatkevych X-Mailer: The Bat! (v3.71.01) Professional X-Priority: 3 (Normal) Message-ID: <1627867361.20070124205933@able.com.ua> To: freebsd-geom@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP at ABLE Cc: Subject: gmirror existing installation? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Oles Hnatkevych List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jan 2007 19:30:57 -0000 Hello, freebsd-geom gurus. There's a simple way of gmirroring existing installation. > sysctl kern.geom.debugflags=16 # allow writing to a live filesystem > gmirror label -v gm0 /dev/ad0 > # edit /etc/fstab, chane to /dev/mirror/gm0... slices > # add "geom_mirror_load=YES" to /boot/loader.conf > # reboot > gmirror insert gm0 /dev/ad1 I just wonder if may cause any problems. I see that "sysinstall" when told "A" to use whole disk reserves for some reason some extra space at the end of the ad0, so there won't be a problem with last-sector metadata. But I see that the ad0/ad1 geometry and the gm0 geometry is quite different in number of cylinders and heads. Since the original system was labeled according to one "mediasize", and now label "lives" on another "mediasize" (that should be less in size) I wonder if the above method of mirroring existing installation is 100% correct? And yet the MBR partition table was created using another "units"... -- Best wishes, Oles