Você está na página 1de 5

Useful Celerra / VNX File 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 A list of all current replications nas_server -list Lists all datamovers. 1=primary,4=standby,6=rdf (remote data facility) <watch> /nas/sbin/getreason Shows current status of each datamover. 5=up, 0=down or rebooting nas_fs Creates, deletes, extends, modifies, and lists filesystems. nas_config Control station configuration (requires root login) nas_version View current nas revision nas_ckpt_schedule Manage checkpoint schedule nas_storage -list 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 Loads a VDM nas_server -vdm <vdm_name> -setstate mounted Unloads a VDM 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-queryoption-on-celerra-vnx-file-commands/ Server specific commands: server_cpu server_<x> -r now Reboots a datamover server_ping <IP> 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 server_log server_2 Shows current log vi /nas/jserver/logs/system_log Java System log vi /var/log/messages 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 Forces an update of NTP server_file 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 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 Interface statistics server_sysconfig server_x -v 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 NFS SRTs server_nfsstat server_x -zero 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 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 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 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_timefinderAbout these ads

Você também pode gostar