Set-NcVol <volname> -Offline fails with an Invalid operation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! See The Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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