On Sat, Dec 26, 2009 at 9:46 PM, Michael Disserman <[email protected]> wrote:
>>Are you using the same version of opensolaris as dom0 and
> domU?
>
> I use 2009.6 for both.

I might've misunderstood your point. By "upgrading rpool drive", did
you mean upgrading rpool version? If yes, this doesn't make sense
since you use the same version for dom0 and domU, and by default
you'll get newest version available during install time.

If you mean "increase the size of rpool", the steps on a normal
machine should work. Something like
http://www.solarisinternals.com/wiki/index.php/ZFS_Troubleshooting_Guide#ZFS_Root_Pool_Recovery
The biggest difference is getting to boot from CD, where you probably
need to have a special domU config file (which is what I did) or just
repeat the steps you did when installing domU (I assume it can get you
a root console booting from CD/ISO image).

Now since you said you tried attaching a mirror and removing the
original, you could probably get it to work by assigning the mirror to
domU as the original drive (xvda), boot domU from CD, import the pool,
export it, shutdown, and then boot domU normally.

Since it's domU, if all you need is increase the rpool disk size,
there's probably a much simpler method. Extend the disk backing store
(like by resising the zvol). The hard part then is adjusting the
partition and slice (which I haven't personally tried) so that zfs
will recognize the new disk size.

-- 
Fajar
_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to