Project

General

Profile

Actions

Feature #3601

open

Request: New zpool property "protected=on|off"

Added by Markus Grundmann over 9 years ago. Updated over 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
zfs - Zettabyte File System
Start date:
2013-03-01
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

In the opensolaris mailing list I have discussed a new "feature" for zfs. Here now the feature request for a "pool protection". If the property "protected" is set to "on" all modifications to the pool are disallowed (e.g. "destroy", "attach").

Example:

! # zpool set protected=on <pool>
! # zpool destroy <pool>
! Error: Operation failed because pool is protected.
!
! # zpool set protected=off <pool>
! # zpool destroy <pool>
!
! Operation successfully.

I hope this is the right place for an feature request?! If not please delete this record.
I'm new here :-)

Best regards,
Markus

Actions #1

Updated by sham pavman over 9 years ago

what about the datasets that are created within the pool ?
Is the intention here to prevent them from being acted upon as well?

In a practical case the idea of wanting to remove datasets from the pool at will is not uncommon and it should also be allowed by default.

Actions

Also available in: Atom PDF