Table of ContentsView in Frames

How you use the wildcard character with the disk ownership commands

You can use the wildcard character (*) with some commands, including commands to manage disk ownership. However, you should understand how Data ONTAP expands the wildcard character to ensure that you operate on the correct set of disks.

You can use the wildcard character with the following disk ownership commands:

When you use the wildcard character with these commands, Data ONTAP expands it with zero or more characters to create a list of disk names that will be operated on by the command. This can be very useful, for example, when you want to assign all of the disks attached to a particular port or switch.

Note: Be careful when you use the wildcard character. It is accepted anywhere in the disk name string, and is a simple string substitution. Therefore, you might get unexpected results.

For example, to operate on all disks on shelf 1 of stack 1, you would use the following syntax: 1.1.*

However, if you left off the second ".", as in the following snippet, you would operate on all disks in stacks 1, 10, 11, and so on: 1.1*