whoops - i see i have posted the same several times.

this was duo to i got an error message when posting and thought, it didn`t get 
trough

could some moderator probably delete those double posts ?


meanwhile, i did some tests and have very weird results.

first off, i tried "--inplace" to update a slightly changing large binary file 
- and it didn`t give a result as expected.

after a snapshot, rewriting that file made it take exactly twice the space, 
although i only changed some bytes of the source file. (i used binary editor 
"bed" for that) 
i would have expected, that rsync would actually only merge the changed bytes 
into  the destination file and thus zfs snapshot would be efficient with this 
(because of some few write() calls)

it wasn`t.

this changed when i additionally added "--append" - this results in space 
efficiency - but it only works as desired if i append data to the end of the 
source file. if i change the file in the middle (i.e. only changing bytes, not 
inserting new ones) , then rsync tells me:

WARNING: test.dat failed verification -- update retained (will try again).

which i don`t know what rsync want`s to tell me here......

looks like this is not a real problem, but i wonder about that message.

i tested this on zfs-fuse and cannot believe that the result is due to zfs-fuse 
- but i will try to test this on solaris to see if it behaves differently.....
 
 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to