ONTAP Discussions

Unable to offline the aggregate

manju_medam

Unable to offline the aggr, i made sure no volumes exist on the aggr.

Getting the following error

Error: command failed: Failed to take aggregate "XXX_aggr_3_target_BE" offline. Reason: Aggregate is in use by other operations. ().

 

Even log message:

wafl.offline.proc.file.unres: Could not resolve '1' of 'sm_stm_main's' open file names.

wafl.offline.proc.file: The 'sm_stm_main' process has '1' file'' open.

wafl.offline.openfiles: 'XXX_aggr_3_target_BE' might not be 'offlined' because of '1' open file''.

 

Any solution here?

1 ACCEPTED SOLUTION

tahmad

Use aggr relocate if you don't have any volume on it and then delete it.

storage aggregate relocation start 

 

Or add -force true while running aggr offline command.

Example:
nas-cm92::> set d

Warning: These diagnostic commands are for use by NetApp personnel only.
Do you want to continue? {y|n}: y


nas-cm92::*> aggr offline -aggregate test -force-offline true

Warning: The aggregate contains one or more volumes. In order to offline the
aggregate, all of these volumes must be unmounted. Do you want to
unmount all of the volumes hosted by the aggregate?
{y|n}: y

Aggregate offline successful on aggregate: test

 

View solution in original post

5 REPLIES 5

tahmad

Use aggr relocate if you don't have any volume on it and then delete it.

storage aggregate relocation start 

 

Or add -force true while running aggr offline command.

Example:
nas-cm92::> set d

Warning: These diagnostic commands are for use by NetApp personnel only.
Do you want to continue? {y|n}: y


nas-cm92::*> aggr offline -aggregate test -force-offline true

Warning: The aggregate contains one or more volumes. In order to offline the
aggregate, all of these volumes must be unmounted. Do you want to
unmount all of the volumes hosted by the aggregate?
{y|n}: y

Aggregate offline successful on aggregate: test

 

View solution in original post

manju_medam

Tnx for the help,

relocation did work, Offline was failing even with force too.

tahmad

you must disable and Delete vserver audit which removes all the auditing staging (MDV) volume.

 

How to create or remove auditing staging (MDV) volumes 

manju_medam

Out of 10 aggregates am trying to offline only one aggregate, and none of the vservers has root volume in this aggregate

manju_medam

also no vserver auditing is enabled. No sign of MDV volumes in any aggr

 

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public