From owner-freebsd-questions@FreeBSD.ORG Mon Feb 3 18:27:12 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0ED19CBA for ; Mon, 3 Feb 2014 18:27:12 +0000 (UTC) Received: from mail-oa0-x230.google.com (mail-oa0-x230.google.com [IPv6:2607:f8b0:4003:c02::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C8C3714B2 for ; Mon, 3 Feb 2014 18:27:11 +0000 (UTC) Received: by mail-oa0-f48.google.com with SMTP id l6so8511146oag.21 for ; Mon, 03 Feb 2014 10:27:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=dntcxUX+EEjo6rtsLdDUqtYUGlz8hZitddkzBbb8Taw=; b=k7OZUxVQ2PYgu2gGMBdkcX6ZaORT58VId1fDcYkDqBW1nsjc1Ilg6pXaWDkWwH5Ok4 7DzL0BKlNlT1vnU+l5LT6z4P848oFLHZoCwIi+0J7zVpnIoGspTYcCY2AL7MZPjIFoG8 IIkmRI7P36abCrGuwqyOgK7LcIstkckF6yDdS8zx4ZxZdnDy7T4jfGr61vs0TepZ0xsd VAHfuRwHigiZfFtS8dn38DZ+q3xTBNIdco8GhKGCrF+MlVdftxP40bBzcgQH101MnyfW YlHWLxj70oHMMUiNlgw9IbBmDEKo84bJj5SnJb9mFLmo7Xk8QeGn/Vn1IaigM6CBqgFb sqbA== MIME-Version: 1.0 X-Received: by 10.60.150.134 with SMTP id ui6mr2157804oeb.62.1391452031131; Mon, 03 Feb 2014 10:27:11 -0800 (PST) Received: by 10.182.45.228 with HTTP; Mon, 3 Feb 2014 10:27:11 -0800 (PST) In-Reply-To: <52EF57E6.6030408@gmail.com> References: <52EF57E6.6030408@gmail.com> Date: Mon, 3 Feb 2014 10:27:11 -0800 Message-ID: Subject: Re: ZFS: Add disk to single disk pool From: Patrick To: Johan Hendriks Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Feb 2014 18:27:12 -0000 On Mon, Feb 3, 2014 at 12:48 AM, Johan Hendriks wrote: > Patrick schreef: > >> On Sat, Feb 1, 2014 at 1:29 PM, Patrick wrote: >> >> I set up a 9.2 system following the "RootOnZFS" instructions in the wiki. >>> I have: >>> >>> # zpool status >>> pool: zroot >>> state: ONLINE >>> scan: none requested >>> config: >>> >>> NAME STATE READ WRITE CKSUM >>> zroot ONLINE 0 0 0 >>> gpt/disk0 ONLINE 0 0 0 >>> >>> I have another disk that I'd like to add to expand the size of the >>> volume, >>> but I'm not sure how to do that. >>> >>> I've prepped the disk with: >>> >>> gpart create -s gpt ada1 >>> gpart add -t freebsd-zfs -l disk1 ada1 >>> >>> I tried a few different things, but I'm clearly not getting something: >>> >>> # zpool add zroot /dev/gpt/disk1 >>> >>> cannot add to 'zroot': root pool can not have multiple vdevs or separate >>> logs >>> >>> I found the solution here: http://astralblue.livejournal. >> com/371755.html >> >> I just had to set bootfs="" temporarily while I added the new disk, and >> then set it back. >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions- >> unsubscribe@freebsd.org" >> > You do know that if one of the disks fail, you loose the whole pool?! > There is no parity to overcome a disk failure in this setup. Yes, I'm aware. This system is a VPS with virtual disks on redundant hardware and an external backup strategy. Patrick