From owner-freebsd-questions@freebsd.org Fri Feb 17 07:49:45 2017 Return-Path: Delivered-To: freebsd-questions@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 788A8CE221E for ; Fri, 17 Feb 2017 07:49:45 +0000 (UTC) (envelope-from crapsh@monkeybrains.net) Received: from mail.monkeybrains.net (mail.monkeybrains.net [208.69.40.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 654BC18EB for ; Fri, 17 Feb 2017 07:49:45 +0000 (UTC) (envelope-from crapsh@monkeybrains.net) Received: from [192.168.1.141] (104-193-168-150.PUBLIC.monkeybrains.net [104.193.168.150]) (authenticated bits=0) by mail.monkeybrains.net (8.15.2/8.15.2) with ESMTPSA id v1H7KYas016130 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Thu, 16 Feb 2017 23:20:35 -0800 (PST) (envelope-from crapsh@monkeybrains.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=monkeybrains.net; s=dkim; t=1487316035; bh=aUvCp53DCap4fYRRHU8hUgfNf+HpuxBo2h2JZbibEsU=; h=To:From:Subject:Date; b=OMxvgQtJminZaIFbrb7e8ZeH4AS3WAsqrxNyGf7Coj7TOipbrsM+83hvvYDC6UVY8 yMVOmr5Yn/9Fn8TT1KsRdDYwEO6kjNmXxq5yZtbdLh4wgyM0T1LYeLvKZKPO5NZM2P cWlipfAXbbDF84YO/YgJlpjy9gMnqS7pG/fECoqs= X-Authentication-Warning: mail.monkeybrains.net: Host 104-193-168-150.PUBLIC.monkeybrains.net [104.193.168.150] claimed to be [192.168.1.141] To: freebsd-questions@freebsd.org From: Rudy Subject: default zfs layout - FreeBSD 11.0 - /var and /usr not mounted ?! Message-ID: <11840e40-a706-625d-da03-e2f663342058@monkeybrains.net> Date: Thu, 16 Feb 2017 23:17:59 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.99.2 at mail.monkeybrains.net X-Virus-Status: Clean X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Feb 2017 07:49:45 -0000 I installed a new system and did the default ZFS layout and noticed /var and /usr are not mounted by default. Any reason? Seems like files dropped in /usr (eg, usr/local) end up in the ROOT/default. Maybe I am just thinking about ZFS incorrectly... > zfs get mounted NAME PROPERTY VALUE SOURCE zroot mounted yes - zroot/ROOT mounted no - zroot/ROOT/default mounted yes - zroot/data mounted yes - zroot/tmp mounted yes - zroot/usr mounted no - zroot/usr/home mounted yes - zroot/usr/ports mounted yes - zroot/usr/src mounted yes - zroot/var mounted no - zroot/var/audit mounted yes - zroot/var/crash mounted yes - zroot/var/log mounted yes - zroot/var/mail mounted yes - zroot/var/tmp mounted yes - Seems like /usr/local would be a handy mount point as well... Also, i intend to use this box for jails and feel like all the filesystems below /zroot/var don't make much sense. What layout are you using for as a jail host? I'm thinking of blowing away all the mount points below var and just having one /var with noatime, noexec, nosuid, compression. Bad idea? Thanks in advance, Rudy