From owner-freebsd-fs@FreeBSD.ORG Thu Dec 5 09:30:34 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 43360973 for ; Thu, 5 Dec 2013 09:30:34 +0000 (UTC) Received: from cu01176a.smtpx.saremail.com (cu01176a.smtpx.saremail.com [195.16.150.151]) by mx1.freebsd.org (Postfix) with ESMTP id 05A4A1CEA for ; Thu, 5 Dec 2013 09:30:33 +0000 (UTC) Received: from [172.16.2.2] (izaro.sarenet.es [192.148.167.11]) by proxypop03.sare.net (Postfix) with ESMTPSA id 002E39DC5E2 for ; Thu, 5 Dec 2013 10:24:25 +0100 (CET) From: Borja Marcos Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: 10-BETA4 ZFS problem with more than one pool Date: Thu, 5 Dec 2013 10:24:21 +0100 Message-Id: <83DC33AC-02C9-4779-B4FA-3CCACBED3BB2@sarenet.es> To: "freebsd-fs@FreeBSD.org Filesystems" Mime-Version: 1.0 (Apple Message framework v1283) X-Mailer: Apple Mail (2.1283) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Dec 2013 09:30:34 -0000 Hi I have a machine running 10-BETA4. The system has two ZFS pools. One of = them is used for the root filesystem, OS, and other stuff, and the other one mostly for data. Yes, there is a good reason for that, = one of them is a mirror of mechanical hard disks, and the other has SSDs, I've been using it to experiment. The zfs-on-rooot is the "old school" approach of using a UFS boot = partition, with a loader.conf file pointing the root to a ZFS dataset, mounting / /var /usr from /etc/fstab and legacy. So = far, so good. The problem is: I am unable to get both pools to work unless I import = the second one with a -f. So, the automatic zfs mount doesn't work. I have made sure to have the zfs.cache file accessible as = /boot/zfs/zfs.cache, made an import of the second pool, so that the = cache file is updated, but when rebooting it is still unable to import it = automatically. Trying a manual import it says: root@pruebassd:~ # zpool import -a cannot import 'cashopul': pool may be in use from other system use '-f' to import anyway Any clues about this confusion? No matter what I try, there's a mismatch = between the hostid with the system in multiuser mode and the system = running /etc/rc.d/zfs. Thanks!