Resource Type: netapp_volume
Overview
Manage Netapp Volume creation, modification and deletion. [Family: vserver]
Properties
-
autosize
Should volume autosize be grow, grow_shrink, or off?
Supported values:- off
- grow
- grow_shrink
-
ensure
(defaults to: present)
The basic property that the resource should be in.
Supported values:- present
- absent
-
exportpolicy
The export policy with which the volume is associated.
-
initsize
The initial volume size. Valid format is [0-9]+.
-
junctionpath
The fully-qualified pathname in the owning Vserver’s namespace at which a volume is mounted.
Supported values:- /^\//
- false
-
options
The volume options hash.
-
snapreserve
The percentage of space to reserve for snapshots.
-
snapshot_policy
The name of the snapshot policy. The default policy name is ‘default’.
-
state
The volume state. Valid options are: online, offline, restricted.
Supported values:- online
- offline
- restricted
Parameters
-
aggregate
The aggregate this volume should be created in.
-
group_id
The UNIX group ID for the volume.
-
languagecode
The language code this volume should use.
Supported values:- C
- ar
- cs
- da
- de
- en
- en_US
- es
- fi
- fr
- he
- hr
- hu
- it
- ja
- ja_v1
- ko
- no
- nl
- pl
- pt
- ro
- ru
- sk
- sl
- sv
- tr
- zh
- zh_TW
-
name (namevar)
The volume name. Valid characters are a-z, 1-9 & underscore.
-
provider
The specific backend to use for this ‘netapp_volume` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.
-
spaceres
The space reservation mode.
Supported values:- none
- file
- volume
-
unix_permissions
Unix permission bits in octal string format.It’s similar to Unix style permission bits: In Data ONTAP 7-mode, the default setting of ‘0755’ gives read/write/execute permissions to owner and read/execute to group and other users. In Data ONTAP Cluster-Mode, for security style ‘mixed’ or ‘unix’, the default setting of ‘0755’ gives read/write/execute permissions to owner and read/execute permissions to group and other users. For security style ‘ntfs’, the default setting of ‘0000’ gives no permissions to owner, group and other users. It consists of 4 octal digits derived by adding up bits 4, 2 and 1. Omitted digits are assumed to be zeros. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. The second digit selects permission for the owner of the file: read (4), write (2) and execute (1); the third selects permissions for other users in the same group; the fourth for other users not in the group.
-
user_id
The UNIX user ID for the volume.
-
volume_type
The type of the volume to be created. Possible values: rw - read-write volume (default setting), ls - load-sharing volume, dp - data-protection volume, dc - data-cache volume (FlexCache)
Supported values:- rw
- ls
- dp
- dc