From owner-freebsd-questions@FreeBSD.ORG Sun Feb 2 23:52:09 2014 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BD63F292 for ; Sun, 2 Feb 2014 23:52:09 +0000 (UTC) Received: from mail-ob0-x235.google.com (mail-ob0-x235.google.com [IPv6:2607:f8b0:4003:c01::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 84DB012E2 for ; Sun, 2 Feb 2014 23:52:09 +0000 (UTC) Received: by mail-ob0-f181.google.com with SMTP id va2so7029509obc.26 for ; Sun, 02 Feb 2014 15:52:07 -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 :content-type; bh=jBfoI8Q1g620jfQVksRk/2zUpkhD7FvGXAHPyMDDgqk=; b=kxuLEs8NkDoFiEkcZ5SqxZkErcYapeLFHufr3hmCaE0s4G1h30vXzRr7XSoUtqeeHZ B19rUc+lbeNeE29KZgRlBxgIJwFWYqizWX4VzVIEX9Gx0h90qj81OWs5LR6m0Do3UvUe 6XA3OSbQuPf6xBc8mtJaETPapYAoPQHal5OuB9kCgZGUZt7pPKjBJj57DUSGz5k/xDup Xajxp/KvS8wkWRfr5FmIMxrZDofhl+QfeW10aERMzj06jxmrHbPWgCGpVp89LKedUPui aTjxUUdR+JVDZ3fUOGuN2B+vT383hRhTVUOlqI9Skjuxz1SZ7zj7wLdIuoSE9Jo4uONu Y4Dg== MIME-Version: 1.0 X-Received: by 10.182.194.78 with SMTP id hu14mr27414218obc.8.1391385127318; Sun, 02 Feb 2014 15:52:07 -0800 (PST) Received: by 10.182.45.228 with HTTP; Sun, 2 Feb 2014 15:52:07 -0800 (PST) In-Reply-To: References: Date: Sun, 2 Feb 2014 15:52:07 -0800 Message-ID: Subject: Re: ZFS: Add disk to single disk pool From: Patrick To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 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: Sun, 02 Feb 2014 23:52:09 -0000 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.