storage disk removeowner

Remove disk ownership

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The storage disk removeowner command removes ownership from a specified disk. Then disk can then be reassigned to a new owner.

Parameters

-disk <disk path name> - Disk Name
This specifies the disk whose ownership is to be removed.
{ [-root [true]] - Root Partition of Root-Data/Root-Data1-Data2 Partitioned Disk (privilege: advanced)
This optional parameter removes ownership of the root partition of a root-data/root-data1-data2 partitioned disk. You cannot use this parameter with disks that are part of a storage pool. The default value is false.
| [-data [true]] - Data Partition of Root-Data Partitioned Disk (privilege: advanced)
This optional parameter removes ownership of the data partition of a root-data partitioned disk. You cannot use this parameter with a root-data1-data2 partitioned disk or disks that are part of a storage pool. The default value is false.
| [-data1 [true]] - Data1 Partition of a Root-Data1-Data2 Partitioned Disk (privilege: advanced)
This optional parameter removes ownership of the data1 partition of a root-data1-data2 partitioned disk. You cannot use this parameter with a root-data partitioned disk or disks that are part of a storage pool. The default value is false.
| [-data2 [true]]} - Data2 Partition of a Root-Data1-Data2 Partitioned Disk (privilege: advanced)
This optional parameter removes ownership of the data2 partition of a root-data1-data2 partitioned disk. You cannot use this parameter with a root-data partitioned disk or disks that are part of a storage pool. The default value is false.

Examples

The following example removes the ownership from a disk named 1.1.27.

cluster1::> storage disk removeowner -disk 1.1.27

The following example removes ownership of the root partition on disk 1.1.16.

cluster1::> storage disk removeowner -disk 1.1.16 -root true

The following example removes ownership of the data partition on disk 1.1.16.

cluster1::> storage disk removeowner -disk 1.1.16 -data true 

The following example removes ownership of the data1 partition on disk 1.1.23.

cluster1::> storage disk removeowner -disk 1.1.23 -data1 true 

The following example removes ownership of the data2 partition on disk 1.1.23.

cluster1::> storage disk removeowner -disk 1.1.23 -data2 true