Network Appliance DataONTAP 7.

2 Command Reference
aggr copy start <opt> <src> <dest> copy start –s copy start –S create <name> create <name> -v create <name> -m create <name> -t [raid4 | raid_dp] create <name> -r <n> also: aggr options raidsize create <name> -n destroy [aggrname | plexname] destroy <name> -f offline <name> online <name> rename <name> <newname> cifs shares shares –add <name> <path> comment <comment> shares –delete <name> -change <sharename> -delete <sharename> -forcegroup <groupname> -noforcegroup access <share> [-g] [user | group] <rights> Works with aggregates Starts copy of an aggregate from <src> to <dest> Copy a snapshot to the new aggregate. Destination will look like the snapshot. Requires snapshot name. Copies all snapshots. This is a full copy. Creates the <name> flexible aggregate Creates the <name> traditional aggregate Mirrored across two plexes Creates the <name> flexible aggregate using either RAID4 or RAIDDP. Creates the <name> flexible aggregate and instructs dataONTAP to use <n> disks in each raid group. Pretend and show what would be done. Destroys an aggregate or plex Force destroy without prompting Takes an aggregate offline Puts an aggregate online Renames an aggregate from <name> to <newname> Works with the CIFS service Shows all currently shared paths Adds a share with the name <name> to the path <path> with the comment <comment> Deletes the share named <name>. Changes a share Deletes a share UNIX group file owners File owner is the primary group of the file creator Grants the rights specified by <rights> to the user or group specified to the share named <share>. –g instructs DataONTAP to use a UNIX user or group. Rights can be No Access, Read, Change and Full Control. AC user or group can be in the format domain\name. Removes access to the share named <share> for the specified user or group. Shuts down the CIFS service on the filer. Closes sessions to the filer from the workstation <host> in <n> minutes. Will periodically notify the host.. Shows the SID of the user specified Sends a broadcast message to the host <host>. Enclose the message in quotes. Sends a broadcast message to users of <volume> Info about <host>, files opened by <host> and the specified hosts access level to those files. level to those files. Similar to Windows “Shared Folders – Sessions”. Displays security information about all connected users. Displays security information about the connected machine <host> Tests connection to a DC in a CIFS environment. Works with disks Fails a good disk and unfails a failed disk. –s added and required in release 7.2. Requires priv set advanced Shows Storage Health Monitor stats for a specific disk zero spares df –a –r –s dump exportfs –a –b –c -r halt ifconfig <if> ifconfig <ip_address> netmask <netmask> ifconfig wins <address> ifconfig [up | down} ifstat <interface> -a led_on <disk> led_off <disk> license add <code> lun setup ndmpcopy <options> <src> <dest> -sa <user>:<pass> -da <user:pass> -st <text | md5> -dt <text | md5> -l [0 | 1 | 2] -d -f ndmpd [on | off] password <username> status <session_#> probe <session_#> kill <session_#> version <maxversion> netdiag -v -sap nfsstat options autosupport.enable autosupport.support.enable autosupport.mailhost zero out all spare disks Per volume used/available/percent Aggregate used/free Reserved space (out of used space) % saved through block sharing Dumps data to tape Shows everything currently exported for NFS Exports all the entries in /etc/exports Enable/disable fencing. Checks for a specific type of client access to a path Exports everything in /etc/exports and unexports everything not in /etc/exports Shuts down the appliance Shows status of the interface Sets the IP address of an interface Sets the subnet mask Sets the interfaces WINS server address Brings the interface up or down Shows interface status, collisions, runts, etc. Shows interface status for all interfaces. Turns on a specific disk’s LED. Requires priv set advanced. Turns off a specific disk’s LED. Requires priv set advanced. Adds feature licenses Works with LUNs Runs the LUN setup wizard Copies data from one filer to another via NDMP Source username and password Destination username and password Source appliance authentication (text or encrypted) Destination appliance authentication (text or encrypted) Incremental level (default is 0 for full backup) Debug mode Force Works with NDMP Tunrs the NDMP deamon on or off Sets an NDMP specific password for an existing filer administrative account Shows general status of the NDMP session <session_#> Shows detailed status of NDMP session <session_#> Kills NDMP session <session_#> Sets or displays the NDMP version Diagnoses the network Comprehensive or verbose Output in tabular format Shows status and statistics for NFS Various options on|off Starts the autosupport daemon on|off enables/disables autosupport to netapp. Autosupport SMTP server IP address or hostname

access –delete <share> [user | group] terminate terminate –t <n> <host> lookup <domain\user> broadcast <host> <message> broadcast –v <volume> sessions <host>

sessions –s sessions –s <host> testdc disk [fail | unfail] –s <disk> shm_stats <disk>

Page 1of 3

Lists aggregate and raid group info Lists disk info Lists tape info Verbose info.copy. Requires vol options<vol> nosnapdir off Prevents (on) windows applications from corrupting UNIX security permissions.2 Command Reference autosupport. daily or hourly snapshots. Begins statistics collection Ends statistics collection and displays results Displays statistics for the collection interval Adds NFS statistics to the display Lists basic config incl S/N.enabled on ndmp. ip or mac load balancing using the interfaces specified in a comma separated list of interfaces <if_1>. Sets the secruity style on qtree <name> to either unix. x=number of daily snapshots. Prints thresholds Rescans /etc/quotas and applies any updates to existing entries for <vol>. no of shelves. This is an advanced privileged command and requires priv set advanced.timeout cifs. Soft and hard limits for each user/group/qtree Breaks out the report by user id. Sets NDMP preferred interface to <if> Turns on logging (syslog) of NDMP connections Sets NDMP authentication type to challenge/plaintext Enables RSH. Enables/disables NDMP Restricts NDMP access to specific hosts or interfaces. <URL> is of the format http://[user:password@]host:port/path Gets software from <URL> and puts it at <local_file> on the filer overwriting any destination file that may exist. Deletes a downloaded installation file named <file> Executes a downloaded installation file named <file> Lists all downloaded installation files Installs new software directly from the HTTP server. Shows quota status for <vol> Changes quota logging to the console to every <n> minutes for <vol> or all. Throttles volume copy operations (1=low/10=high) Sets the appliance into advanced privileged mode Returns from advanced privileged to normal mode Create and manage qtrees Creates the qtree <name> at the given path. w=number of weekly snapshots.enable [on | off} ndmp. Enables or disables opportunistic locking on the <anme> qtree. updates every second. Requires priv set advanced. New entries in /quotas are ignored.throttle <n> priv set advanced priv set admin qtree create <path>/<name> security <path>/<name> [unix | ntfs | mixed] oplocks <path>/<name> [enable | disable] status quota [on | off] –w <vol> report <option> report -s report -u report -t resize <vol> status <vol> logmsg [on <n> | off] [–v <vol> | all] reallocate reboot -d <message> -t <time> shelfchk snap create [-A | -V] <vol> <name> list [-A | -V] <vol> delta <vol> <snap1> <snap2> software get <URL> <local_path> get <URL> -f <local_path> delete <file> install <file> list install <URL> statit -b -e <-r> <-n> -r -n sysconfig –r –d –t –v –c sysstat -u 1 useradmin useradmin useradd useradmin userdel useradmin userlist version vif create [single|multi] <name> -b [rr | ip | mac] <if_1>.<if_3>. Lsts aggregate or volume snapshots delete [-A | -V] <vol> <name> delete [-A | -V] –a <vol> rename reserve [-A | -V] <vol> <%> sched [-A | -V] <vol> w x y@<hour> Deletes the aggr or vol snapshot <name> Deletes all snapshots for the volume <vol> Renames a snapshot Sets volume or aggregate snapshot reserve Schedules weekly.<if_2>. Rate of change between two snapshots Installs new version of DataONTAP on the appliance Gets software from <URL> and puts it at < local_path> on the filer.Network Appliance DataONTAP 7. security style. Detailed utilization reporting. Configuration errors? System statistics every 15 seconds tabular format.<if_2>.equiv.from autosupport. Many options available. oplocks and SnapMirror backup status. Defrag Reboots DataONTAP software Reboots with core dump adding <message> to the halt string Reboots after waiting <time> minutes Checks shelf LED’s as an indication of correct power to the shelves.enable [on | off] vol. ntfs or mixed. etc. serial numbers.connectlog. outputs to screen.<if_3> delete destroy add status stats vol copy start <opt> <src> <dest> Page 2of 3 .trace_login [on|off] cifs. y=number of hourly snapshots <hour> is a comman separated list of the time that daily snapshots should be taken in 24 hour format. volume.authtype <type> rsh. –w requires /etc/quotas to be scanned first and errors reported to console. makes a UNIX style volume or qtree appear as NTFS to Windows clients and enables editing of security via the windows right click security tab. <vif_name> <interface_list> <vifname> <vif_name> <interface_list> Status info Shows statistics (# of packets) every 10 sec Works with volumes Starts copy of a volume from <src> to <dest> ndmp. Shows attributes of all qtrees: name. Work with snapshots Creates an aggregate (-A) or volume (-V) snapshot of <vol> named <name>.preferred_interface <if> ndmp. Requires trust entry in /etc/hosts.to autosupport. disk #. Works with quotas Turns on/off quotas for <vol>. very nice!!! Administers users on the appliance itself Adds a user.show_snapshot [on | off} cifs.doit raid. Prints a quota report to the screen..access <host | if> ndmp.preserve_unix_security [on | off} Autosupport Email address to send mail to Autosupport Fom address Autosupport test Set shudown time for degraded mode Turns on/off cifs login tracing. prompts for password Deletes a user Lists users Displays dataONTAP software version Create [single | multi] <vif_name> -b [rr | ip | mac] <interface_list> Creates a VIF named <name> in either single or multi mode with either round robin (rr). Enables visibility of ~snapshot to CIFS clients.etc.

Requires priv set advanced. Default is off (visible). Clears WAFL statistics for gathering a clean sample Writes gathered WAFL statistics to the screen… lots! Page 3of 3 . Requires snapshot name.show_shapshot on Disables user access to volume <vol> Status info Shows statistics Creates.2 Command Reference copy start –s copy start –S copy status <n> copy abort <n> online <vol> status <vol> status –r status –v status –d status –l status –c status –b status –s status –f add create <vol> <aggr> <size: k/m/g/t> options <vol> nosnapdir [on | off] restrict <vol> status stats vlan create on <if> <vlan_id> create –g stat <vlan> <n> wafl_susp -z -w Copy a snapshot to the new volume. Visibility to CIFS clients requires options cifs. Destination will look like the snapshot.Network Appliance DataONTAP 7. Megabytes. changes vlans Creates vlan_id on the given interface Creates a vlan that uses dynamic vlan membship protocol (GARP) Shows vlan statistics for <vlan> every <n> seconds Displays WAFL information and performance statistics. Gigabytes and Terabytes Makes the snapshot directory invisible/visible to clients and disables access. Status of volume <vol> Status: raid group info Status: detailed per volume info Status: disk info Status: per volume language info Status: checksum info Status: bock info Status: spares info Status: failed info Adds space to a volume (?) Creates a volume named <vol> in aggregate <aggr> of <size> in Kilbytes. Shows the status of volume copy operation <n> Aborts volume copy operation <n> Brings a volume online or unrestricts a restricted volume. This is a full copy. Copies all snapshots. destroys.