From owner-freebsd-questions@freebsd.org Mon Sep 19 18:29:06 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F2809BE1486 for ; Mon, 19 Sep 2016 18:29:06 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 98C36B15 for ; Mon, 19 Sep 2016 18:29:06 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: by mail-wm0-x22d.google.com with SMTP id l132so166418359wmf.0 for ; Mon, 19 Sep 2016 11:29:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=Mgx00q61ZUp1opqQbxYlYXhxHaVhi83Uax0S3MFWD0A=; b=Mqco8eYDAf/GLvop9YS31IQF7NiS19PQ+UZ9ZQrp4/tlv+nxsSvod2C2QVwFPmumwK MJl7NYjLW5SIom770xP5pI4RMloN9Ln+zZfQl1DzmV8wuJRNNVUzO/jmBgbVw6rD5Bf1 roZqVvzmellXYYR/G4MlYnaHdtOPxMnaRUS3vL17oiYqGYSvVB2ZAwq4lMPWPsecZUzR 7ExROIWsHTTiNpzW+RrYvuScCznXuy7ryVE+MniJ4NBSLX79i6ya3KMpmO8roYMjblOH kcFYcLJVIOngU6uLEzlJANB4KGNPZ3uw5t/+F2U8JTlZbWP4GSUBnwfKWg/nFT5xR/g/ yekQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=Mgx00q61ZUp1opqQbxYlYXhxHaVhi83Uax0S3MFWD0A=; b=KpFIusktt7zBazP+esjERkW2ms8XaYbq8cdHZFWWMtTnHe8iIodw4J6UgPoJC/EQwW ffLtNJbY8zSxeV0bqsSrI97fzJg6I1vXJ3RasySxPm1XU+G9YAQDFAvVBGpY5ms15AZf MtiTYftnZzn3+ykNXAYwOwt1MZP0RMYZskAAClOmJCbgMyuTgf2RR1XiRVAPF1k1NLqn FK/Pi7xpaOF6Y039JPebQ+6DNr1Ip7fveKVUdE0SbbfwBWvjx7O+moc7/uVX1f1nPGX+ xP2KoHFVUbzd19hmlLJkao2Y5emox/tBOemr34doymFm5VrMbYWRkGdGvOV+f1u3lxsU k6bQ== X-Gm-Message-State: AE9vXwOmEtxL87g93axagh8oQWu4w0VTbyh+PyRFXsIROygoXqiozPnQD3bwdb1iQU4TrQ== X-Received: by 10.28.103.70 with SMTP id b67mr9848170wmc.43.1474309744652; Mon, 19 Sep 2016 11:29:04 -0700 (PDT) Received: from Johans-MacBook-Air-2.local (92-111-79-242.static.chello.nl. [92.111.79.242]) by smtp.googlemail.com with ESMTPSA id 4sm23236571wmu.2.2016.09.19.11.29.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Sep 2016 11:29:03 -0700 (PDT) Subject: Re: Replacing all disks in zroot To: Malcolm Matalka , freebsd-questions@freebsd.org References: <861t0ik43m.fsf@gmail.com> From: Johan Hendriks Message-ID: Date: Mon, 19 Sep 2016 20:29:02 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <861t0ik43m.fsf@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2016 18:29:07 -0000 Op 17/09/16 om 16:12 schreef Malcolm Matalka: > Hello, > > Right now I have a ZFS on root on FreeBSD 10.3. Currently I only have 1 > disk in zroot and it's too small. So I would like to do the following > thing, but I'm not sure if I need to do some special work to make the > new setup bootable. > > 1. Bought 2 new, larger HDs. > > 2. Going to add one of them to the existing disk as a mirror and let it > resilver. > > 3. Replace the small drive with the second drive I bought, removing the > smaller drive. > > As I understand it, after this I will have the larger capacity, > mirrored. But will this be bootable? Do I have to do something else to > copy the boot setup over? > > Thanks, > /Malcolm > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" That should do the trick, like Mike said, you will need a boot partition and a swap partition. Also use the right command with zpool. So do not use add but ATTACH, this way you create a mirror. If you add a disk , your pool is then a pool with two vdevs without any redendency. regards Johan