From owner-freebsd-geom@FreeBSD.ORG Thu Oct 12 00:33:34 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A5D9B16A403 for ; Thu, 12 Oct 2006 00:33:34 +0000 (UTC) (envelope-from spork@bway.net) Received: from xena.bway.net (xena.bway.net [216.220.96.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id F172443D8B for ; Thu, 12 Oct 2006 00:33:29 +0000 (GMT) (envelope-from spork@bway.net) Received: (qmail 28316 invoked by uid 0); 12 Oct 2006 00:33:28 -0000 Received: from unknown (HELO office-dhcp-30.bway.net) (spork@bway.net@216.220.107.30) by smtp.bway.net with (DHE-RSA-AES256-SHA encrypted) SMTP; 12 Oct 2006 00:33:28 -0000 Date: Wed, 11 Oct 2006 20:33:25 -0400 (EDT) From: Charles Sprickman To: freebsd-geom@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: gmirror flags? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Oct 2006 00:33:34 -0000 Howdy, I found gmirror as I slowly work my way from 4.x to 6.x. So far I'm finding it really easy to setup and use, and the abuse I've subjected my first test machine to has convinced me it's pretty resilient. Great work, Pawel! One thing I'm not finding documented that's got me a little puzzled is the "Flags" field in the "gmirror list" output. I dug around in the source a bit, but I'm not fluent enough to find the answer there... I noticed that on a newly-created, or newly-booted array that all providers are marked "DIRTY". After some time that changes to "NONE". What does "DIRTY" mean in this context? And just a quick one, I was able to setup a mirror on a remote box without dipping into single-user. It worked without issue (build kernel with geom_mirror, label first disk, edit fstab, reboot, add second disk to array). I'm guessing this might not be recommended, but what are the risks in doing this on a live machine? In my case it was a fresh install and I would not be seeing the box in person for a week... so I went for it since I was getting antsy to try this out. Thanks, Charles