From owner-freebsd-fs@FreeBSD.ORG Thu Jun 18 22:40:19 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 4E4691065670 for ; Thu, 18 Jun 2009 22:40:19 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.240]) by mx1.freebsd.org (Postfix) with ESMTP id 08CA18FC13 for ; Thu, 18 Jun 2009 22:40:18 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: by an-out-0708.google.com with SMTP id c3so606920ana.13 for ; Thu, 18 Jun 2009 15:40:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=NLwSMy0zUwMzh/ySlhGGq+qruI8q5RLPR36cIydJihU=; b=RhT/HbEyiBvdjAUBdL3UIj9CNWPO8AmtOC3stAhUN5Kj8IzH5Ai9Ry4U0UzKn07w9u JJUR/IMTkG4aA2PkGe5m5EIogppyIguiry5vYo4Buj6BpiV3BOA0sIbeOJFljPzKf+Sw Yc+8pxNRA9zqd/gneeL+1qhhBWU7CeLr9T6R4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=phs2cIaLHvt8Fx+r+8rXEOxuhvQN+BaKVOLbSR5Z/ckQYhjNS6hXQwKk4kp7qBJPG3 2iLTwrxMprVff0xCL7tZiZp6IkBQlwbST2Z8XouBpLfdn/vmyuXi7WbuTrzIlyqlYImQ u853yjpajgtwCJevRuZPvBExcJ074r491zzgo= MIME-Version: 1.0 Received: by 10.100.255.7 with SMTP id c7mr2821815ani.137.1245364818385; Thu, 18 Jun 2009 15:40:18 -0700 (PDT) In-Reply-To: <4A3ABF76.3020905@modulus.org> References: <4A3ABF76.3020905@modulus.org> Date: Fri, 19 Jun 2009 01:40:18 +0300 Message-ID: From: Dan Naumov To: Andrew Snow Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Randy Bush , freebsd-fs@freebsd.org 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: Thu, 18 Jun 2009 22:40:19 -0000 To reiterate, you cant just add a single disk drive to a raidz1 or raidz2 pool. This is a known limitation (you can check with SUN ZFS docs). If you have an existing raidz and you MUST increase that particular pool's storage capabilities, you have 3 options: 1) Add a raidz of the same configuration to the pool (think 3 disk raidz + 3 disk raidz or 5 + 5, for example) 2) Replace each (and every) disk in your raidz pool one by one, letting it resilver after inserting each upgraded disk 3) Backup your data, destroy your pool and create a new raidz pool with a bigger amount of disks. - Dan Naumov On Fri, Jun 19, 2009 at 1:28 AM, Andrew Snow wrote: > Randy Bush wrote: >> >> so, i made the jet-lagged mistake of saying >> >> =A0 =A0# zpool add tank ad7s1 >> when i wanted to add it to the raidz1. >> >> =A0 =A0# zpool remove tank ad7s1 >> =A0 =A0cannot remove ad7s1: only inactive hot spares or cache devices ca= n be >> removed >> =A0 =A0# zpool offline tank ad7s1 >> =A0 =A0cannot offline ad7s1: no valid replicas >> >> how do i pry it off of the pool and stick it into the raidz1? > > > *braces* =A0You can't, without recreating the whole zpool.