Date: Mon, 9 Jan 2012 09:21:09 +0000 From: krad <kraduk@gmail.com> To: Matt Mullins <mokomull@gmail.com> Cc: Drew Tomlinson <drew@mykitchentable.net>, Mark Felder <feld@feld.me>, freebsd-questions@freebsd.org, APseudoUtopia <apseudoutopia@gmail.com> Subject: Re: ZFS Root Won't Mount - Unknown Filesystem -- SOLVED Message-ID: <CALfReycRSm_GPDe2VKhzY21EZw3RMBGtZVcKOhpVruE0eDuy4g@mail.gmail.com> In-Reply-To: <CAPyT1SH6P2fqGuOg3sn5rdiwBqDZ7z9DpvrQbArfQnQPNweU0Q@mail.gmail.com> References: <4F08684C.2070809@mykitchentable.net> <op.v7p11mdv34t2sn@cr48.lan> <CAKOHg=OfKAbRbV120wX5roUBaSNLpC_Z1vT_zPdNDDpgoah8Ww@mail.gmail.com> <4F088283.7070407@mykitchentable.net> <CAPyT1SH6P2fqGuOg3sn5rdiwBqDZ7z9DpvrQbArfQnQPNweU0Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 9 January 2012 01:31, Matt Mullins <mokomull@gmail.com> 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 <drew@mykitchentable.net> > 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 - -
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALfReycRSm_GPDe2VKhzY21EZw3RMBGtZVcKOhpVruE0eDuy4g>