From owner-freebsd-fs@FreeBSD.ORG Wed May 27 15:15:38 2009 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 2CB861065758 for ; Wed, 27 May 2009 15:15:38 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 279078FC1E for ; Wed, 27 May 2009 15:15:36 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id SAA02439 for ; Wed, 27 May 2009 18:15:35 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <4A1D5916.6040205@icyb.net.ua> Date: Wed, 27 May 2009 18:15:34 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.21 (X11/20090406) MIME-Version: 1.0 To: freebsd-fs@freebsd.org X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: "bootable" shared zpool 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, 27 May 2009 15:15:39 -0000 I am very confused how to resolve the following issue. I have a zfs pool that can be imported to two systems. On one system the pool is a "secondary" pool, i.e. I import it into altroot, do some modifications to filesystems, etc. On the other system it is a "primary" pool - the system boots from it, there are no UFS or other filesystems besides ZFS on this pool. So the problem is the following - when I disconnect the disk from the first system I have to do zpool export on it, but in this case the second system can not boot from it (no pools found). So currently I have to boot the second system from live cd first, perform zpool import and the reboot "into the pool". I believe that "live cd" step can be avoided somehow, but don't know how. -- Andriy Gapon