nerdexam
Oracle

1Z0-822 · Question #71

The zfs holds command displays the following information: Which two statements are true?

The correct answer is B. Attempts to destroy the snapshot using zfs destroy pool12/data@nov will fail. E. The defer_destroy property is set to on for the pool12/data@nov data set. 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…

Managing Storage

Question

The zfs holds command displays the following information:

Which two statements are true?

Options

  • AUse zfs destroy -d pool12/data@nov to destroy the snapshot immediately.
  • BAttempts to destroy the snapshot using zfs destroy pool12/data@nov will fail.
  • CAttempts to destroy the pool12/data@nov snapshot will not destroy the snapshot immediately.
  • DThe zfs directory -R pool12/data command will destroy the file system immediately.
  • EThe defer_destroy property is set to on for the pool12/data@nov data set.
  • FThe userrefs property is set to 1 (or higher) for the pool12/data@nov data set.

How the community answered

(26 responses)
  • A
    15% (4)
  • B
    73% (19)
  • C
    8% (2)
  • D
    4% (1)

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. # 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 user-

Topics

#ZFS snapshot#zfs holds#defer_destroy#userrefs

Community Discussion

No community discussion yet for this question.

Full 1Z0-822 Practice