From owner-freebsd-hackers@freebsd.org Sun Oct 16 22:46:50 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 86345C14289 for ; Sun, 16 Oct 2016 22:46:50 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-io0-x235.google.com (mail-io0-x235.google.com [IPv6:2607:f8b0:4001:c06::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4EEF415A0 for ; Sun, 16 Oct 2016 22:46:50 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by mail-io0-x235.google.com with SMTP id j37so171535125ioo.3 for ; Sun, 16 Oct 2016 15:46:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=6EeZYwES+CJb/9YifRtOY0/UBHUanPLP77tqTbmXiEw=; b=ZNYK/4WJV6uFqBYzRCenJibHf+jN1SQSoNjHkhb8j4XtDImWjE3uvxFtprRDuJ9XdZ P/EUOayVHhN18RGiiP3pb0nY4GTKVy3NDiN8MW6lBaGg1pGXpjL6veRjr08YUfrB8BU6 M9fiYhe4Wh0oWZTmnMNGrQK2kInjf5a/VQJ0B62/U4FuV7a9QwKx5NOR0idr2lbPsgjo ij9LSfDS0+pvG2R8FipHlASsOzm2EGQZMSJNwrwtzaCMLBerMhXrWTScMELluWzwNnmL VoencSq7q0aHNi9cZ2DYtZ9WtN3e0UEAQpwA//GjP/w81/Di5OC8NCM60t5j+HZ+bKkZ N3nA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=6EeZYwES+CJb/9YifRtOY0/UBHUanPLP77tqTbmXiEw=; b=KXyQ7s96ynvlZvRF/AymnLVqGegG6OES7Lh90zjveWZNSvKDmHorr73sAcEMKsbzLF zVK6cK+5stYXtdjrEGYuNn9PE5GF9xrCd8v8EKAG1/3pdR6RSK3DLzJggf8w1dO5jJ2x N1bcXzd7UMFDCLb7SGkdVWlDKteqjGqJIRIHDvSe3qNqYFc0oc+FrBcpjilqn4sHlika /HPexwoqYI7Q9B9WAw3pJICYFcthRFgrRoXJTN409HH8aHijlr9GjV9eTX80fmK8ueO5 +2E/4pQS7HsrsUDJ3hMQH5BnXStZdx/4d7Y/7l/J4Zd30M1Eeh9dOwbKDzuv9jDVULYc jhMQ== X-Gm-Message-State: AA6/9RmjETudXouuJ/PlPATWOZjCb/8bZk+W8U1mhGIKXRJVTfxxULuQlL7fpZ2ILhOi9VTF1PP/xnWwwkKxEw== X-Received: by 10.107.172.133 with SMTP id v127mr2949270ioe.49.1476658009704; Sun, 16 Oct 2016 15:46:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.7.129 with HTTP; Sun, 16 Oct 2016 15:46:49 -0700 (PDT) In-Reply-To: <0ec9b6bc-a2a7-772f-fb84-fac5ed3b71df@multiplay.co.uk> References: <0ec9b6bc-a2a7-772f-fb84-fac5ed3b71df@multiplay.co.uk> From: Aryeh Friedman Date: Sun, 16 Oct 2016 18:46:49 -0400 Message-ID: Subject: Re: why doesn't root-on-ZFS mount bootpool by default? To: Steven Hartland Cc: FreeBSD Mailing List Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Oct 2016 22:46:50 -0000 Fresh install of 11.0-PL1 with MBD/Stripped (single disk) non-encrypted has the following mount points: zroot/ROOT/default 933311872 1177108 932134764 0% / devfs 1 1 0 100% /dev bootpool 2015288 123760 1891528 6% /bootpool zroot/tmp 932134860 96 932134764 0% /tmp zroot/usr/home 932134900 136 932134764 0% /usr/home zroot/usr/ports 932134860 96 932134764 0% /usr/ports zroot/usr/src 933363924 1229160 932134764 0% /usr/src zroot/var/audit 932134860 96 932134764 0% /var/audit zroot/var/crash 932134860 96 932134764 0% /var/crash zroot/var/log 932134916 152 932134764 0% /var/log zroot/var/mail 932134860 96 932134764 0% /var/mail zroot/var/tmp 932134860 96 932134764 0% /var/tmp zroot 932134860 96 932134764 0% /zroot If fixed with zfs import -f bootpool and then adding the following to loader.conf: zpool_cache_load="YES" zpool_cache_type="/boot/zfs/zpool.cache" zpool_cache_name="/boot/zfs/zpool.cache" On Sun, Oct 16, 2016 at 6:41 PM, Steven Hartland wrote: > We'll need some more details to go on before your question can be answered > properly. > > Please post all the relevant details about your setup, what you did, what > you expected and what actually happened? > > On 16/10/2016 21:39, Aryeh Friedman wrote: > >> It is very annoying (make world and install kmods from ports) to not have >> /bootpool be mounted by default (I found the right fixes [not documented >> in >> the handbook])... why is this the case? >> >> > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org