Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jul 2010 09:40:21 -0700
From:      Freddie Cash <fjwcash@gmail.com>
To:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: Problems replacing failing drive in ZFS pool
Message-ID:  <AANLkTika-mXsxxXnjBh-uLaQWsapqQWb9eIl-ziIPOum@mail.gmail.com>
In-Reply-To: <AANLkTilv55EfY24y9RsYw_NDYVsReghqM1Ydpk4tRoHN@mail.gmail.com>
References:  <AANLkTimOrwHe7xiwoap2H2mUtA7vU6TjENkPC4yJ02_z@mail.gmail.com> <AANLkTimOIgCIO4txpPeeoMrRSYAqM25V7cm-h7djmZUC@mail.gmail.com> <AANLkTikPOgIqkm3GhIsEnvuvEHvlc44cnh6GJQ1k7Ja_@mail.gmail.com> <AANLkTimgi2Btzv9krZZPHCPiyCcwtQyF72BmRzA1kuvi@mail.gmail.com> <AANLkTilv55EfY24y9RsYw_NDYVsReghqM1Ydpk4tRoHN@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 19, 2010 at 9:33 AM, Garrett Moore <garrettmoore@gmail.com> wrote:
> I forgot to ask in the last email, is there a way to convert from Z1 to Z2
> without losing data? I actually have far more storage than I need so I'd
> consider going to Z2.

No, unfortunately it's not currently possible to change vdev types in
ZFS.  This is waiting on the long-time-in-coming "block-pointer
rewrite" feature which has not yet been added to ZFS in OpenSolaris
(and there's very little information on it's progress).

The standard process is:
  - configure new server
  - configure pool using new vdev layout
  - zfs send/recv data to new server
  - decommission old server

Or:
  - take backups of server
  - destroy pool
  - configure new pool using new vdev layout
  - restore from backups

-- 
Freddie Cash
fjwcash@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTika-mXsxxXnjBh-uLaQWsapqQWb9eIl-ziIPOum>