Hello Matthew,

Friday, March 23, 2007, 2:49:03 AM, you wrote:

MA> Robert Milkowski wrote:
>> MA> Ah -- I think that may help explain things.  It may be that your file 
>> MA> has some runs of zeros in it, which are represented as holes in 
>> MA> d100-copy1/m1, but as blocks of zeros in the d100/m1.  It begs the 
>> MA> question, what is this file and how did you create the copy?
>> 
>> This file is full of 0s - it was created by
>>   dd if=/dev/zero of=/solaris/d100/m1 bs=32k&
>> 
>> Then file system solaris/d100 was replicated in a similar way to zfs
>> send|zfs recv into solaris/d100-copy1.
>> 
>> Now I wonder how holes were created and why not as entire file...

MA> Hmm, that's definitely curious.  What do you mean by "a similar way to
MA> zfs send | zfs recv"?  Can you send me the full output of your 'zdb 
MA> -vvvv solaris/d100{-copy1} 809'?

See http://milek.blogspot.com/2007/03/zfs-online-replication.html

Basically we've implemented a mechanizm to replicate zfs file system
implementing new ioctl based on zfs send|recv. The difference is that
we sleep() for specified time (default 5s) and then ask for new
transcation and if there's one we send it out.

More details really soon I hope.


ps. zdb output sent privately

-- 
Best regards,
 Robert                            mailto:[EMAIL PROTECTED]
                                       http://milek.blogspot.com

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

Reply via email to