Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Aug 2011 13:34:02 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Daniel Braniss <danny@cs.huji.ac.il>
Cc:        hackers@FreeBSD.org
Subject:   Re: root on zfs almot working for me but ...
Message-ID:  <4E3FBB9A.5090305@FreeBSD.org>
In-Reply-To: <E1QqJlR-000Lbd-Hv@kabab.cs.huji.ac.il>
References:  <E1QqJlR-000Lbd-Hv@kabab.cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help
on 08/08/2011 09:56 Daniel Braniss said the following:
> Hi,
> 	I managed to get boot to load the kernel, but the kernel can't find
> the root:
> ...
> Trying to mount root from zfs:z/root
> ROOT MOUNT ERROR: 
> If you have invalid mount options, reboot, and first try the following from
> the loader prompt:
> 
>      set vfs.root.mountfrom.options=rw
> 
> and then remove invalid mount options from /etc/fstab.
> 
> Loader variables:
> vfs.root.mountfrom=zfs:z/root
> vfs.root.mountfrom.options=rw
> 
> and
> mountroot> ?
> 
> List of GEOM managed disk devices:
>   gptid/81e19453-94ff-11e0-afed-6cf049b01360 gpt/disk3 
> gptid/81d516e2-94ff-11e0-afed-6cf049b01360 gpt/swap3 
> gptid/81cbc503-94ff-11e0-afed-6cf049b01360 gptid/81b4a09a-94ff-11e0-afed-6cf049
> b01360 gpt/disk2 gptid/81a8c76e-94ff-11e0-afed-6cf049b01360 gpt/swap2 
> gptid/81a13b80-94ff-11e0-afed-6cf049b01360 gptid/818c5da7-94ff-11e0-afed-6cf049
> b01360 gpt/disk1 gptid/818199a3-94ff-11e0-afed-6cf049b01360 gpt/swap1 
> gptid/817a78d3-94ff-11e0-afed-6cf049b01360 ada3p3 ada3p2 ada3p1 ada2p3 ada2p2 
> ada2p1 ada1p3 ada1p2 ada1p1 gptid/81652d6f-94ff-11e0-afed-6cf049b01360 
> gpt/disk0 gptid/815afb70-94ff-11e0-afed-6cf049b01360 gpt/swap0 
> gptid/81543d17-94ff-11e0-afed-6cf049b01360 ada3 ada2 ada1 ada0p3 ada0p2 ada0p1 
> ada0 cd0
> 
> but I don't see any zfs,
> 
> any help/ideas?


Is /boot/zfs/zpool.cache present and up-to-date?

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E3FBB9A.5090305>