From owner-freebsd-geom@FreeBSD.ORG Thu Oct 12 07:33:31 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 995A016A4C9 for ; Thu, 12 Oct 2006 07:33:31 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA1F043DAE for ; Thu, 12 Oct 2006 07:32:30 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (wluzyr@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id k9C7VwFF043970; Thu, 12 Oct 2006 09:32:03 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id k9C7VwSZ043969; Thu, 12 Oct 2006 09:31:58 +0200 (CEST) (envelope-from olli) Date: Thu, 12 Oct 2006 09:31:58 +0200 (CEST) Message-Id: <200610120731.k9C7VwSZ043969@lurza.secnetix.de> From: Oliver Fromme To: freebsd-geom@FreeBSD.ORG, spork@bway.net In-Reply-To: X-Newsgroups: list.freebsd-geom User-Agent: tin/1.8.2-20060425 ("Shillay") (UNIX) (FreeBSD/4.11-STABLE (i386)) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Thu, 12 Oct 2006 09:32:04 +0200 (CEST) Cc: Subject: Re: gmirror flags? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-geom@FreeBSD.ORG, spork@bway.net 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 07:33:31 -0000 Charles Sprickman wrote: > 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? It means that some data that has been written hasn't yet been synchronized to all consumers. It's normal that you see "DIRTY" on an active filesystem. > 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? I've done that several times, too. I don't think there's a particular risk. In fact, I think the Handbook chapter on gmirror suggests that it can be done in multi-user mode. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs." -- Robert Firth