> On 09/15/10 11:58 PM, Stephan Ferraro wrote:
> > I have to recreate my rpool so I added a new
> hard-disk in my system and I created a "backup" pool
> on the new harddisk.
> >
> > Then I did this:
> > zfs send -R rp...@backup3 | zfs receive -dFv backup
> >
> > Then I would do this:
> > zpool destroy rpool
> > zpool create rpool mirror device1 device2
> > zfs send -R bac...@backup3 | zfs receive -dFv rpool
> >
> > Did I forgot something? Like re-executing
> grub-install for the new rpool?
> >    
> 
> Why don't you just add the new device as a mirror to
> your current pool?

The spacemap of the rpool was corrupt. So I prefered to use "zfs send" & "zfs 
receive" with the hope that it will not copy the corrupt spacemap of the zpool.
With mirroring I suppose it would copy the corrupt spacemap too or crash while 
copy the spacemap.

By the way: It worked. Now server is back online after 48 hours outage. Copying 
100 mio of files took about 24 hours with "zfs send".
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
opensolaris-help@opensolaris.org

Reply via email to