zfs set volsize should prompt if volsize is smaller than current #14820
FallingSnow
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I just changed the size of one of my volumes from 10TB to 40G. I know it's my fault I didn't double check. I was kind of surprised however that zfs allowed me to erase that much information like that. I would like to propose that
zfs set volsize
should prompt the user for deleting data if the specified volsize is smaller than the current size.I've seen another post about this and the response to the query above was that setting volsize is inherently destructive. But I would argue that (like my case where I was trying to actually increase the size of another volume) that volsize (unlike
rm
which is inherently destructive) can also be used to expand a volume.Beta Was this translation helpful? Give feedback.
All reactions