Date: Mon, 08 Aug 2011 14:11:55 +0300 From: Daniel Braniss <danny@cs.huji.ac.il> To: Andriy Gapon <avg@FreeBSD.org> Cc: hackers@FreeBSD.org Subject: Re: root on zfs almot working for me but ... Message-ID: <E1QqNkR-000NNN-Vw@kabab.cs.huji.ac.il> In-Reply-To: <4E3FBB9A.5090305@FreeBSD.org> References: <E1QqJlR-000Lbd-Hv@kabab.cs.huji.ac.il> <4E3FBB9A.5090305@FreeBSD.org>
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? > ah, this was where my guts were pointing, so some more 'history': The installation was done via diskless/PXE, and no amount of magic I tried changed the location of the cache, since /boot/zfs is read-only, so I finally booted from a usb and copied the cache, to z/root/boot/zfs is there some way to dump/check/edit it? thanks, danny > -- > Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1QqNkR-000NNN-Vw>