From owner-freebsd-fs@FreeBSD.ORG Mon Jan 11 22:16:01 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E69811065670 for ; Mon, 11 Jan 2010 22:16:01 +0000 (UTC) (envelope-from lucas.james@ldjcs.com.au) Received: from mail.ldjcs.com.au (gw.ldjcs.com.au [58.6.71.89]) by mx1.freebsd.org (Postfix) with ESMTP id 5E7288FC0A for ; Mon, 11 Jan 2010 22:16:01 +0000 (UTC) Received: from bella.ldjcs.com.au (bella.ldjcs.com.au [203.17.30.179]) (authenticated bits=0) by mail.ldjcs.com.au (8.14.3/8.14.3) with ESMTP id o0BLxdRG014527 for ; Tue, 12 Jan 2010 08:59:39 +1100 (EST) (envelope-from lucas.james@ldjcs.com.au) From: Lucas James Organization: LDJ Computer Services To: freebsd-fs@freebsd.org Date: Tue, 12 Jan 2010 08:59:30 +1100 User-Agent: KMail/1.9.10 References: <20100111211005.GC1264@darklight.org.ru> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201001120859.31778.lucas.james@ldjcs.com.au> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.3 (mail.ldjcs.com.au [203.17.30.35]); Tue, 12 Jan 2010 08:59:40 +1100 (EST) X-Spam-Status: No, score=0.4 required=5.0 tests=AWL autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail.ldjcs.com.au Subject: Re: ZFS filesystem version confusion X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2010 22:16:02 -0000 On Tue, 12 Jan 2010 08:46:38 am Xin LI wrote: > On Mon, Jan 11, 2010 at 1:10 PM, Yuri Pankov wrote: > > Hi, > > > > I was somewhat confused by the output of `zfs get version ` being 3, > > when dmesg reads 'ZFS filesystem version 14'. Shouldn't we use > > ZPL_VERSION_STRING in > > sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c instead of > > SPA_VERSION_STRING to report ZFS filesystem version? > > I think it should be "ZFS Pool Version 14"... I haven't upgraded to 14 yet, but: > zfs get version zroot NAME PROPERTY VALUE SOURCE zroot version 3 - > zpool get version zroot NAME PROPERTY VALUE SOURCE zroot version 13 default > dmesg|grep ZFS ZFS NOTICE: Prefetch is disabled by default on i386 -- to enable, ZFS filesystem version 13 ZFS storage pool version 13 Note the version in the output of dmesg for filesystem version. > zfs upgrade -v The following filesystem versions are supported: VER DESCRIPTION --- -------------------------------------------------------- 1 Initial ZFS filesystem version 2 Enhanced directory entries 3 Case insensitive and File system unique identifer (FUID) [...] regards, Lucas -- Filtering is what YOU do to your internet. Censorship is what THEY do to your internet.