Date: Sat, 07 Jan 2012 09:36:03 -0800 From: Drew Tomlinson <drew@mykitchentable.net> To: APseudoUtopia <apseudoutopia@gmail.com> Cc: Mark Felder <feld@feld.me>, freebsd-questions@freebsd.org Subject: Re: ZFS Root Won't Mount - Unknown Filesystem -- SOLVED Message-ID: <4F088283.7070407@mykitchentable.net> In-Reply-To: <CAKOHg=OfKAbRbV120wX5roUBaSNLpC_Z1vT_zPdNDDpgoah8Ww@mail.gmail.com> References: <4F08684C.2070809@mykitchentable.net> <op.v7p11mdv34t2sn@cr48.lan> <CAKOHg=OfKAbRbV120wX5roUBaSNLpC_Z1vT_zPdNDDpgoah8Ww@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1/7/2012 8:29 AM, APseudoUtopia wrote: > On Sat, Jan 7, 2012 at 11:14 AM, Mark Felder<feld@feld.me> wrote: >> Hi Drew, >> >> I'm pretty sure you can't run a RAIDZ as your root pool. That's likely the >> problem. Kind of sucks, I know :-( >> > You can use raidz1 as your root pool. I'm running it right now on my 9.0 system. > > Drew: My first suggestion is to confirm that you added the proper > options in /boot/loader.conf. Mine looks like this: > > vfs.root.mountfrom="zfs:zroot" > zfs_load="YES" Thank you for your reply. This was my problem. I had the zfs_load="YES" in /etc/rc.conf, not /boot/loader.conf. > In addition, zfs_enable="YES" in your /etc/rc.conf to automount the > other zfs filesystems, such as /usr, /var, or whichever ones you > setup. > > Did you set the proper mountpoints on your zfs filesystems before > rebooting? As in, `zfs set mountpoint=legacy zroot` and `zfs set > mountpoint=/usr zroot/usr` and so on, for each for your file systems. 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"? Thanks for your help. Cheers, Drew -- Like card tricks? Visit The Alchemist's Warehouse to learn card magic secrets for free! http://alchemistswarehouse.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F088283.7070407>