Which option would you choose?

You have a ZFS file system named /dbase/oral and you want to guarantee that 10 GB of
storage space is available to that dataset for all data, snapshots, and clones. Which option
would you choose?

You have a ZFS file system named /dbase/oral and you want to guarantee that 10 GB of
storage space is available to that dataset for all data, snapshots, and clones. Which option
would you choose?

A.
zfs set refreservation=10g dbase/oral

B.
zfs set quota=10g dbase/oral

C.
zfs set refquota=10g dbase/oral

D.
zfs set reservation=10g dbase/oral



Leave a Reply 2

Your email address will not be published. Required fields are marked *


bb

bb

refreservation 不包含快照。

mahoni

mahoni

Explanation:
A ZFS reservation is an allocation of disk space from the pool that is guaranteed to be available to a dataset. As such, you cannot reserve disk space for a dataset if that space is not currently available in the pool. The total amount of all outstanding, unconsumed reservations cannot exceed the amount of unused disk space in the pool. ZFS reservations can be set and displayed by using the zfs set and zfs get commands. For example:
# zfs set reservation=5G tank/home/bill
# zfs get reservation tank/home/bill
NAME PROPERTY VALUE SOURCE
tank/home/bill reservation 5G local
Reference: Oracle Solaris ZFS Administration Guide Setting , Reservations on ZFS File Systems