-
Notifications
You must be signed in to change notification settings - Fork 70
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
I want to know if the part about creating a pool with log settings is not implemented. If it is, can you provide an example? #47
Comments
Hi @alphandbelt, Are you referring to the zpool history log or the creation of the pool with log/ZIL devices? For setting up ZIL, you can use the VDevTree structure argument with the PoolCreate(...) function to pass a pointer to the Logs *VDevTree. |
Thank you for your reply! I want to set up ZIL.
} before call the func of PoolCreate |
@alphandbelt, after digging into the code, you are right; it's actually never implemented. I obviously forgot about that. You can add spare and L2 cache disks, but logs are ignored. |
Thank you for your response! This Golang library is very convenient to use, and as ZFS becomes more popular, more and more people will find this excellent library useful. Do you have any plans to continue adding more features to it? By the way, I have another question. When I create an L2 cache device, the pool that is created turns out to be a spare pool, which is very strange. Could you please take another look at it? I really appreciate your help! |
No description provided.
The text was updated successfully, but these errors were encountered: