Patrick Bachmann wrote:
> Jonathan,
>
> On Mon, Mar 03, 2008 at 11:14:14AM -0800, Jonathan Loran wrote:
>   
>> What I'm left with now is to do more expensive modifications to the new 
>> mirror to increase its size, or using zfs send | receive or rsync to 
>> copy the data, and have an extended down time for our users.  Yuck!
>>     
>
> Not sure if this is going to help you, as I do not know how your
> restructuring impacts the available space on your old array.
> Here's an idea: Create a sparse zvol on the new array and attach it 
> to the old array.
>
> # mkdir test
> # mkfile 150m /test/old; mkfile 100m /test/new
> # zpool create foo /test/old
> # zpool create bar /test/new
> # zfs create -s -V 150m bar/vol
> # mkfile 20m /foo/test.file
> # zpool attach foo /test/old /dev/zvol/dsk/bar/vol
> # zpool detach foo /test/old
>   
I'm 'not sure I follow how this would work.  I do have tons of space on 
the old array.  It's only 15% utilized, hence my original comment.  How 
does my data get into the /test/old zvol (zpool foo)?  What would I end 
up with.  This seems a bit like black magic.  Maybe that's what I need, eh?

Jon
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to