Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Removing and destroying a plex

Why you might remove and destroy a plex  Top

You might remove a plex from a mirrored aggregate or traditional volume and destroy it if there was a problem with that plex. For example, if you have a double-disk failure that causes a plex to fail, you can remove the plex from the mirrored aggregate or traditional volume, fix the problem, and then recreate it, or you can recreate it using a different set of disks if the problem cannot be fixed.

You might also remove a plex from a mirrored aggregate or traditional volume and destroy it if you want to stop mirroring the aggregate or traditional volume.

Removing and destroying a plex  Top

You can remove and destroy a plex from a mirrored aggregate or from a traditional volume.

Destroying a plex from a traditional volume

To remove and destroy a plex from a traditional volume, complete the following steps.

Step

Action

1

Ensure that the plex you are removing is offline.

2

Enter the following step:

vol destroy plexname

plexname is the name of the plex you are removing.

Example

In this example, use the following command to remove and destroy the vol0/plex1 plex from the vol0 mirrored volume after taking the vol0/plex1 plex offline:

vol destroy vol0/plex1

Destroying a plex from a mirrored aggregate

Removing and destroying a plex from a mirrored aggregate requires the additional steps of taking FlexVol volumes in the plex offline and destroying them. To remove and destroy a plex from a mirrored aggregate, complete the following steps.

Step

Action

1

Take offline all of the FlexVol volumes in the plexes you decided to take offline by entering the following command:

vol offline vol-name

vol-name is the name of the FlexVol volume.

Note
Only one FlexVol volume at a time can be taken offline.

2

Remove the FlexVol volumes from the plexes you decided to take offline by entering the following command:

vol destroy vol-name

vol-name is the name of the FlexVol volume.

Note
Only one FlexVol volume at a time can be taken offline.

3

Take offline all of the plexes you decided to take offline by entering the following command:

aggr offline plex-name

plex-name is the name of one of the mirrored plexes.

Note
Only one plex at a time can be taken offline.

4

Destroy the plex you took offline by entering the following command:

aggr destroy plex-name

plex-name is the name of one of the mirrored plexes.

Result of removing and destroying a plex  Top

Removing and destroying a plex from a mirrored aggregate or traditional volume results in an unmirrored aggregate or traditional volume, because the aggregate or traditional volume now has only one plex.

After removing the plex, Data ONTAP converts the good disks used by the plex into hot spare disks.

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments