Hello every ZFS gurus

I've been using a ZFS server for about one year now (for rsync-based disk 
backup purpose).

The process is quite simple :
I backup each fs using rsync.
After each filesystem backup, I take a zfs snapshot to freeze read-only the 
saved data.
So I end up with a zfs snapshot for each backup set (one per day).



When I do a zfs list -r, I can see all the snapshots with the size occupied by 
each snapshot. Something proportional to the number of disks blocks that 
changed since the previous snapshot.

I'm surprised to see that the last snapshot is never empty when the snapshot is 
taken automatically by the backup script.
But if I take a snapshot several hours after the backup script has run, the 
snapshot size is 0.



Is there some data missing in the snapshot if I take it right after writing to 
the filesystem ?
Should I wait for some time, so that the zfs buffer cache is written to disk ???
If so, how long ?


Has anyone experienced this kind of symptoms ?

Thank you for your help.
 
 
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