From owner-freebsd-fs@FreeBSD.ORG Fri Mar 1 12:03:18 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8519FA36 for ; Fri, 1 Mar 2013 12:03:18 +0000 (UTC) (envelope-from peter.maloney@brockmann-consult.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.10]) by mx1.freebsd.org (Postfix) with ESMTP id 065039AC for ; Fri, 1 Mar 2013 12:03:17 +0000 (UTC) Received: from [10.3.0.26] ([141.4.215.32]) by mrelayeu.kundenserver.de (node=mreu3) with ESMTP (Nemesis) id 0MQYci-1UNazE271Y-00Tot0; Fri, 01 Mar 2013 13:03:12 +0100 Message-ID: <513098FF.8030806@brockmann-consult.de> Date: Fri, 01 Mar 2013 13:03:11 +0100 From: Peter Maloney User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-fs@freebsd.org Subject: Re: I am to silly to mount a zpool while boot References: In-Reply-To: X-Enigmail-Version: 1.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:0xjhKHGwD7FWeX/IoJiN7QakZcMgAwKNFpFVsLn9faq nvvChqD6Ok0SXu+Cx+ylPlcVKLvUkXzuEJtT8z4gFfYIj09rOn +A99LXg8139dsqhaj72hY2FDuOK7naoDkMb3AYIpg0v2KcmLi+ 9qRUZbsC874NabiSGPihDQ8BC0oTScc8vgIqwtdULQBDoO8F4x AoA0I2sW1MhtsPoXahO5JGi0eXCCI3KXSyPQMuMmOZQvGwRr5U ABZ+RiOD7KDUmVFkSnwRWzWEQ7RhzzelvvxuMHG+bPveygrJIs OZGD6qlRsBmrOCnYvKLJG08tfwWxgay9C89Xh0Pd3/HtHtOgzd 2nTiEKms0z72CUDtdmBN3v5mrg+Q1rvKq6imq3Eu0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Mar 2013 12:03:18 -0000 For the mount, don't use fstab. use: zfs set mountpoint=/home poolname/path/to/dataset And for the import, add zfs_enable="YES" to rc.conf. And I think that's it. (all my FreeBSD systems are pure zfs, so not sure what troubles you would get if you had UFS on root) On 2013-03-01 12:26, tech mailinglists wrote: > Hello all, > > I think that I only can be an idiot to get in such a problem but I am > not able to mount a zpool via fstab while boot. > > I have a FreeBSD i386 PV Xen DomU running with 3 disks xbd0 (ext2 for > /boot), xbd1 (UFS for /) and xbd2 (ZFS/zpool with name home to mount > at /home). > > I now tried everything I could find. So my fstab entry looks like this: > > home /home zfs rw,late 0 0 > > The real problem is that after a reboot the zpool is no longer > imported, I really don't know why I always have to reimport the pool > via zpool import -d /dev home. Because of this the filesystem never > can be mounted via fstab while boot and I get dropped into a shell > where I need to do this always manually. > > So why the pool always isn't imported after boot and how can I solve this issue? > > And is the fstab entry correct itself? So would it work when the pool > gets imported with it's name befor the fstab entry is parsed? > > Hope that someone give me a few hints or a solution. > > Best Regards > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" -- -------------------------------------------- Peter Maloney Brockmann Consult Max-Planck-Str. 2 21502 Geesthacht Germany Tel: +49 4152 889 300 Fax: +49 4152 889 333 E-mail: peter.maloney@brockmann-consult.de Internet: http://www.brockmann-consult.de --------------------------------------------