We have a different fault scenario which might go back to the same cause:
we see lots of filesystems where "referenced" is a large value, but the
filesystem is empty. Steps to reproduce:

1. put a good amount of data into a filesystem
2. take a snapshot
3. delete the files
4. take another snapshot
5. send-receive the first snapshot to a new filesystem
6. incrementally send over the second snapshot
7. the receiving filesystem is empty, but 'referenced' still shows
   a large value

The reason I see is that the incremental send only contains a small
fraction of the FREEs.
If I send the resulting filesystem again (to a 3rd filesystem), the
stream contains all the deleted files, but they are not visible to
the user.

The proposed patch fixes the bug.

This leaves us with the problem of how to clean up the mess...

---
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/37#issuecomment-169972108
_______________________________________________
developer mailing list
[email protected]
http://lists.open-zfs.org/mailman/listinfo/developer

Reply via email to