From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id E3184139B2A for ; Sun, 13 Sep 2015 19:20:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C979121C057; Sun, 13 Sep 2015 19:20:32 +0000 (UTC) Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9E69DE0810 for ; Sun, 13 Sep 2015 19:20:31 +0000 (UTC) Received: by wiclk2 with SMTP id lk2so109063749wic.1 for ; Sun, 13 Sep 2015 12:20:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=UUmoZiPoU0mw2/fwKuWkALiUA0Z7fliq6DlnUJvMqaQ=; b=FviPGVYUnIyi89stLaldevYa6Y2RM9LQnd+IYhxpl6AAeIglNDUuCmMr/UBEP2e50g Jd7N0w3c5hzxLY+AkUG2/QMA62mV6TDYFwTwwyhGxnUzPNEMnG1l2Yv6WbKz7o8jWVvO 06Xq6vvNIefOmoNmOIRZys4ZBwFnGYsjXnTwTrxR8wdUB4gf8/FadvTAqvWlkkCiYtYQ ToocyQ7w6OJ5rAR6vXsI6l4UOJPd/zlyk2fCN7QI7Q/FqUQ+iZOGR+yWRDaerHp2Hxf2 +9WLYihEYiuluXWjxkHM/Inw4yVFJfluEmGhWTJ1RwfY5NTBsAHLBUvvKmfDfJfLpDYb auog== X-Gm-Message-State: ALoCoQkTRU4dbD5Tu93XC4GVekGRZIJe7d8eKd3sr5d7KUMtGdX535itop21g0jKB8hu2NN3YWak X-Received: by 10.194.21.98 with SMTP id u2mr4471474wje.141.1442172030173; Sun, 13 Sep 2015 12:20:30 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.28.27.214 with HTTP; Sun, 13 Sep 2015 12:20:10 -0700 (PDT) From: =?UTF-8?Q?Nuno_Magalh=C3=A3es?= Date: Sun, 13 Sep 2015 20:20:10 +0100 Message-ID: Subject: [gentoo-user] preserving zpool mountpoint on boot? To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 8041ffcf-34f1-4349-a864-12c2f9ab6c48 X-Archives-Hash: 892bd9336e18a0aed0f840ba7762f48c Greetings, If i export/import a zpool, the altroot property is not preserved so it always gets mounted at /. In /etc/init.d/zfs, the import line reads $ZPOOL import -c $ZPOOL_CACHE -aN 2>/dev/null || true so no -options there. I've also tried with zpool import -o altroot=/mnt -o cachefile=/etc/zfs/zpool.cache poolname which works, but the cache file only lives until export, so i assume it's not some kind of configuration save point. A simple import afterwards will place the pool at / again. Same for -R. Is there some option i can put in /etc/modprobe.d/zfs.conf (which currently doesn't exist)? Thanks, Nuno