From owner-freebsd-questions@FreeBSD.ORG Wed Jul 17 09:47:37 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8C76C648 for ; Wed, 17 Jul 2013 09:47:37 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com [IPv6:2a00:1450:400c:c05::233]) by mx1.freebsd.org (Postfix) with ESMTP id 27A22FEC for ; Wed, 17 Jul 2013 09:47:37 +0000 (UTC) Received: by mail-wi0-f179.google.com with SMTP id hj3so1713617wib.6 for ; Wed, 17 Jul 2013 02:47:36 -0700 (PDT) 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=Wyc5RSdfv26topmOIMliGFll3ZM9CFSMWD88lUWM7v8=; b=x0rUidSH3mFBzX43GhW5/9gfnzsrTrMm/9OaUkTbyWFuEw8dsi/3u5YHIKVkGKcXDQ IO9fulWHXYNhvxZFD2TrQorKAIuqCG8svcUlyo+/8tNB8ol6Htf4m5Ezg1a8Pq6A5It9 0oIhGmelsE3gs5V3HbJ1Y4nwjkxDvCLXzqfqHUs5HhmuXRPS34kM4kAK7UnFTWf0D1Kp a+MFn3M6WqseEcwiwmlYlKtfc2yX3bM2cSkFK91S0cxxflML1zL5D5XeLhZdtcVI0gmg +RL4+bwAjd2VO0CXKudjnF0MY9uwWcZZP3ihGeS1b0bcNLgL0LEDpZ11Ndt6uhJ5fOtt 3SQA== MIME-Version: 1.0 X-Received: by 10.194.2.13 with SMTP id 13mr4261036wjq.74.1374054456249; Wed, 17 Jul 2013 02:47:36 -0700 (PDT) Received: by 10.216.68.137 with HTTP; Wed, 17 Jul 2013 02:47:36 -0700 (PDT) In-Reply-To: <20130715162326.2571.qmail@irelay.ssr.com> References: <20130629162457.95950.qmail@irelay.ssr.com> <20130629191109.cd9444c9.freebsd@edvax.de> <20130629202823.97250.qmail@irelay.ssr.com> <20130715162326.2571.qmail@irelay.ssr.com> Date: Wed, 17 Jul 2013 10:47:36 +0100 Message-ID: Subject: Re: Adding another mirror to existing ZFS-root mirror? From: krad To: Scott Ballantyne Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jul 2013 09:47:37 -0000 It should boot, although i havent run that configuration myself so cant say for certain have a look at gpart backup and restore for the labels, as you might as well make them the same and expand any swap space across all four drives. DOnt forget to install the bootloader as well Alternatively you could just give the raw disks to zfs On 15 July 2013 17:23, Scott Ballantyne wrote: > Hi, > > I have the current situation: > > sdb@gigawattmomma$ zpool status zroot > > NAME STATE READ WRITE CKSUM > zroot ONLINE 0 0 0 > mirror-0 ONLINE 0 0 0 > gpt/disk0 ONLINE 0 0 0 > gpt/disk1 ONLINE 0 0 0 > > > I boot directly from this. > > This article from Oracle: > > http://docs.oracle.com/cd/E19253-01/819-5461/gazgw/index.html > > implies I can add two more disks to the zroot pool with a > > zpool add zroot mirror disk2 disk3 to get > > zroot > mirror-0 > gpt/disk0 > gpt/disk1 > mirror-1 > gpt/disk2 > gpt/disk3 > > My questions: > > 1) Will booting still work? What do I need to do to make sure I can > still boot up the system? > > Perhaps related: > > 2) How do I use gpart to prep these disks? > > The current mirror has the usual three partitions (freebsd-boot, > freebsd-swap and freebsd-zfs), with boot code installed, obviously. Do > I need to do that with the second mirror, or can I just use the whole > thing for a freebsd-zfs filesystem? > > Sorry this was a bit long. Thanks in advance for any help. > > Best, > Scott > -- > sdb@ssr.com > _______________________________________________ > 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" >