0% found this document useful (0 votes)
189 views6 pages

Cli Commands San

This document lists and describes useful file system commands for Celerra and VNX storage systems. It includes commands for managing NAS disks, pools, filesystems, checkpoints and replications. Server specific commands cover rebooting servers, viewing interfaces and logs. Filesystem commands cover checkpoints, deduplication and migration. Lists of all "nas_", "server_" and "fs_" commands are also provided.

Uploaded by

Kathi Bharath
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
189 views6 pages

Cli Commands San

This document lists and describes useful file system commands for Celerra and VNX storage systems. It includes commands for managing NAS disks, pools, filesystems, checkpoints and replications. Server specific commands cover rebooting servers, viewing interfaces and logs. Filesystem commands cover checkpoints, deduplication and migration. Lists of all "nas_", "server_" and "fs_" commands are also provided.

Uploaded by

Kathi Bharath
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

8/5/2014

Useful Celerra / VNX File Commands | The SAN Guy

Useful Celerra / VNX File Commands


Posted by emcsan on June 3, 2011

33 Comments

Here is a list of Celerra commands I keep at my desk for reference. I have another post that references some
undocumented commands here: http://emcsan.wordpress.com/2012/01/11/undocumented-celerra-commands/
NAS Specific Commands:
nas_disk -list

Lists the disk table

nas_checkup

Runs a system health check.

nas_pool -size -all

Lists available space on each defined storage pool

nas_replicate -info all | grep <fs> Info about each filesystems replication status, grep to view just one.
nas_replicate -list
nas_server -list

A list of all current replications


Lists all datamovers. 1=primary,4=standby,6=rdf (remote data facility)

<watch> /nas/sbin/getreason
nas_fs

Shows current status of each datamover. 5=up, 0=down or rebooting

Creates, deletes, extends, modifies, and lists filesystems.

nas_config

Control station configuration (requires root login)

nas_version

View current nas revision

nas_ckpt_schedule
nas_storage -list

Manage checkpoint schedule

List the attached backend storage systems (with IDs)

nas_storage -failback id=<x>

Fail back failed over SPs or disks

nas_server -vdm <vdm_name> -setstate loaded


nas_server -vdm <vdm_name> -setstate mounted

Loads a VDM
Unloads a VDM

/nas/sbin/t2reset pwron -s This command will power on a data mover that has been shut down. This was user
submitted in the comments on this post.
Several nas_<x> commands can be run with a database query for reporting purposes. View my blog post about it
here: http://emcsan.wordpress.com/2013/07/01/using-the-database-query-option-on-celerra-vnx-file-commands/
Server specific commands:
server_cpu server_<x> -r now
server_ping <IP>

Reboots a datamover

ping any IP from the control station

server_ifconfig server_2 all View all configured interfaces


server_route server_2 {-list,flush,add,delete} Routing table commands
server_mount

Mount a filesystem

server_export

Export a filesystem

server_stats

Provides realtime stats for a datamover, many different options.

server_sysconfig

Modifies hardware config of the data movers.

server_devconfig

Configures devices on the data movers.

server_sysstat

Shows current Memory, CPU, and thread utilization

http://emcsan.wordpress.com/2011/06/03/useful-celerra-commands/

1/6

8/5/2014

Useful Celerra / VNX File Commands | The SAN Guy

server_log server_2

Shows current log

vi /nas/jserver/logs/system_log
vi /var/log/messages

Java System log

System Messages

server_ifconfig server_2 <interface_name> up Bring up a specific interface


server_ifconfig server_2 <interface_name> down Take a specific interface down
server_date

Sets system time and NTP server settings

server_date <server_X> timesvc start ntp <time_server_IP_address> Starts NTP on a data mover
server_date <server_X> timesvc stats ntp

To view the status of NTP.

server_date <server_X> timesvc update ntp


server_file

Forces an update of NTP

FTP equivalent command

server_dns

Configure DNS

server_cifssupport

Support services for CIFS users

To create a single checkpoint:


nas_ckpt_schedule -create <ckpt_fs_name> -filesystem <fs_name> -recurrence once
To create a Read/Write copy of a single checkpoint:
fs_ckpt <ckpt_fs_name> -name <r/w_ckpt_fs_name> -Create -readonly n
To export a Read/Write checkpoint copy to a CIFS Share:
server_export [vdm] -P cifs -name [filesystem]_ckpt1 -option netbios=[cifserver]
[filesystem]_ckpt1_writeable1
To view HBA Statistics:
.server_config server_2 -v printstats fcp reset Toggles the service on/off
.server_config server_2 -v printstats fcp full

View the stats table (must wait a while for some stats to collect

before viewing)
To Join/Unjoin a CIFS Server from the domain:
server_cifs server_2 -Join compname=SERVERNAME,domain=DOMAIN.COM,admin=ADMINID
server_cifs server_2 -Unjoin compname=SERVERNAME,domain=DOMAIN.COM,admin=ADMINID
To view the current domain controllers visible on the data mover:
.server_config server_2 -v pdc dump
To enable or disable a domain controller on the data mover:
.server_config server_2 -v pdc enable=<ip_address> Enable a domain controller
.server_config server_2 -v pdc disable=<ip_address> Disable a domain controller
To stop and start the CIFS service:
server_setup server_2 -P cifs -o stop

Stop CIFS Service

server_setup server_2 -P cifs -o start Start CIFS Service

http://emcsan.wordpress.com/2011/06/03/useful-celerra-commands/

2/6

8/5/2014

Useful Celerra / VNX File Commands | The SAN Guy

To stop, start or check the status of the iSCSI service:


server_iscsi server_2 -service -start

Start iSCSI service

server_iscsi server_2 -service -stop

Stop iSCSI service

server_iscsi server_2 -service -status Check the status of the iSCSI service
To enable/disable NDMP Logging:
Turn it on:
.server_config server_x logsys set severity NDMP=LOG_DBG2
.server_config server_x logsys set severity PAX=LOG_DBG2
Turn it off:
.server_config server_x logsys set severity NDMP=LOG_ERR
.server_config server_x logsys set severity

PAX=LOG_ERR

For gathering performance statistics:


server_netstat server_x -i
server_sysconfig server_x -v

Interface statistics
Lists virtual devices

server_sysconfig server_x -v -i vdevice_name Informational stats on the virtual device


server_netstat server_x -s -a tcp Retransmissions
server_nfsstat server_x
server_nfsstat server_x -zero

NFS SRTs
Reset NFS stats

Filesystem specific commands:


fs_ckpt

Manage Checkpoints

fs_dhsm

Manage File Mover

fs_group

Manage filesystem groups

Complete List of nas_ Commands:


This is just for reference, you can easily pull up this list from a Celerra by typing nas_ and hitting the tab key.
nas_acl
nas_ckpt_schedule
nas_dbtable
nas_emailuser
nas_inventory
nas_pool
nas_slice
nas_task
nas_automountmap
nas_cmd
nas_devicegroup
http://emcsan.wordpress.com/2011/06/03/useful-celerra-commands/

3/6

8/5/2014

Useful Celerra / VNX File Commands | The SAN Guy

nas_event
nas_license
nas_quotas
nas_stats
nas_version nas_cel
nas_copy
nas_disk
nas_fs
nas_logviewer
nas_replicate
nas_storage
nas_volume
nas_checkup
nas_cs
nas_diskmark
nas_fsck
nas_message
nas_server
nas_symm
nas_xml
Complete list of server_ Commands:
This is just for reference, you can easily pull up this list from a Celerra by typing server_ and hitting the tab key.
server_archive
server_cifssupport
server_file
server_log
server_name
server_ping6
server_sysconfig
server_vtlu
server_arp
server_cpu
server_ftp
server_mgr
server_netstat
server_rip
server_sysstat
server_cdms
server_date
http://emcsan.wordpress.com/2011/06/03/useful-celerra-commands/

4/6

8/5/2014

Useful Celerra / VNX File Commands | The SAN Guy

server_http
server_mount
server_nfs
server_route
server_tftp
server_cepp
server_dbms
server_ifconfig
server_mountpoint
server_nfsstat
server_security
server_umount
server_certificate
server_devconfig
server_ip
server_mpfs
server_nis
server_setup
server_uptime
server_checkup
server_df
server_iscsi
server_mpfsstat
server_param
server_snmpd
server_usermapper
server_cifs
server_dns
server_kerberos
server_mt
server_pax
server_standby
server_version
server_cifsstat
server_export
server_ldap
server_muxconfig
server_ping
server_stats
server_viruschk

http://emcsan.wordpress.com/2011/06/03/useful-celerra-commands/

5/6

8/5/2014

Useful Celerra / VNX File Commands | The SAN Guy

Complete list of fs_ Commands:


This is just for reference, you can easily pull up this list from a Celerra by typing fs_ and hitting the tab key.
fs_ckpt
fs_dedupe
fs_dhsm
fs_group
fs_rdf
fs_timefinder

http://emcsan.wordpress.com/2011/06/03/useful-celerra-commands/

6/6

You might also like