From owner-freebsd-fs@FreeBSD.ORG Wed Aug 5 14:23:17 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86FC0106564A for ; Wed, 5 Aug 2009 14:23:17 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (chello087206049004.chello.pl [87.206.49.4]) by mx1.freebsd.org (Postfix) with ESMTP id 228838FC23 for ; Wed, 5 Aug 2009 14:23:16 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 4DBA2456B1; Wed, 5 Aug 2009 16:23:15 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 6E0DA45684; Wed, 5 Aug 2009 16:23:10 +0200 (CEST) Date: Wed, 5 Aug 2009 16:23:36 +0200 From: Pawel Jakub Dawidek To: "James R. Van Artsdalen" Message-ID: <20090805142336.GJ1784@garage.freebsd.pl> References: <4A3B1020.2010305@jrv.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="C7Ke/meiCZutM6I/" Content-Disposition: inline In-Reply-To: <4A3B1020.2010305@jrv.org> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 8.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=4.5 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-fs , Randy Bush Subject: Re: adding drive to raidz1 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Aug 2009 14:23:17 -0000 --C7Ke/meiCZutM6I/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 18, 2009 at 11:12:16PM -0500, James R. Van Artsdalen wrote: > As a feature suggestion why not reject an "zpool add" of a non-redundant > vdev to a pool of redundant vdev's unless -f is given? A command of > that sort is almost always a mistake so requiring -f would seem no > hardship for anyone... This is rejected: # zpool create foobar raidz md0 md1 md2 # zpool add foobar md3 invalid vdev specification use '-f' to override the following errors: mismatched replication level: pool uses raidz and new vdev is disk --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --C7Ke/meiCZutM6I/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFKeZXoForvXbEpPzQRAg+5AJ0VxrO9v1ZCfEVEd0rPBgQMt/12wwCfcvm6 3G+Uu3lNBfCgtgoKHH9vWFU= =0r/S -----END PGP SIGNATURE----- --C7Ke/meiCZutM6I/--