Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Aug 2009 16:23:36 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        "James R. Van Artsdalen" <james-freebsd-fs2@jrv.org>
Cc:        freebsd-fs <freebsd-fs@freebsd.org>, Randy Bush <randy@psg.com>
Subject:   Re: adding drive to raidz1
Message-ID:  <20090805142336.GJ1784@garage.freebsd.pl>
In-Reply-To: <4A3B1020.2010305@jrv.org>
References:  <m2bpol6v8r.wl%randy@psg.com> <4A3B1020.2010305@jrv.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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/--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090805142336.GJ1784>