New-SCStorageTier
创建使用 Virtual Machine Manager Server 配置的存储层。
语法
New-SCStorageTier
[-VMMServer <ServerConnection>]
-MediaType <StoragePhysicalDiskMediaType>
-SizeMB <UInt64>
[-ResiliencySettingName <String>]
[-PhysicalDiskRedundancy <UInt16>]
[-NumberOfColumns <UInt16>]
-JobGroup <Guid>
[-RunAsynchronously]
[-PROTipID <Guid>]
[-JobVariable <String>]
[<CommonParameters>]
New-SCStorageTier
[-VMMServer <ServerConnection>]
-StorageTierFriendlyName <String>
-StorageTierSizeInMB <UInt64>
-JobGroup <Guid>
[-RunAsynchronously]
[-PROTipID <Guid>]
[-JobVariable <String>]
[<CommonParameters>]
说明
New-SCStorageTier cmdlet 使用 Virtual Machine Manager 服务器创建一个存储层。 在创建存储层过程中,可以指定存储层基础 (HDD、SSD) 媒体类型以及简单、镜像或奇偶校验) 的 (复原能力,以定义层的可用性特征。
示例
示例 1:在非 S2D 系统上创建存储层
PS C:\> New-SCStorageTier -MediaType "SSD" -SizeMB 1024 -NumberOfColumns 2 -PhysicalDiskRedundancy
此命令在非 S2D 系统上创建存储层。
示例 2:在 S2D 系统上创建存储层
PS C:\> New-SCStorageTier -StorageTierFriendlyName "Performance" -StorageTierSizeInMB 1024 -RunAsynchronously -JobGroup "191de146-dbec-4955-a347-70edd4315c41"
此命令在 S2D 系统上创建存储层。
参数
-JobGroup
指定在包含相同作业组标识符的最终命令之前作为集运行的一系列命令的标识符。
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-JobVariable
指定跟踪和存储作业进度的变量。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-MediaType
指定存储物理磁盘媒体类型对象的数组。 此参数的可接受值为:
- HDD
- SSD
Type: | StoragePhysicalDiskMediaType |
Accepted values: | Unknown, HDD, SSD |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-NumberOfColumns
指定虚拟磁盘的列数。
Type: | UInt16 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PhysicalDiskRedundancy
指定虚拟磁盘可以维持的物理磁盘故障数。
Type: | UInt16 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PROTipID
指定触发此操作 (PRO 提示) 的性能和资源优化提示的 ID。 此参数允许审核 PRO 提示。
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResiliencySettingName
指定虚拟磁盘的复原设置。 此参数的可接受值为:
- 镜像
- Parity
Type: | String |
Accepted values: | Simple, Mirror, Parity |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RunAsynchronously
指示作业以异步方式运行,以便控件立即返回到命令 shell。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SizeMB
指定存储卷或文件共享的大小(以兆字节为单位)。
Type: | UInt64 |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-StorageTierFriendlyName
指定现有的全局存储层名称。 S2D 系统上受支持。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-StorageTierSizeInMB
Type: | UInt64 |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VMMServer
指定VMM 服务器对象。
Type: | ServerConnection |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |