Skip to content

Almost empty L2ARC on raidz2 (bleeding out after reboot) #11209

Answered by clefru
clefru asked this question in Q&A
Discussion options

You must be logged in to vote

TL:DR; A misconfigured qemu VM created the guest's memory as file on a ZFS partition and generated tons of useless IO. The L2ARC filled up with short-lived blocks, and in the end all L2ARC blocks were dead. Can we new L2ARC writes target dead block space over pressuring blocks that are alive?

@IvanVolosyuk: Thanks for your poke towards iostat. My assertion that this is an system without pressure turned out to be wrong. I finally found that I had a VM instance running that was generating ZFS IO even when the VM was idle. It turned out that the backing file for shared memory access between the host and the guest landed not in /dev/shm but on my ZFS root fs. Shared memory is required for the…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by behlendorf
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #11209 on December 22, 2020 01:34.