Quantum Stornext File System Quick Reference Guide 6-67374-04 Rev A
Total Page:16
File Type:pdf, Size:1020Kb
Command Options Description Command Options Description cvadmin fsmlist Displays the state of cvadmin select Selects the file system High Performance Workflow [ <file_system_name> ] FSM processes for the <file_system_name> (file_system_name) to and Intelligent Archiving [ on [ <hostname> | specified file system, view and modify. <IP_address> ] ] hostname, or IP address. show [ <groupname> ] Displays information filelocks [ yes | no ] Shows file record lock [ long ] about stripe groups StorNext File System enforcement. (groupname) associated with the file Syntax conventions: help <command> Displays a usage system. • <brackets> = replace with a variable summary of command. • [ ] = optional component start Starts the StorNext FS latency-test Runs a network latency <file_system_name> manager for the [ <index_number> | all ] test between the FSM [ <hostname> | specified file system [ seconds ] and a client or all <IP_address> ] (file_system_name). cvadmin clients. stat Displays the general Command Options Description paths Displays StorNext FS status of the file system. labeled disks visible to cvadmin Displays the active and the local system. stop Stops the StorNext FS standby SNFS server <file_system_name> manager for the processes.Can be used proxy [ long ] Displays distributed LAN specified file system to inspect and modify servers for the selected (file_system_name). the state of active file system. With the servers. long argument, the up <groupname> Enables the stripe group served disks are also (groupname). [ -H <FSMHostName> ] Connects to the displayed. StorNext FS on the who Queries the client list for specified machine proxy who <hostname> Displays all active the selected file system. (FSMHostName). distributed LAN connections for the [ -F <FileSystemName> ] Sets the file system specified host. (FileSystemName) as cvaffinity the active file system. qos Displays per-stripe group QOS statistics. Command Options Description [ -f <filename> ] Reads commands from the specified file. repof Creates a report cvaffinity Establishes an affinity to showing all open files a stripe group or lists [ -e <command> ] Runs the cvadmin on the file system. the current affinity of a command and exits. file. Note: Commands are quit Disconnects cvadmin listed below. from the StorNext FS [ -k <key> ] Indicates where the file and exits. system should place the data file. If the key activate Activates the file system quotas [ yes | no ] Enables or disables parameter is defined, [<file_system_name> | (file_system_name). then the data file is <index_number quota accounting and enforcement. placed on stripe groups specified to support this debug [ [ + | - ] Views or sets the parameter. <value> ] StorNext FS debugging quotas get [ user | group ] Displays current quota flags. <name> parameters for the user or group (name). [ -s <key> ] Associate affinity key with file or directory disks [ refresh ] fsm Displays StorNext FS disk filename. volumes visible to this quotas set [ user | Sets current quota machine. If the refresh group ] <name> parameters for the user <hardlim> <softlim> or group (name). [ -l ] Lists the affinity for the option is used, the specified file. volumes are <timelim> re-scanned. quotacheck Recalculates the amount [ -d ] Deletes the affinity from of space consumed by the specified file or down <groupname> Disables access to the directory. stripe group all users and groups in (groupname). the file system. <filename> File or directory name. fail <file_system_name | Fails over the file system repquota Generates quota reports index_number> (file_system_name). for all users and groups in the file system. Page 1Page 2Page 3Page 4 cvcp Command Options Description Command Options Description Command Options Description cvcp [ -x ] Retains original cvfsck [ -L <inode_number> ] Reassigns orphaned files permissions from the to the specified cvcp Provides a high speed, source file. If set by the directory. The multi-threaded copy super user, also sets inode_number must be mechanism to copy sticky and setuid/gid a 64-bit value. directories and tar bits. images to and from the [ -M ] Determines if a new StorNext FS. [ -y ] If set by the super user, metadata dump is retains ownership and needed and prints an <source> Source file or directory. group information. explanation. <destination> Destination file or [ -z ] Retains original [ -n ] Enables a file system to directory. modification times. be checked in a read-only mode. [ -A ] Disables file pre-allocation. cvfsck [ -r ] Displays where files are placed and moves them to a different stripe [ -b <buffers> ] Sets the number of I/O Command Options Description group. buffers. cvfsck Checks and repairs a file [ -t ] Reports on allocation Default value: Two times system. covering restricted areas the number of copy of a stripe group. threads started. [ -a ] Prints the number of free space fragments for [ -T <directory> ] Places temporary files in [ -d ] Copies the files and sub- Note: Use this option only each stipe group, plus the specified directory. directories under with the -f option. the grand total of free Source to /Destination/ space fragments for all [ -v ] Displays verbose output. Source. stripe groups. [ -x ] Reports statistics for [ -k <buffer_size> ] Sets the I/O buffer size. [ -C ] Reset the inode free list. input to a spreadsheet. Default value: 4MB [ -d ] Enables internal <FsName> Specifies the file system debugging. [ -l ] Copies the target of to check. symbolic links rather than copying the link [ -e ] Reports statistics on all <FsPath> Specifies an alternate itself. file extents. file system path (other than /usr/cvfs/data) to [ -n ] Prevents recursion [ -f ] Reports fragmentation. locate file systems. through subdirectories. [ -g ] Prints the journal [ -L <inode_number> ] Reassigns orphaned files [ -p <source_prefix> ] Only copies files that recovery log. to the specified begin with the value of directory. The the source_prefix [ -G ] Exits immediately after inode_number must be parameter. cvfsk completes a 64-bit value. without waiting for a [ -s ] Forces allocations to line key press (Windows up on the beginning systems only). [ -M ] Determines if a new block modulus of the metadata dump is stripe group. [ -j ] Executes journal needed and prints an recovery and exits. explanation. [ -t <num_threads> ] Specifies the number of copy threads. [ -J ] Dumps the raw journal [ -n ] Enables a file system to Default value: 4 to stdout and exits. For be checked in a debugging use only. read-only mode. [ -u ] Only copies when the source file is newer than [ -K ] Resets the journal and [ -r ] Displays where files are the destination file. exits. placed and moves them WARNING: Resetting to a different stripe group. [ -v ] Displays verbose output the journal may about the copied files. introduce metadata inconsistency. Exercise [ -t ] Reports on allocation extreme caution when covering restricted areas using this option. of a stripe group. [ -l ] Logs problems to syslog. Page 4 Page 4Page 5Page 6 Command Options Description Command Options Description cvmkdir cvfsck [ -T <directory> ] Places temporary files in cvlabel [ -v ] Displays verbose output Command Options Description the specified directory. about labeling. cvmkdir Creates a StorNext [ -v ] Displays verbose output. [ -a ] Prints unusable disk directory and attaches devices when used with the affinity parameter [ -k key ] to it. [ -x ] Reports statistics for the -l or -L option. input to a spreadsheet. [ -g ] Prints GUID information <FsName> Specifies the file system for EFI-labeled disks [ -k <key> ] Indicates, to the file to check. when used with the -l or system, the affinity to -L option. associate with the directory. All new sub- <FsPath> Specifies an alternate directories and files file system path (other [ -F <filter> ] Lists devices whose inquiry string contains beneath the directory than /usr/cvfs/data) to inherit its affinity as they locate file systems. filter when used with the -c, -l, or -L option. are created. [ -q tag_q_depth ] Used to set Command <dirname> Path where the directory cvfsid Tag Queue Depth is created. (tag_q_depth) on IRIX. Command Options Description Default value: 16 cvmkfile cvfsid Displays the StorNext FS [ -f ] Forces labeling. system identifier. Command Options Description -c Outputs a cvlabel [ -? ] [ -h ] Displays usage. format template file to cvmkfile Creates a pre-allocated stdout. file on StorNext FS. [ -l ] Lists the local host’s Authorizing IDs, IP [ -T ] When used with the -c addresses, and MACs option, lists devices that [ -k key ] Indicates where the file (Linux only). can be converted to the system should place the new EFI format. data file. If key is defined, the file is [ -n ] Displays the network placed on stripe groups information in a -D <VolumeName> Writes label information specified to support compact, machine of specified volume to key. readable form. stdout. [ -p ] Forces the allocation [ -r ] Forces relabeling even if and subsequent cvlabel there are no changes. expansions to fit as multiples of the [ -R ] Displays the default InodeExpandMin Command Options Description RAID strings inquiry parameter. table. cvlabel Labels StorNext FS disk [ -s ] Forces the allocation to devices. [ -e ] Changes the label type begin on a stripe- from VTOC to EFI. aligned block. -l Lists available disk devices on the system. [ -E ] Changes the default [ -w ] Sets the file size to the label type to EFI. size parameter. -L Lists available disk devices (verbose <label_list> File that specifies