From owner-freebsd-fs@FreeBSD.ORG Mon Apr 13 22:19:16 2015 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BB6701A8 for ; Mon, 13 Apr 2015 22:19:16 +0000 (UTC) Received: from mail-lb0-x22e.google.com (mail-lb0-x22e.google.com [IPv6:2a00:1450:4010:c04::22e]) (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 2B79610C for ; Mon, 13 Apr 2015 22:19:16 +0000 (UTC) Received: by lbbqq2 with SMTP id qq2so70577840lbb.3 for ; Mon, 13 Apr 2015 15:19:14 -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=zR+Vr6hQaVcAl7Pp6ko2IcCHR8vL+9R5nxw5yNXoHw8=; b=JCZ64XYZljhhRDF9PEm7BxsoTe3z211dKasnZDEzmWyfPwnxl+y6o0i1mgtV+qvPSC xfr8UQmjSBn6C3v3qQQ2HdgI0GStclGJfdSqp2X55Lfo0htYr4BEOT0xYzzEUOfCUzzP wzwvNSNXFnLujRSC7k28CvdQqs9rJlA1OhiHEgfb8A/nQZR1aC0/A6msFDaWD6GDVdjy rXGx7JpVpvvo1BF3714Pl+cYOvlPgZIGRNyD7JR6PxUcprr8DUWzqdGBgnecgnbXdH0J BvSBvNt/wRpfeA1i7HX2vkFLWzVu9yrzrgj7u9Bs//Ky+qA8UAEC9/c2AqouT5FSdU9i yUlw== MIME-Version: 1.0 X-Received: by 10.112.205.225 with SMTP id lj1mr6043503lbc.27.1428963554348; Mon, 13 Apr 2015 15:19:14 -0700 (PDT) Received: by 10.114.18.137 with HTTP; Mon, 13 Apr 2015 15:19:14 -0700 (PDT) In-Reply-To: <5529E727.9050800@ShaneWare.Biz> References: <5529E727.9050800@ShaneWare.Biz> Date: Mon, 13 Apr 2015 15:19:14 -0700 Message-ID: Subject: Re: Migrating ZFS from 8.3 to 10.1 From: javocado To: Shane Ambler Cc: FreeBSD Filesystems Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2015 22:19:16 -0000 Thank you for that info. A couple more questions... So would this sequence go like this?: freebsd 8.3# zpool export tank (shut down) (replace boot device with new device pre-loaded with 10.1) (boot up to 10.1) freebsd 10.1# zpool upgrade tank freebsd 10.1# zpool import tank And that command should complete quickly, regardless of the size of the pool, number of inodes, etc, correct? Next, we would want to consider what's involved with upgrading the zfs filesystems. We have many filesystems (~500-1000) with 40-70 TB of data (pool just under 100 TB in size) with thousands of snapshots (evenly spread amongst the filesystems), and some filesystems are very dense with millions of inodes. - What are the advantages, disadvantages, pitfalls and caveats to be aware of here? We know that the filesystems will no longer be readable by older systems. Is there anything else? - We wonder if the time it will take to upgrade all these is substantial- i.e. will the upgrade parse through all this data in each filesystem or just flip a few switches in each filesystem, completing quickly? - Any impact on the (old) snapshots already in place? Any issues with having a mix of old and new (post upgrade) snapshots in a filesystem? On Sat, Apr 11, 2015 at 8:31 PM, Shane Ambler wrote: > On 11/04/2015 07:13, javocado wrote: > >> Hello, >> >> I am planning to migrate (upgrade) my system from FreeBSD 8.3 RELEASE to >> 10.1 RELEASE (both amd64). My zfs pool exists on it's own physical >> device(s) so my upgrade will consist of: >> >> 1. install FreeBSD 10.1 on boot device (in a temp system) >> 2. remove 8.3 boot device (from production system) >> 3. install new 10.1 boot device and boot up production system >> 4. re-mount zfs FS >> >> My question is, what do I need to know about how this change will affect >> or >> impact the zpool and datasets? Is there any chance zfs data could be lost >> or destroyed? Might there be a performance loss due to version >> differences? >> Is upgrading the zpool (once booted to 10.1) strongly advised? Any >> downsides or dangers there? >> > > Once you upgrade your zpool in 10.1 you can't mount it in < 10.1 > I think you can selectively enable features if you want to keep old > system compatibility. Not sure if there is a list of what features are > available for each system version. > > Exporting your zpool as you shutdown 8.x will make it easier to import > into 10.1 > > > Some other info worth considering (production system): >> >> ZFS filesystem version 5 >> ZFS storage pool version 28 >> >> Thanks! >> > > > -- > FreeBSD - the place to B...Storing Data > > Shane Ambler > >