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

fix(clone): setting properties on the clone volume #57

Merged
merged 1 commit into from
Mar 12, 2020

Conversation

pawanpraka1
Copy link
Contributor

@pawanpraka1 pawanpraka1 commented Mar 10, 2020

fixes #55.

When we clone the zvol, it inherits volsize and block size from the snapshot from which this clone is created. This is not true for datasets, we have to set all the properties while creating the clone. Also, properties like compression, dedup will not be set on the cloned volume for both zvol and dataset. Here I am setting all the prperties for zvol and dataset while creating the clone volume.

Signed-off-by: Pawan pawan@mayadata.io

Signed-off-by: Pawan <pawan@mayadata.io>
@pawanpraka1 pawanpraka1 requested a review from kmova March 10, 2020 13:31
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

Successfully merging this pull request may close these issues.

quota is not set for the cloned volume in case of zfs file system
2 participants