From owner-freebsd-questions@FreeBSD.ORG Mon Aug 1 15:04:52 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16142106564A for ; Mon, 1 Aug 2011 15:04:52 +0000 (UTC) (envelope-from dick@nagual.nl) Received: from smtpq3.tb.mail.iss.as9143.net (smtpq3.tb.mail.iss.as9143.net [212.54.42.166]) by mx1.freebsd.org (Postfix) with ESMTP id C02318FC08 for ; Mon, 1 Aug 2011 15:04:51 +0000 (UTC) Received: from [212.54.42.149] (helo=smtp17.tb.mail.iss.as9143.net) by smtpq3.tb.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1Qnu30-0005bG-A7 for freebsd-questions@freebsd.org; Mon, 01 Aug 2011 17:04:50 +0200 Received: from 524944af.cm-4-2b.dynamic.ziggo.nl ([82.73.68.175] helo=mail.nagual.nl) by smtp17.tb.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1Qnu2x-0003dX-8g for freebsd-questions@freebsd.org; Mon, 01 Aug 2011 17:04:47 +0200 Received: from [192.168.11.37] (192.168.11.37) by yanta (Axigen) with (CAMELLIA256-SHA encrypted) ESMTPSA id 3E5A52; Mon, 1 Aug 2011 17:05:28 +0200 Message-ID: <4E36C09E.8050709@nagual.nl> Date: Mon, 01 Aug 2011 17:05:02 +0200 From: Dick Hoogendijk User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: Dan Nelson References: <4E36B89A.4090200@nagual.nl> <20110801143754.GD59252@dan.emsphone.com> In-Reply-To: <20110801143754.GD59252@dan.emsphone.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AxigenSpam-Level: 4 X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1Qnu2x-0003dX-8g X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: geen spam, SpamAssassin (niet cached, score=-0.176, vereist 5, BAYES_00 -1.90, FH_HOST_EQ_D_D_D_D 0.67, RDNS_DYNAMIC 0.98, TW_ZF 0.08) X-ZiggoSMTP-MailScanner-From: dick@nagual.nl X-Spam-Status: No Cc: FreeBSD Questions Subject: Re: larger disk for a zfs pool X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Aug 2011 15:04:52 -0000 Op 1-8-2011 16:37, Dan Nelson schreef: > In the last episode (Aug 01), Dick Hoogendijk said: >> OK, my freebsd system runs on ZFS boot. W/ solaris getting larger disks >> for a pool was quit easy. Simply replace one disk from a mirror for a >> larger one, wait for the resilvering and after this replace the second >> one for a larger disk and wait for the resilvering again. That's it. >> Been there, done that. But my feeling tells me it is not that simple for >> a FreeBSD zfs root system, or is it? > Should be the same procedure. Make sure you either use "zpool online -e" > when swapping in the new disks, or that you have the zpool autoexpand=on > attribute set. But I'm confused about the gpart thing I did on the original disks. $ gpart show => 34 156301421 ad4 GPT (75G) 34 128 1 freebsd-boot (64K) 162 8388608 2 freebsd-swap (4.0G) 8388770 147912685 3 freebsd-zfs (71G) => 34 156301421 ad6 GPT (75G) 34 128 1 freebsd-boot (64K) 162 8388608 2 freebsd-swap (4.0G) 8388770 147912685 3 freebsd-zfs (71G) Do I repeat this gpart section on the new disk(s) before putting them in the rpool (one at a time). Is it compatrible to putting the solaris bootcode on disk before attaching them to a rootpool and resilvering? I want to expand my rootpool but am a little confused about the right procedure.