On 11/17/2009 6:48 PM, Peter Lees wrote:
Mark Johnson wrote:
With a zfs root, you need to attach the disk to another
PV guest (non zfs root) using the device it will use when
you start the disk (i.e. xvda). Then import the rpool,
update /etc/hostname.* and/or /etc/dhcp.*. The disk
should be ready to boot as a PV guest at this point.
zfs encodes the bootpath in the zpool meta data. When
you import a pool, it updates the meta data.
thanks mark,
so you're saying i need an existing non-zfs-root paravirtualised guest
to start?
yes... There may be a a way getting around the zfs limitation
of having two pools named rpool.. Not sure... For me, it easier to
use a guest without a zfs root.
the question i have is: how to actually move the zfs pool from the
original into a volume on the xvm host? afaik i can't do a zfs send from
a filesystem to a volume:
# zfs send -R rp...@today \
| ssh xvm-host zfs recv -u storage/guests/newvm/disk1
... or can i ?
It would be easier to do a dd :-) But it should be possible
with some extra work to zfs send/recv.. I'll have to give that one
a try.
MRJ
p
_______________________________________________
xen-discuss mailing list
xen-discuss@opensolaris.org