From owner-freebsd-questions@FreeBSD.ORG Mon Jan 9 09:48:11 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C57FA1065672 for ; Mon, 9 Jan 2012 09:48:11 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7F55B8FC14 for ; Mon, 9 Jan 2012 09:48:11 +0000 (UTC) Received: by yhjj52 with SMTP id j52so607295yhj.13 for ; Mon, 09 Jan 2012 01:48:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ZI2Z+CxOTvNsp478fjfF03oqHGggsUM/lfOXiUA/KLA=; b=HCE7yhcktIF8P0lfoaeCAXLeKc5uk4lrR3VZCQcVJ1q04owNAbMLaX/nXeMggI2EQb exyEF6HjUSxZYJS4uxOg9pFSzjDeeooOVg6iQSxCmbCWWbdxhagyRDImgQTjvQmWE/k8 Y+ZU1qaaEFN+8DQsCLAZJIlROHPiaRHq5Os98= MIME-Version: 1.0 Received: by 10.236.145.33 with SMTP id o21mr5257264yhj.56.1326100869196; Mon, 09 Jan 2012 01:21:09 -0800 (PST) Received: by 10.236.139.193 with HTTP; Mon, 9 Jan 2012 01:21:09 -0800 (PST) In-Reply-To: References: <4F08684C.2070809@mykitchentable.net> <4F088283.7070407@mykitchentable.net> Date: Mon, 9 Jan 2012 09:21:09 +0000 Message-ID: From: krad To: Matt Mullins Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Drew Tomlinson , Mark Felder , freebsd-questions@freebsd.org, APseudoUtopia Subject: Re: ZFS Root Won't Mount - Unknown Filesystem -- SOLVED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jan 2012 09:48:11 -0000 On 9 January 2012 01:31, Matt Mullins wrote: > Whoops, I missed this message before posting my reply a few minutes ago. > > On Sat, Jan 7, 2012 at 9:36 AM, Drew Tomlinson > wrote: > > Yes, although I've read that 'zfs set mountpoint=/ zroot' is acceptable > as > > well. I set mine to "/" after trying to import pool with '-o > altroot=/mnt' > > in LiveCD. When mountpoint was "legacy", altroot didn't work right. > > Opinions on "/" vs. "legacy"? > > Most of the FreeBSD guides seem to think "legacy" is the way to go, > but I much prefer "/" myself. The main difference is with "legacy", > one sets a mountpoint option on each filesystem under it (which does, > indeed, undermine the altroot facility), whereas "/" lets the other > filesystems inherit their mountpoint from their path in the zpool. > "/" seems to be a little closer to its Solaris usage, which is still > the majority of the documentation you'll find on ZFS on the internet > (and even in the man pages distributed with FreeBSD). > -- > Matt Mullins > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > you need to be careful with that as opensolaris does do that as you say but it also uses it in conjunction with the canmount property. If you have multiple root filesystems like i do (modeling opensolaris boot enviroments) you could get undesirable file system mounting happening if you have multiple / mountpoint specified. $ zfs get -r canmount rpool/ROOT NAME PROPERTY VALUE SOURCE rpool/ROOT canmount off local rpool/ROOT/opensolaris-13 canmount noauto local rpool/ROOT/opensolaris-14 canmount noauto local rpool/ROOT/opensolaris-14@2010-11-17-11:38:57 canmount - -