NetApp R200 Tips & Tricks

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:

    netapp> cifs setup
    This command invoke the script which will help to install cifs onto your Filer.

  • The Filer configuration is protected in /etc directory. So, if you want to read the configuration file you can do it by such command:

    netapp> rdfile /etc/rc
    This command read the rc file in /etc directory.

  • If you want edit the file you can use such trick - read file by rdfile command, copy text to your host system, edit it there and copy/paste back to Filer by giving the wrfile command:

    netapp> wrfile /etc/rc
    This command open the rc file 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 rdfile command. 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:

    netapp> cifs help shares
    netapp> cifs shares
    netapp> cifs shares -add <shareName> <path>
    Read help by cifs help shares command.

  • The next command setup access permissions for shares for Groups or Users:

    netapp> cifs access
    netapp> cifs access <share> <user|group> "Full Control"
    Read help by cifs access command.

  • The useradmin command allow to manipulate the Filer users:

    netapp> useradmin user add <name> -c "comments" -g <group1>
    Read help by useradmin user command.

  • To get Volume status is possible by:

    netapp> vol status -r
    Read help by vol help status command.

Follow this post to get additional updates for NetApp useful commands. Any comments below are WELCOME!

Have a good day…

comments powered by Disqus