Why is the refreservation attribute added to the created file system? The value of the used attribute is the same as that of the refreservation attribute. #13560
-
I use ZFS version 2.0.7. When I modify the refreservation value, the value of the used attribute will also be modified, as shown in the following figure. Please: is this a normal attribute setting? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
The point of {ref,}reservation is "please make sure this dataset can use at least this amount of space {on the live copy, total}", which logically implies "please treat this dataset as though the USED amount for {the live copy, total} is MAX(actual used value, the reservation property) for accounting for how much space everything but this dataset can use". So yes, that's expected. |
Beta Was this translation helpful? Give feedback.
The point of {ref,}reservation is "please make sure this dataset can use at least this amount of space {on the live copy, total}", which logically implies "please treat this dataset as though the USED amount for {the live copy, total} is MAX(actual used value, the reservation property) for accounting for how much space everything but this dataset can use".
So yes, that's expected.