Accepted Solution

Set-NcVol <volname> -Offline fails with an Invalid operation


When I try to set the volume Offline, it error out following message.

Cmd: Set-NcVol vol1 -Offline


Set-NcVol <<<<  vol1 -Offline

  + CategoryInfo          : InvalidOperation: (NetApp.Ontapi.Filer.C.NcController[]:NcController[]) [Set-NcVol], EON


  + FullyQualifiedErrorId : ApiException,DataONTAP.C.PowerShell.SDK.Cmdlets.Volume.SetNcVol

Can anyone help me out?

Thanks in Advance,

Sandeep Kalaskar

Re: Set-NcVol <volname> -Offline fails with an Invalid operation

Hello, here's an extract from cmdlet help

A number of operations being performed on the given volume (or its containing

aggregate) can prevent this operation from succeeding, either at all or for various lengths of time.  If such

operations are found, the system waits up to one second for them to finish.  If they don't, the command is

aborted. A check is also made for files on the volume opened by internal ONTAP processes.  The command is aborted

if any are found.

Could you please check these?

Re: Set-NcVol <volname> -Offline fails with an Invalid operation


As this volume was created with a Junction Path in C-mode filer.

So, in order to set it Offline, first we need to unmount it (remove junction).

Then we can Set it to Offline and Destroy as well.


Sandeep Kalaskar