On Feb 23, 2010, at 6:24 PM, v wrote:
> Hi,
> Another question regarding snapshot.
> If there is no space in zfs pool, will a write to zfs fail ?
Of course.
> Is there a way to reserve space in zfs pool to be used by snapshot or
clone?
Snapshots are read only, so no need for a reservation.
Clones can be given reservations.
NB, there are two kinds of reservations:
reservations work on the dataset size
refreservations work on the dataset and snapshots sizes
the two differ in the accounting of snapshots.
For more information, see the "Setting ZFS Quotas and Reservations" in
the
ZFS Administration Guide.
-- richard
ZFS storage and performance consulting at http://www.RichardElling.com
ZFS training on deduplication, NexentaStor, and NAS performance
http://nexenta-atlanta.eventbrite.com (March 16-18, 2010)