I just did it last week by another way (modified from 
http://blogs.sun.com/slowhog/entry/install_opensolaris_side_by_side):

-       Physically connect your new HDD.
-       zpool create newpool <new HDD>
-       zfs snapshot rp...@now
-       zfs send -R rp...@now | zfs receive -dF newpool
-       Install grub on the new HDD.

One problem is that the zpool name is not the same for the new HDD. I edited 
grub menu.lst and /etc/vfstab manually. Or I guess you can boot from another 
installation, give the new zpool name "rpool" and import the old zpool with 
some other name before doing the clone.

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of UNIX admin
Sent: 2009年3月23日 1:12
To: [email protected]
Subject: Re: [osol-discuss] How to move the os to anther disk (no mirroring)

> You get a 60GB mirror.

I suspected as much, hence my question.

> Then, when you remove the 60G disk and your reboot or
> export/import the
> pool, then it will reevaluate the size of the vdev.
> 
> It tried and it worked (and "zpool history" remembers
> how I did it)

Cool. That is a really useful piece of information. I don't recall seeing it in 
the manual pages though. Is it documented anywhere?
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to