From owner-freebsd-current@FreeBSD.ORG Sun Nov 23 21:05:11 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25CB31065670; Sun, 23 Nov 2008 21:05:11 +0000 (UTC) (envelope-from glz@hidden-powers.com) Received: from mail.hidden-powers.com (mail.hidden-powers.com [213.242.135.162]) by mx1.freebsd.org (Postfix) with ESMTP id C5B388FC14; Sun, 23 Nov 2008 21:05:10 +0000 (UTC) (envelope-from glz@hidden-powers.com) Received: from mail.hidden-powers.com (localhost [127.0.0.1]) by dkim.hidden-powers.com (Postfix) with ESMTP id BCF266D5C7; Sun, 23 Nov 2008 22:05:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=hidden-powers.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s= selector1; bh=SODEuP4wvQVweSY/ZjVxKk5xOvU=; b=IFgUUfkOtb9earNMZl +OPlTGBMe9FnMMCDddV+6A2+akHZOQY4aBjDkwxyc+0JjY4bIED114qeWxJy/c5C tKX+XQkud2X20Ji6Z4iyBMUE4pdYxI2BMSquUaNwwt10YJQeJAzEBTzjQ4u86ueN y6R0eiXedB4SD23rQFqT5tjtQ= Received: from [10.255.253.2] (unknown [10.255.253.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.hidden-powers.com (Postfix) with ESMTPSA id AE2536D5C5; Sun, 23 Nov 2008 22:05:09 +0100 (CET) Date: Sun, 23 Nov 2008 22:05:09 +0100 From: Goran Lowkrantz To: Alexander Leidinger Message-ID: In-Reply-To: <20081123215022.77989qtqgijg8zkg@webmail.leidinger.net> References: <20081123204141.25414fy2r5tofx8g@webmail.leidinger.net> <5127CA7792252ECCC495CB5A@[10.255.253.2]> <20081123215022.77989qtqgijg8zkg@webmail.leidinger.net> X-Mailer: Mulberry/4.0.8 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: pjd@freebsd.org, current@freebsd.org Subject: Re: zfs version 13 kernel and zfs version 6 userland tool? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Nov 2008 21:05:11 -0000 --On Sunday, November 23, 2008 21:50 +0100 Alexander Leidinger wrote: > Quoting Goran Lowkrantz (from Sun, 23 Nov 2008 > 21:24:08 +0100): > >> --On Sunday, November 23, 2008 20:41 +0100 Alexander Leidinger >> wrote: >> >>> Hi, >>> >>> I just half-updated a system to -current from today. This means I booted >>> todays kernel with the old world. >>> >>> Is an old zfs userland tool supposed to work correctly with a recent >>> kernel? All I get is "internal error: out of memory" when I try a zfs >>> list (I noticed a problem as no zfs is mounted). I haven't read anything >>> like it shouldn't work on the mailinglist (as this is the normal way of >>> updating), so here are the loader.conf settings I use: >>> ---snip--- >>> vfs.zfs.prefetch_disable=1 >>> vm.kmem_size="700M" >>> vm.kmem_size_max="700M" >>> vfs.zfs.arc_max="160M" >>> vfs.zfs.vdev.cache.size="5M" >>> ---snip--- >>> >>> This i386 system has 768MB of memory. >>> >>> Luckily /usr/src is not on ZFS, so I can install the new world if I want >>> to. But t be able to go back to the old kernel if necessary, I prefer to >>> not blindly update to the new world, except I get a message which tells >>> that it will fix my ZFS problem for sure. >>> >>> Bye, >>> Alexander. >>> >> I had exactly the same problem but mount -t zfs worked so I mounted >> all ZFS filesystems and ran installworld with NO_FSCGH=true as the >> old zfs filesystem was version=1 and don't support flags until you >> have upgraded the filesystem to version 3. > > I don't have a problem with fschg, as I didn't even try to do an > installworld. My problem is the memory error. Can you confirm that you > had the same error before the installworld, but not after the > installworld? > Yes, With the old userland, I got error "internal error: out of memory" with "zfs ..." and "zpool ..." but not "mount -t zfs ...". After installworld, no problems at all. /glz --- "There is hopeful symbolism in the fact that flags do not wave in a vacuum." -- Arthur C. Clarke