> what
> would the zfs-bootfs parameter be?
> 
> Unfortunately, it's not easy to determine.
> 

Yeah, I had to found out about it the hard way. I was actually trying to 
install SXCE b87 and convert it to zfs root as PV domU on linux dom0. I tried  
zfs-bootfs=rootpool/rootfs, zfs-bootfs=rootpool/27, and some other variations, 
none of them seem to work.

> 
> > It seems that when using zfs-aware pygrub, bootfs
> can be used to select the correct root. Is there a
> way to achieve similar effect using xen config file?
> 
> No, not currently. Hopefully, the zfs aware pygrub
> will
> be standard in 3.2.2.
> 


I ended up using libfsimage and pygrub from xen-unstable, while the rest of the 
tools is from xen-3.2.1. Seems to work so far. When running pygrub manually it 
shows that the params are

"/platform/i86xpv/kernel/amd64/unix -B 
zfs-bootfs=rootpool/21,bootpath='/xpvd/[EMAIL PROTECTED]:a'"

No idea what "21" on rootpool/21 means.
I also got this bug :
http://opensolaris.org/os/community/on/flag-days/pages/2008040301/
fixed using suggested workaround.

Now I'm able to run both b87 and opensolaris 2008.05 using zfs-root.
Thanks for your help.

-- 
Fajar
 
 
This message posted from opensolaris.org
_______________________________________________
xen-discuss mailing list
xen-discuss@opensolaris.org

Reply via email to