2013-03-26 07:51 AM
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,
Solved! See The Solution
2 REPLIES 2
Re: Set-NcVol <volname> -Offline fails with an Invalid operation
2013-03-26 07:58 AM
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?
2013-03-28 04:20 AM
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.