Re: root on zfs almot working for me but ...

2011-08-08 Thread krad
On 8 August 2011 09:54, Ollivier Robert  wrote:

> According to Daniel Braniss:
> > 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:
>
> Have you set the "bootfs" property (see
> http://www.keltia.net/howtos/zfsboot) on the pool?
>
> --
> Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- robe...@keltia.net
> In memoriam to Ondine, our 2nd child: http://ondine.keltia.net/
>
> ___
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"
>

 also have you installed the zfs aware boot blocks?
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: root on zfs almot working for me but ...

2011-08-08 Thread Daniel Braniss
> 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


___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: root on zfs almot working for me but ...

2011-08-08 Thread Andriy Gapon
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
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: root on zfs almot working for me but ...

2011-08-08 Thread Ollivier Robert
According to Daniel Braniss:
> 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:

Have you set the "bootfs" property (see http://www.keltia.net/howtos/zfsboot) 
on the pool?

-- 
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- robe...@keltia.net
In memoriam to Ondine, our 2nd child: http://ondine.keltia.net/

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


root on zfs almot working for me but ...

2011-08-08 Thread Daniel Braniss
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?

thanks,
danny


___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"