-
Notifications
You must be signed in to change notification settings - Fork 52
Add HPOVStorageVolume
Import an existing Storage Volume resource.
Add-HPOVStorageVolume [-StorageSystem] <Object> [-VolumeID] <String> [-VolumeName] <String> [-Description] <String>[ [-Shared] <SwitchParameter>] [-ApplianceConnection] <Object> [<CommonParameters>]
Add-HPOVStorageVolume [-StorageSystem] <Object> [-StorageDeviceName] <String> [-VolumeName] <String> [-Description] <String>[ [-Shared] <SwitchParameter>] [-ApplianceConnection] <Object> [<CommonParameters>]
This cmdlet will help add an existing storage volume that was provisioned on the Storage System. The volume should not be exported or assigned to a server or groups of servers. The Storage Volume also must reside in the Managed Domain of the Stroage System that the appliance managed. The Storage Volume's WWN will be needed.
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one HPOneView.Appliance.Connection object or Name property value. If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | true |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | False |
-Description <String>
Provide a description for the volume.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Shared <SwitchParameter>
Include this switch to mark the Storage Volume as a Shareable resource for shared volume access. Default: Private
Aliases | None |
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-StorageDeviceName <String>
The Storage Systems' Device Name of the volume. This can be found in either the 3PAR IMC, CLI or HPE SSMC by looking at the provisionined volume and copying the 'Name' property.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-StorageSystem <Object>
The Storage System where the volume will be imported from. Volume to be imported must be provisioned to the same Managed Domain as the Storage System.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-VolumeID <String>
Aliases [-volid, -id, -wwn] The 128bit WWN FC address of the volume to be imported. Address must be in the following format: AA:BB:CC:DD:EE:AA:BB:CC:DD:EE:AA:BB:CC:DD:EE:AA
Aliases | volid, id, wwn |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-VolumeName <String>
Aliases [-name] Specify the Storage Volume Name.
Aliases | name |
Required? | true |
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 (http://go.microsoft.com/fwlink/?LinkID=113216)
HPOneView.Storage.System [System.Management.Automation.PSCustomObject] Storage Pool resource object
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]
Async create task
-------------------------- EXAMPLE 1 --------------------------PS C:\> Add-HPOVStorageVolume -StorageSystem 3ParSys1 -VolumeID 50:00:2A:C0:03:1E:15:2C -VolumeName 'MyStorageVol1'
Import the volume '50:00:2A:C0:03:1E:15:2C' from the '3ParSys1' Storage System.
-------------------------- EXAMPLE 2 --------------------------PS C:\> Get-HPOVStorageSystem 3ParSys1 | Add-HPOVStorageVolume -VolumeID 50:00:2A:C0:03:1E:15:2C -VolumeName 'MyStorageVol1'
Import the volume '50:00:2A:C0:03:1E:15:2C' from the '3ParSys1' Storage System.
-------------------------- EXAMPLE 3 --------------------------PS C:\> Get-HPOVStorageSystem 3ParSys1 | Add-HPOVStorageVolume -StorageDeviceName "MyStorageVolName1" -VolumeName 'MyStorageVol1'
Import a volume using the storage device name "MyStorageVolName1" on the '3ParSys1' Storage System.
- [Get-HPOVStorageVolume] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Get-HPOVStorageVolume)
- [New-HPOVStorageVolume] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/New-HPOVStorageVolume)
- [Set-HPOVStorageVolume] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Set-HPOVStorageVolume)
- [Remove-HPOVStorageVolume] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Remove-HPOVStorageVolume)
- [Get-HPOVStorageVolumeTemplate] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Get-HPOVStorageVolumeTemplate)
- [New-HPOVStorageVolumeTemplate] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/New-HPOVStorageVolumeTemplate)
- [Get-HPOVStorageVolumeTemplatePolicy] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Get-HPOVStorageVolumeTemplatePolicy)
- [Set-HPOVStorageVolumeTemplate] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Set-HPOVStorageVolumeTemplate)
- [Get-HPOVStoragePool] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Get-HPOVStoragePool)
- [Add-HPOVStoragePool] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Add-HPOVStoragePool)
### HPE OneView 2.00 Library
Import an existing Storage Volume resource.
Add-HPOVStorageVolume [-StorageSystem] <Object> [-VolumeID] <String> [-VolumeName] <String> [-Description] <String>[ [-Shared] <SwitchParameter>] [-ApplianceConnection] <Object> [<CommonParameters>]
Add-HPOVStorageVolume [-StorageSystem] <Object> [-VolumeName] <String> [-Description] <String> [-StorageDeviceName] <String>[ [-Shared] <SwitchParameter>] [-ApplianceConnection] <Object> [<CommonParameters>]
This Cmdlet will help add an existing storage volume that was provisioned on the Storage System. The volume should not be exported or assigned to a server or groups of servers. The Storage Volume also must reside in the Managed Domain of the Stroage System that the appliance managed. The Storage Volume's WWN will be needed.
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one HPOneView.Appliance.Connection object or Name property value. If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.
Default Value: ${Global:ConnectSessions} | ? Default
Aliases | Appliance |
Required? | true |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | False |
-Description <String>
Provide a description for the volume.
Aliases | None |
Required? | true |
Position? | 3 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Shared <SwitchParameter>
Include this switch to mark the Storage Volume as a Shareable resource for shared volume access. Default: Private
Aliases | None |
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-StorageDeviceName <String>
The Storage Systems' Device Name of the volume. This can be found in either the 3PAR IMC, CLI or HPE SSMC by looking at the provisionined volume and copying the 'Name' property.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-StorageSystem <Object>
The Storage System where the volume will be imported from. Volume to be imported must be provisioned to the same Managed Domain as the Storage System.
Aliases | None |
Required? | true |
Position? | 0 |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-VolumeID <String>
Aliases [-volid, -id, -wwn] The 128bit WWN FC address of the volume to be imported. Address must be in the following format: AA:BB:CC:DD:EE:AA:BB:CC:DD:EE:AA:BB:CC:DD:EE:AA
Aliases | volid, id, wwn |
Required? | true |
Position? | 1 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-VolumeName <String>
Aliases [-name] Specify the Storage Volume Name.
Aliases | name |
Required? | true |
Position? | 2 |
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 (http://go.microsoft.com/fwlink/?LinkID=113216)
System.String Storage Pool Name or URI
System.Management.Automation.PSCustomObject Storage Pool resource object
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]
Async create task
-------------------------- EXAMPLE 1 --------------------------PS C:\> Add-HPOVStorageVolume -StorageSystem 3ParSys1 -VolumeID 50:00:2A:C0:03:1E:15:2C -VolumeName 'MyStorageVol1'
Import the volume '50:00:2A:C0:03:1E:15:2C' from the '3ParSys1' Storage System.
-------------------------- EXAMPLE 2 --------------------------PS C:\> Get-HPOVStorageSystem 3ParSys1 | Add-HPOVStorageVolume -VolumeID 50:00:2A:C0:03:1E:15:2C -VolumeName 'MyStorageVol1'
Import the volume '50:00:2A:C0:03:1E:15:2C' from the '3ParSys1' Storage System.
- [Get-HPOVStorageVolume] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Get-HPOVStorageVolume)
- [New-HPOVStorageVolume] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/New-HPOVStorageVolume)
- [Set-HPOVStorageVolume] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Set-HPOVStorageVolume)
- [Remove-HPOVStorageVolume] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Remove-HPOVStorageVolume)
- [Get-HPOVStorageVolumeSnapshot] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Get-HPOVStorageVolumeSnapshot)
- [New-HPOVStorageVolumeSnapshot] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/New-HPOVStorageVolumeSnapshot)
- [Remove-HPOVStorageVolumeSnapshot] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Remove-HPOVStorageVolumeSnapshot)
- [ConvertTo-HPOVStorageVolume] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/ConvertTo-HPOVStorageVolume)
- [Get-HPOVStorageVolumeTemplate] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Get-HPOVStorageVolumeTemplate)
- [New-HPOVStorageVolumeTemplate] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/New-HPOVStorageVolumeTemplate)
- [Get-HPOVStorageVolumeTemplatePolicy] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Get-HPOVStorageVolumeTemplatePolicy)
- [Set-HPOVStorageVolumeTemplate] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Set-HPOVStorageVolumeTemplate)
- [Get-HPOVStoragePool] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Get-HPOVStoragePool)
- [Add-HPOVStoragePool] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Add-HPOVStoragePool)
### HPE OneView 1.20 Library
Import an existing Storage Volume resource.
Add-HPOVStorageVolume [-StorageSystem] <StorageSystem> [-VolumeID] <VolumeID> [-volumeName] <volumeName>[ [-description] <description>][ [-shared] <shared>] [<CommonParameters>]
This cmdlet will help add an existing storage volume that was provisioned on the Storage System. The volume should not be exported or assigned to a server or groups of servers. The Storage Volume also must reside in the Managed Domain of the Stroage System that the appliance managed. The Storage Volume's WWN will be needed.
-StorageSystem <StorageSystem>
Required. The Storage System where the volume will be imported from. Volume to be imported must be provisioned to the same Managed Domain as the Storage System.
Aliases | None. |
Required? | true |
Position? | 1 |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | false |
-VolumeID <VolumeID>
Aliases [-volid, -id, -wwn] Required. The FC address of the volume to be imported. Address must be in the following format: AA:BB:CC:DD:EE:AA:BB:CC
Aliases | None. |
Required? | true |
Position? | 2 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-volumeName <volumeName>
Aliases [-name] Required. Specify the Storage Volume Name.
Aliases | None. |
Required? | true |
Position? | 3 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-description <description>
Optional. Provide a description for the volume.
Aliases | None. |
Required? | false |
Position? | 4 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-shared <shared>
Include this switch to mark the Storage Volume as a Shareable resource for shared volume access. Default: Private
Aliases | None. |
Required? | false |
Position? | named |
Default value | False |
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 (http://go.microsoft.com/fwlink/?LinkID=113216)
System.String Storage Pool Name or URI System.Management.Automation.PSCustomObject Storage Pool resource object
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]
Async create task
-------------------------- EXAMPLE 1 --------------------------PS C:\> Add-HPOVStorageVolume -StorageSystem 3ParSys1 -VolumeID 50:00:2A:C0:03:1E:15:2C -VolumeName 'MyStorageVol1'
Import the volume '50:00:2A:C0:03:1E:15:2C' from the '3ParSys1' Storage System.
-------------------------- EXAMPLE 2 --------------------------PS C:\> Get-HPOVStorageSystem 3ParSys1 | Add-HPOVStorageVolume -VolumeID 50:00:2A:C0:03:1E:15:2C -VolumeName 'MyStorageVol1'
Import the volume '50:00:2A:C0:03:1E:15:2C' from the '3ParSys1' Storage System.
- [Get-HPOVStorageVolume] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Get-HPOVStorageVolume)
- [New-HPOVStorageVolume] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/New-HPOVStorageVolume)
- [Set-HPOVStorageVolume] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Set-HPOVStorageVolume)
- [Remove-HPOVStorageVolume] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Remove-HPOVStorageVolume)
- [Get-HPOVStorageVolumeTemplate] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Get-HPOVStorageVolumeTemplate)
- [New-HPOVStorageVolumeTemplate] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/New-HPOVStorageVolumeTemplate)
- [Get-HPOVStorageVolumeTemplatePolicy] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Get-HPOVStorageVolumeTemplatePolicy)
- [Set-HPOVStorageVolumeTemplate] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Set-HPOVStorageVolumeTemplate)
- [Get-HPOVStoragePool] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Get-HPOVStoragePool)
- [Add-HPOVStoragePool] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Add-HPOVStoragePool)