Date: Thu, 12 Oct 2006 09:31:58 +0200 (CEST) From: Oliver Fromme <olli@lurza.secnetix.de> To: freebsd-geom@FreeBSD.ORG, spork@bway.net Subject: Re: gmirror flags? Message-ID: <200610120731.k9C7VwSZ043969@lurza.secnetix.de> In-Reply-To: <Pine.OSX.4.61.0610112027130.288@office-dhcp-30.bway.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610120731.k9C7VwSZ043969>