From owner-freebsd-questions@FreeBSD.ORG Wed Jan 26 20:47:36 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 777391065673 for ; Wed, 26 Jan 2011 20:47:36 +0000 (UTC) (envelope-from christer.solskogen@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 483A48FC18 for ; Wed, 26 Jan 2011 20:47:36 +0000 (UTC) Received: by pzk32 with SMTP id 32so154140pzk.13 for ; Wed, 26 Jan 2011 12:47:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=Cz0QJFXWyXrAlErIlTSncqJ6ZoGS2SmzTltdJpgqCwI=; b=P7oqcO4wf8Jmj+WTK1XgeivdbLhowyXk/bp1qXwDSGJRzxs+6e/IfzLVylleBTKl0b M4QyNezHVpn8EgFQcz9sEUcw04xuC8KppARY6sj9Z4WYusqV7BxBnPM15ft14GFuYd5p 9ahsFxbahbTujN5XaZLYTCZDObOIIePcNfKSc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=G3sh8o6Pki43RssaBIgKiPFnA9JMXhXVu8gNfByvdNsF72H1wsojajsxa/ZUA0HcSF O+vwO21yQ2wLiubEdtqZfQdSgkFGxpMbxB0fIqBfCJZoMcCb4H8kakrM58CO42ynpxLl LE5Yr31GJzKAAaUqKN7TiJWAk1jcPmg7p6XcU= Received: by 10.142.51.8 with SMTP id y8mr905572wfy.183.1296074855687; Wed, 26 Jan 2011 12:47:35 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.72.2 with HTTP; Wed, 26 Jan 2011 12:47:15 -0800 (PST) In-Reply-To: <20110126204233.GN75125@dan.emsphone.com> References: <4D3FDE82.4000105@mail.zedat.fu-berlin.de> <20110126195800.GM75125@dan.emsphone.com> <20110126204233.GN75125@dan.emsphone.com> From: Christer Solskogen Date: Wed, 26 Jan 2011 21:47:15 +0100 Message-ID: To: Dan Nelson Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "O. Hartmann" , freebsd-questions@freebsd.org Subject: Re: FreeBSD 9/ZFS: Striped Pool (2 disks) migrating to mirror (onto additional disk) 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: Wed, 26 Jan 2011 20:47:36 -0000 On Wed, Jan 26, 2011 at 9:42 PM, Dan Nelson wrote= : > ZFS lets you add and detach mirrors on the fly, since you're not changing > the capacity of the pool itself. =A0Sure, you're going to lose the conten= ts of > the large 2TB drive, but that's sort of assumed. =A0You can't convert 4TB= of > non-mirrored disks into 2TB of mirrored disks without losing 2TB of space= . > Just make sure you have less than 2TB total used data on all volumes, and > copy the data off the 2TB filessytem onto the striped 1+1TB one before > repartitioning and adding the mirrors. > > =A0zpool attach [-f] pool device new_device > The problem is that you cant attach a drive to a vdev that consists of two striped disks. --=20 chs,