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
I'm looking for a way from the api to match the volume name to the export entry. I've found that generally /vol/{name} maps to the volume name, but that doesn't appear to be a given. Is there a method that i can fetch this information.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you on 7-mode or C-mode?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For 7mode, Get-NaNfsExport [[-Path] <String>] [-Persistent] [-Controller <NaController>] [<CommonParameters>] or you use cli, exportfs -q /vol/xxx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
our mode is 7-mode
exportfs -q dosen't return the volume information, just the export path and actual export path in the below i would expect that somewhere it would identify the volumes test2, or vol0. In the first case, the volume name could maybe be regexed out of the actualpath, but in the second it becomes more complicated.
exportfs -q /vol/test2_22
/vol/test2_22 -actual=/vol/test2,sec=sys,(ruleid=222),rw
exportfs -q /vol/vol0/home
/vol/vol0/home -sec=sys,(ruleid=1),rw,root=10.224.0.68,nosuid
I'll need to check what the psh Get-NaNfsExport is running, i would assume its running <nfs-exportfs-list-rules /> or <nfs-exportfs-list-rules-2 />, neither return volume information
