Microsoft Virtualization Discussions

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

skalaska
4,026 Views

Hi,

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

Cmd: Set-NcVol vol1 -Offline

Output:

Set-NcVol <<<<  vol1 -Offline

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

TAPI_EVOLOPNOTSUPP

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

Can anyone help me out?

Thanks in Advance,

Sandeep Kalaskar

1 ACCEPTED SOLUTION

skalaska
4,026 Views

Hi,

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.

Thanks,

Sandeep Kalaskar

View solution in original post

2 REPLIES 2

vinith
4,026 Views

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?

skalaska
4,027 Views

Hi,

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.

Thanks,

Sandeep Kalaskar

Public