Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Clear-NcDiskOwner


NAME
Clear-NcDiskOwner

SYNOPSIS
Removes ownership information on a disk.

SYNTAX
Clear-NcDiskOwner -Owner <String> [-All] [-Force] [-Controller <NcController
[]>] [-WhatIf] [-Confirm] [<CommonParameters>]

Clear-NcDiskOwner [-Name] <String> -Owner <String> [-OwnerId <Int64>] [-Forc
e] [-Controller <NcController[]>] [-WhatIf] [-Confirm] [<CommonParameters>]

Clear-NcDiskOwner [-OwnerId <Int64>] [-All] [-Force] [-Controller <NcControl
ler[]>] [-WhatIf] [-Confirm] [<CommonParameters>]


DESCRIPTION
Removes ownership information on a disk.


PARAMETERS
-Owner <String>
Remove ownership of all disks owned by Owner (i.e. a node). Either Owne
r or OwnerId is mandatory.

Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-All
If specified, remove ownership information from all disks. This option
is supported in maintenance mode only.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Force
If specified, override the RAID checks, such as whether the disk is part
of an aggregate.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Controller <NcController[]>
A clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach controller in succession.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

-WhatIf


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Confirm


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Name <String>
The name of the disk to unassign.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-OwnerId <Int64>
Remove ownership of all disks owned by this OwnerId (NVRAM ID). This op
tion is supported in maintenance mode only.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS



NOTES


Category: disk
API: disk-sanown-remove-ownership
Family: cluster

-------------- Example 1 --------------

C:\PS>Clear-NcDiskOwner fas3070cluster01-01:0a.27


Remove disk ownership from disk '0a.27' on node 'fas3070cluster01-01.






RELATED LINKS
Get-NcDiskOwner
Set-NcDiskOwner







 Data ONTAP® PowerShell Toolkit