Which two statements are true?

The zfs holds command displays the following information:

Which two statements are true?

The zfs holds command displays the following information:

Which two statements are true?

A.
Use zfs destroy –d pool12/data@nov to destroy the snapshot immediately.

B.
Attempts to destroy the snapshot using zfs destroy pool12/data@nov will fail.

C.
Attempts to destroy the pool12/data@nov snapshot will not destroy the snapshot immediately.

D.
The zfs directory –R pool12/data command will destroy the file system immediately.

E.
The defer_destroy property is set to on for the pool12/data@nov data set.

F.
The userrefs property is set to 1 (or higher) for the pool12/data@nov data set.

Explanation:
* Use the zfs holds command to display a list of held snapshots.
* Holding a snapshot prevents it from being destroyed (B). In addition, this feature allows a
snapshot with clones to be deleted pending the removal of the last clone by using the zfs destroy -d command. Each snapshot has an associated user-reference count, which is initialized to zero.
This count increases by one whenever a hold is put on a snapshot and decreases by one
whenever a hold is released. (F)
Note:
* Example:
# zfs holds tank/home@now
NAME TAG TIMESTAMP
tank/home@now keep Thu Jul 15 11:25:39 2010
* You can use the zfs release command to release a hold on a snapshot or set of snapshots.
If the snapshot is released, the snapshot can be destroyed by using the zfs destroy command.

* Two new properties identify snapshot hold information:
The defer_destroy property is on if the snapshot has been marked for deferred destruction by
using the zfs destroy -d command. Otherwise, the property is off.
The userrefs property is set to the number of holds on this snapshot, also referred to as the userreference count.



Leave a Reply 8

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


Prossy

Prossy

A and B are correct

also E is correct

Brett

Brett

B E

Two new properties identify snapshot hold information:

The defer_destroy property is on if the snapshot has been marked for deferred destruction by using the zfs destroy -d command. Otherwise, the property is off.

The userrefs property is set to the number of holds on this snapshot, also referred to as the user-reference count.

Brett

Brett

Holding a snapshot prevents it from being destroyed. In addition, this feature allows a snapshot with clones to be deleted pending the removal of the last clone by using the zfs destroy -d command

Brett

Brett

I would go with B and E

Not E as the destroy -d command is not shown

tb

tb

B and F are correct