This is my second article about NetApp R200 filer. I call it Tips & Tricks and going to add the useful commands for Filer manipulation here. The updates regarding this theme will be added in this post if exist.
I want to recall that I don’t take any responsibilities for any hardware damages or information loss you may get by information posted on this Blog. Don’t try do it on live system. Current information for educational purposes only. Do it for your own personal risk.
Here is my Tips:
Just after you’ve created the volume there is a good idea to setup cifs. It is easy do by such command:This command invoke the script which will help to install cifs onto your Filer.
netapp> cifs setup
The Filer configuration is protected in
/etcdirectory. So, if you want to read the configuration file you can do it by such command:This command read the
netapp> rdfile /etc/rc
If you want edit the file you can use such trick - read file by
rdfilecommand, copy text to your host system, edit it there and copy/paste back to Filer by giving the
wrfilecommand:This command open the
netapp> wrfile /etc/rc
rcfile for writing. After, paste your text there and push Ctrl-C disregarding the: error reading standard input: Interrupted system call. Be careful do it, cause you can completely destroy the file content by this. So, check it again by
rdfilecommand. If it is OK you can relax, if NOT repeat the writing from your host buffer.
Add shares into your Filer is possible do by command:Read help by
netapp> cifs help shares netapp> cifs shares netapp> cifs shares -add <shareName> <path>
cifs help sharescommand.
The next command setup access permissions for shares for Groups or Users:Read help by
netapp> cifs access netapp> cifs access <share> <user|group> "Full Control"
useradmincommand allow to manipulate the Filer users:Read help by
netapp> useradmin user add <name> -c "comments" -g <group1>
To get Volume status is possible by:Read help by
netapp> vol status -r
vol help statuscommand.
Follow this post to get additional updates for NetApp useful commands.
Any comments below are WELCOME!
Have a good day…