Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
Most of our CIFS volumes have their namespace under vol, a leftover from our 7-mode days. Recently, we have simply allowed Ontap to create the namespace, which results in /flexvol1 instead of /vol/flexvol1 as a path. Using
$sharedetails = Get-NcCifsShare $sharename Get-NcVol $sharedetails.Path
gives a result for Get-NcVol $sharedetails.Path if the namespace is in /vol. But the same query on a volume in / returns a null. Anyone have any ideas? TIA.
Solved! See The Solution
1 ACCEPTED SOLUTION
AlexDawson has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I get the same behavior running ONTAP 9.3P14 with version 9.6 of the PowerShell Toolkit. However, if you pipe your Get-NcCifsShare output to Get-NcVol, it does actually return the proper data, so that might be an option for you.
Get-NcCifsShare <share_name> | Get-NcVol
1 REPLY 1
AlexDawson has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I get the same behavior running ONTAP 9.3P14 with version 9.6 of the PowerShell Toolkit. However, if you pipe your Get-NcCifsShare output to Get-NcVol, it does actually return the proper data, so that might be an option for you.
Get-NcCifsShare <share_name> | Get-NcVol
