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
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
D
D
man zfs
reservation=size | none
The minimum amount of space guaranteed to a dataset and
its descendents. When the amount of space used is below
this value, the dataset is treated as if it were taking
up the amount of space specified by its reservation.
Reservations are accounted for in the parent datasets’
space used, and count against the parent datasets’ quo-
tas and reservations.
This property can also be referred to by its shortened
column name, reserv.
D…
You can use the quota property to set a limit on the amount of disk space a file system can use. In addition, you can use the reservation property to guarantee that a specified amount of disk space is available to a file system. Both properties apply to the dataset on which they are set and all descendents of that dataset.
http://docs.oracle.com/cd/E19253-01/819-5461/gazvb/index.html