NAME
Add-DcsPool
SYNOPSIS
Creates a disk pool.
SYNTAX
Add-DcsPool -Server <String> -Name <String> [ -Description <String> ] [ -StorageAllocationUnitSize <UInt32> ] [ -SectorSize <UInt32> ] [ -MaxTiernumber <Int32> ] [ -TierReservedPct <Int32> ] [ -Connection <String> ] [ -PipelineVariable <String> ] [<CommonParameters>]
DESCRIPTION
Creates a disk pool. Disks can be added to the pool with Add-DcsPoolMember. Properties can be customized with Set-DcsPoolProperties.
PARAMETERS
- -Server<String>
- Computer name or ID of the server. The computer name must be unique or the name must be fully qualified.
-
- Required: true
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -Name<String>
- Name to assign to the disk pool. The disk pool will be created on the specified server.
-
- Required: true
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -Description<String>
- Description of the disk pool.
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -StorageAllocationUnitSize<UInt32>
- number of megabytes to assign as the storage allocation unit (SAU) size of the disk pool. Possible values are "4", "8", "16", "32", "64", "128", "256", "512", or "1024" MiB. If the value is not specified, the pool will be created with the default size of 1024 MiB.
-
- Required: false
- Position: named
- Default value: 1024
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -SectorSize<UInt32>
- Use this parameter to set the sector size for the disk pool. Valid values are "512" and "4096", which represent the number of bytes in the sector. If this parameter is not specified, the default of "512" will be used.
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -MaxTiernumber<Int32>
- Use this parameter to set a maximum number of tiers for the disk pool. Up to 15 tiers are allowed in a pool. If this parameter is not specified, the default of "3" will be used.
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -TierReservedPct<Int32>
- Use this parameter to reserve a percentage of space in each pool tier to use for future virtual disk allocations. A valid value is a number between 0 and 20 which refers to the percentage. For example, to reserve 20% space in each tier, enter the value "20". If this parameter is not specified, the default of "0" will be used, which will not reserve any space in the tiers.
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -Connection<String>
- Alias of the connection to the server group. If not specified, the default connection will be used.
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -PipelineVariable<String>
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
- -<CommonParameters>
- This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
-
INPUTS
OUTPUTS
DiskPoolData : Object that identifies and describes the disk pool.
NOTES
Also see Get-DcsPool, Set-DcsPoolProperties.
EXAMPLES
Add-DcsPool -Server SSVVM011 -Name "Disk pool 1"
Creates a pool named "Disk pool 1" on the server named "SSVVM01". Since the values are not specified, the pool is created using the default values for SAU (chunksize) size (1024 MiB), sector size (512 B), and maximum number of tiers (3). The DiskPoolData object is returned.
PoolMode | : | ReadWrite |
ServerId | : | 9A622809-4DE6-4B9F-9965-EF29852A1D9E |
SharedPoolId | : | |
Alias | : | Disk pool 1 |
Description | : | |
PresenceStatus | : | Present |
PoolStatus | : | Running |
Type | : | Dynamic |
ChunkSize | : | 1 GiB |
SectorSize | : | 512 B |
MaxTiernumber | : | 3 |
TierReservedPct | : | 0 |
AutoTieringEnabled | : | True |
IsAuthorized | : | True |
InSharedMode | : | False |
SMPAApproved | : | False |
Sequencenumber | : | 4977 |
Id | : | 9A622809-4DE6-4B9F-9965-EF29852A1D9E:{3fddb6db-f226-11e6-80eb-00155d138904} |
Caption | : | Disk pool 1 |
ExtendedCaption | : | Disk pool 1 on SSVVM01 |
Internal | : | False |
Add-DcsPool -Server "SSVVM04" -Name "VM04Pool1" -StorageAllocationUnitSize 128 -SectorSize 4096 -MaxTiernumber 5 -TierReservedPct 20
A disk pool named "VM04Pool1" is created on the server named "SSVVM04". The storage allocation unit size is 128 MiB and the sector size is 4096 bytes (4 KB). The pool will have 5 tiers and each tier will have 20% reserved space. The DiskPoolData object is returned.
PoolMode | : | ReadWrite |
ServerId | : | FF140341-D7FC-4DF7-95B3-AE551F099F00 |
SharedPoolId | : | |
Alias | : | VM04Pool1 |
Description | : | |
PresenceStatus | : | Present |
PoolStatus | : | Running |
Type | : | Dynamic |
ChunkSize | : | 128 MiB |
SectorSize | : | 4 KB |
MaxTiernumber | : | 5 |
TierReservedPct | : | 20 |
AutoTieringEnabled | : | True |
IsAuthorized | : | True |
InSharedMode | : | False |
SMPAApproved | : | False |
Sequencenumber | : | 7126 |
Id | : | FF140341-D7FC-4DF7-95B3-AE551F099F00:{911d1f40-8d55-11e5-80ee-00155d138910} |
Caption | : | VM04Pool1 |
ExtendedCaption | : | VM04Pool1 on SSVVM04 |
Internal | : | False |