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
I m using ontap 9.7P11 and i would like how i can see the content of a volume through the cli?
I have read some old post on that subject but didin't succéed in it.
Solved! See The Solution
1 ACCEPTED SOLUTION
grocanar has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As Paul already mentioned. Ideally, content should be read using 'data protocol' via their respective clients. But, if you want to see/list what's there in the volume (dir/file) you can always use 'ls' command from advanced mode at the node shell level.
From Cluster shell:
::> node run -node <node>
Type 'exit' or 'Ctrl-D' to return to the CLI
node-01> priv set advanced
Warning: These advanced commands are potentially dangerous; use
them only when directed to do so by NetApp
personnel.
For example: On node-01, there is a volume called cifs_shre, if I want to list what's in it. I can use this cmd:
node-01*> ls /vol/cifs_share
.
..
document.txt
5 REPLIES 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is not possible through the cluster shell.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
then how can i see the content?
my problem is that two nfs client didn't see the same thing and i would like to know who is right
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You don't with cluster commands. You do it from the client end. Maybe you could try browsing from a Windows client over CIFS.
grocanar has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As Paul already mentioned. Ideally, content should be read using 'data protocol' via their respective clients. But, if you want to see/list what's there in the volume (dir/file) you can always use 'ls' command from advanced mode at the node shell level.
From Cluster shell:
::> node run -node <node>
Type 'exit' or 'Ctrl-D' to return to the CLI
node-01> priv set advanced
Warning: These advanced commands are potentially dangerous; use
them only when directed to do so by NetApp
personnel.
For example: On node-01, there is a volume called cifs_shre, if I want to list what's in it. I can use this cmd:
node-01*> ls /vol/cifs_share
.
..
document.txt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your answer.
I had already seen this and it failed.
But it was only because i didn't use the node on which the volume was attached but a node in an other HA PAIR
thanks for your help
