storage pool create
Create a new storage pool
Availability: This command is available to cluster administrators at the admin privilege level.
Description
The storage pool create
command creates an SSD storage pool using a given list of spare SSDs.
When a storage pool is created, ONTAP splits the capacity provided by the SSDs into four equally-sized allocation units. In an HA configuration, two allocation units (containing 50% of the total capacity) are assigned to each node in the HA pair. This assignment can be modified using the storage pool reassign command.
After the storage pool is created, its allocation units can be provisioned into Flash Pool aggregates using the storage aggregate add-disks command and the -storage-pool
parameter.
Storage pools are not supported in All-Flash aggregates. |
Parameters
-storage-pool <storage pool name>
- Storage Pool Name-
This parameter specifies the name of the storage pool that is to be created. The SSDs are partitioned and placed into the new storage pool.
- {
[-nodes {<nodename>|local}]
- Nodes Sharing the Storage Pool -
This parameter specifies a list of nodes from which SSD disks are selected to create the storage pool. If two nodes are specified then they need to be in HA configuration. Spare disks are selected from either node or its partner or both. If this parameter is not specified, storage pool will be created by selecting disks from either the node or its partner or both from where command is run.
-disk-count <integer>
- Number of Disks in Storage Pool-
This parameter specifies the number of disks that are to be included in the storage pool. The disks in this newly created storage pool come from the pool of spare disks. The smallest disks in this pool are added to the storage pool first, unless you specify the
-disk-size
parameter. [-disk-size {<integer>[KB|MB|GB|TB|PB]}]
- Disk Size-
This parameter specifies the size of the disks on which the storage pool is to be created. Disks with a usable size between 95% and 105% of the specified size are selected.
- |
-disk-list <disk path name>,…
- Disk List for Storage Pool Creation } -
This parameter specifies a list of SSDs to be included in the new storage pool. The SSDs must be spare disks and can be owned by either node in an HA pair.
[-simulate <true>]
- Simulate Storage Pool Creation-
This option simulates the storage pool creation and prints the allocation unit size that would be used for the storage pool.
Examples
The following example creates a storage pool named SP1. The storage pool contains 3 SSD disks, the spare disks selected are from either local node, or its partner or both based on spare availability.
cluster1::> storage pool create -storage-pool SP1 -disk-count 3
The following example creates a storage pool named SP2. The storage pool contains 3 SSD disks, the spare disks selected are from either node0, or its partner node1 or both based on spare availability.
cluster1::> storage pool create -storage-pool SP2 -disk-count 3 -nodes node0,node1
The following example creates a storage pool named SP3 from four SSDs using disk list.
cluster1::> storage pool create -storage-pool SP3 -disk-list 1.0.13, 1.0.15, 1.0.17, 1.0.19