Hello,
I have noticed unusual behaviour with Persistent L2ARC . I will try to describe 
how to reproduce this problem.
All tests are performed on zfs-2.0.0-rc1_71_g51de0fc. I am using Virtual 
Machine on ESXi 6.7 server.

Test scenario:
1. ZFS pool created with L2ARC that has about 8,4 GB of data on L2arc disk
2. Disconnecting VM disk with L2ARC from Virtual Machine
3. Deleting some data from the zpool with disconnected L2ARC disk
- zpool iostat command shows that some of cached data also has been removed 
from disconnected L2ARC disk
4. Reconnecting VM disk with L2ARC disk to Virtual Machine and rebooting system
5. Adding new data to the zpool - new data are cached in L2ARC disk
6. Deleting all data from zpool
7. L2arc disk still has some data, even if there is no data on zpool
8. Rebooting system
9. After reboot the same situation, zpool is empty but L2ARC disk still has 
some data

I am expecting that deleting all data from zpool also removes data from L2ARC 
cache.
Is it normal behaviour of Persistent L2ARC?

Thank you
------------------------------------------
openzfs: openzfs-developer
Permalink: 
https://openzfs.topicbox.com/groups/developer/T77c79c75ab05a912-Me6344594a06ca2007e812e93
Delivery options: https://openzfs.topicbox.com/groups/developer/subscription

Reply via email to