From owner-freebsd-fs@FreeBSD.ORG Wed May 23 22:56:18 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4A53F16A421; Wed, 23 May 2007 22:56:18 +0000 (UTC) (envelope-from freebsd.ruomad@free.fr) Received: from smtp2-g19.free.fr (smtp2-g19.free.fr [212.27.42.28]) by mx1.freebsd.org (Postfix) with ESMTP id 14AE913C4AE; Wed, 23 May 2007 22:56:17 +0000 (UTC) (envelope-from freebsd.ruomad@free.fr) Received: from vil1.ruomad.net (vln78-1-82-238-160-33.fbx.proxad.net [82.238.160.33]) by smtp2-g19.free.fr (Postfix) with ESMTP id C2BFA93FBC; Thu, 24 May 2007 00:56:16 +0200 (CEST) Message-ID: <4654C690.5010003@free.fr> Date: Thu, 24 May 2007 00:56:16 +0200 From: Bruno Damour User-Agent: Thunderbird 2.0.0.0 (X11/20070522) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <46458EDE.5060909@free.fr> <464BFBCB.1030300@free.fr> <20070523210625.GC11105@garage.freebsd.pl> In-Reply-To: <20070523210625.GC11105@garage.freebsd.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: zfs root is not mounted automatically 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: Wed, 23 May 2007 22:56:18 -0000 Pawel Jakub Dawidek wrote: > On Thu, May 17, 2007 at 08:52:59AM +0200, Bruno Damour wrote: > >> Bruno Damour wrote: >> >>> Hello, >>> I have successfullty moved my root to zfs (some work, though) following Pawel instruction. >>> Anyway, it still refuses to boot without asking root device from cmd line : >>> >>> acd0: DVDR at ata0-master UDMA66 >>> ad10: 238475MB at ata5-master SATA150 >>> ad12: 305245MB at ata6-master SATA150 >>> pcm0: >>> pcm0: >>> WARNING: ZFS is considered to be an experimental feature in FreeBSD. >>> SMP: AP CPU #1 Launched! >>> Trying to mount root from zfs:system >>> >>> Manual root filesystem specification: >>> : Mount using filesystem >>> eg. ufs:da0s1a >>> ? List valid disk boot devices >>> Abort manual input >>> >>> mountroot> ZFS filesystem version 6 >>> ZFS storage pool version 6 >>> zfs:system >>> Trying to mount root from zfs:system >>> fuse4bsd: version 0.3.0, FUSE ABI 7.8 >>> >>> It first fails to mount my zfs:system >>> I get the mountroot cmd line, and if I type zfs:system, boot resumes and completes allright. >>> >>> Any idea of how to get rid of this ? >>> > > Can you try this patch: > > http://people.freebsd.org/~pjd/patches/zfs_root.patch > > Works allright. I tested it with : - normal boot - single user boot - verbose boot and everything works as expected. Thanks a lot for your work ! ZFS is great Bruno