From owner-freebsd-current@FreeBSD.ORG Mon Sep 27 06:28:23 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 E316A16A4CE; Mon, 27 Sep 2004 06:28:23 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1998943D2F; Mon, 27 Sep 2004 06:28:23 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (oak.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i8R6SLtl071789; Mon, 27 Sep 2004 09:28:21 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 77488-06; Mon, 27 Sep 2004 09:28:20 +0300 (EEST) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i8R6SKwZ071783 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 27 Sep 2004 09:28:20 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id i8R6SKdP090044; Mon, 27 Sep 2004 09:28:20 +0300 (EEST) (envelope-from ru) Date: Mon, 27 Sep 2004 09:28:20 +0300 From: Ruslan Ermilov To: Pawel Jakub Dawidek Message-ID: <20040927062820.GA89984@ip.net.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vtzGhvizbBRQ85DL" Content-Disposition: inline User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at ip.net.ua cc: current@FreeBSD.org Subject: gmirror questions 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: Mon, 27 Sep 2004 06:28:24 -0000 --vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Pawel, FreeBSD 5.3-BETA6 i386 I have a bunch of hopefully simple questions about gmirror(8). My /dev/mirror/m0 is a mirror of ad1 and ad3 providers, with the following file system layout: /dev/mirror/m0a / /dev/mirror/m0b swap /dev/mirror/m0f /usr /dev/mirror/m0e /var Yes, I use both root and swap in GEOM_MIRROR, yay! 1. When I try to "bsdlabel -B /dev/mirror/m0", I get: # bsdlabel -B /dev/mirror/m0 bsdlabel: Geom not found Hopefully, using "/dev/mirror/m0c" works. Any clue why this doesn't work? 2. Before a reboot, the state of the mirror was "COMPLETE". After a first reboot, everything was ok. After a second reboot, I got this: ad0: 38166MB [77545/16/63] at ata0-master UDMA100 ad1: 38204MB [77622/16/63] at ata0-slave UDMA100 ad2: 38166MB [77545/16/63] at ata1-master UDMA100 ad3: 38204MB [77622/16/63] at ata1-slave UDMA100 GEOM_MIRROR: Device m0 created (id=3D411263865). GEOM_MIRROR: Device m0: provider ad1 detected. GEOM_MIRROR: Device m0: provider ad3 detected. GEOM_MIRROR: Device m0: provider ad3 activated. GEOM_MIRROR: Device m0: provider mirror/m0 launched. GEOM_MIRROR: Device m0: rebuilding provider ad1. Any idea why it thinks ad1 should be rebuilt? 3. The syncing process takes very long, how do I tune it using the kern.geom.mirror sysctls? 4. Will the following work with GEOM_MIRROR? - mirror m0 is originally from two 10G providers (p1 and p2) - remove p2 from the mirror - add p3 of size 20G to the mirror - wait until p3 synchronizes with p1 - remove p1 from the mirror Will m0's size grow up to 20G after this procedure? Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --vtzGhvizbBRQ85DL Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBV7MEqRfpzJluFF4RAh4/AJwIXSXmLPf5XVl/DeNql7yTGvX3cACeL4Nq oAT2wBWuaBfZtVzcOqEG2vA= =i6bB -----END PGP SIGNATURE----- --vtzGhvizbBRQ85DL--