Microsoft Virtualization Discussions

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

skalaska

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

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

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

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

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