From owner-freebsd-current@FreeBSD.ORG Sun Dec 5 14:31:40 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08EF116A4CE for ; Sun, 5 Dec 2004 14:31:40 +0000 (GMT) Received: from ms-smtp-02-eri0.ohiordc.rr.com (ms-smtp-02-smtplb.ohiordc.rr.com [65.24.5.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E72643D48 for ; Sun, 5 Dec 2004 14:31:39 +0000 (GMT) (envelope-from dzerkel@columbus.rr.com) Received: from [192.168.2.29] (dhcp065-024-056-219.columbus.rr.com [65.24.56.219])iB5EVbJl026156 for ; Sun, 5 Dec 2004 09:31:37 -0500 (EST) Message-ID: <41B31BF1.50909@columbus.rr.com> Date: Sun, 05 Dec 2004 09:32:17 -0500 From: "Danny J. Zerkel" User-Agent: Mozilla Thunderbird 0.9 (X11/20041123) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: Observations about geom mirror and slices X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Dec 2004 14:31:40 -0000 Just a note about geom mirror and slices. I don't know how many people have run into this yet, but a warning may be in order in the man pages. When I first started experimenting with mirroring on my system, I naively thought I could just mirror any disk partition. Turns out this can be very bad. The problem is that if you mirror a partition that extends all the way to the end of the slice, then geom mirror will think that the mirror part is the entire slice. This is because geom mirror uses the last block for status information. When geom starts tasting the disks, geom mirror sees the last block of the whole slice before it sees the individual partitions. To avoid this, none of the partitions, except c, should include the last block of the slice. Danny J. Zerkel dzerkel@columbus.rr.com