Actions
Bug #3559
closedsetting a volsize larger than the space available sometimes succeeds
Start date:
2013-02-14
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
Description
If you try to set the volsize of a non-sparse zvol larger than the space available the system should return ENOSPC. However, some of the calculations in this code path are always done with the default block size (8k) rather than the zvol's actual block size, which causes ZFS to believe that the zvol is a sparse zvol and allowing you to set the volsize to any value, regardless of the space available in the pool.
Actions