Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing l2arc blocks IOs to zvol #3358

Closed
pzwahlen opened this issue Apr 30, 2015 · 1 comment
Closed

Removing l2arc blocks IOs to zvol #3358

pzwahlen opened this issue Apr 30, 2015 · 1 comment

Comments

@pzwahlen
Copy link

I'm using 0.6.4.1 on CentOS 7, exporting zvols to ESXi via scst/vdisk_blockio/iscsi

I have a 4-disks/raidz1 pool (I know, not ideal) and an SSD. L2ARC definitely seems to help, until I have to remove it from the pool.

From what I see, removing the L2ARC cache device can take a very long time (up to 5 minutes measured) and IOs to pool zvols are completely blocked during that time (as reported by scst).

I already reported this to the mailing list a few weeks ago on 0.6.3 but wanted to wait for 0.6.4 for some additional tests. It looks like it didn't change.

It might be a "by design" issue, but it makes ZFS almost impractical for a SAN cluster setup where you expect to switch pools from one node to another in just a few seconds (I would say under 30 seconds).

I can add that the time required for removing the cache device is proportional to how much the L2ARC is used (as reported by arcstat.sh).

@gmelikov
Copy link
Member

Close as stale.

If it's actual - feel free to reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants