HP Clustered Gateway Device Management Software manual Disable-fzbm, Enable-quotas

Page 10

Chapter 1: Matrix Server Commands

5

For a psv device, the device is specified as /dev/psv/psvXXX, where XXX is the volume number. For example, /dev/psv/psv1.

You do not need to specify the full path name. A name such as psd6p4 or psv1 will work.

mkpsfs requires exclusive access to the device. If it cannot obtain exclusive access, it will exit with an “ebusy” message.

The arguments are as follows:

size-in-blocks

The number of blocks on the device. If this value is omitted, mkpsfs will determine it automatically.

-nmax-nodes

The maximum number of nodes that can be in the cluster.

-llabel

The label to be applied to the filesystem.

The -ooption has the following parameters:

disable-fzbm

Create the filesystem without Full Zone Bit Maps (FZBMs). The FZBM on-disk filesystem format reduces the amount of data that the filesystem needs to read when allocating a block. It is particularly useful for speeding up allocation times on large, relatively full filesystems.

enable-quotas

Enables quotas on the filesystem.

userdefault=<size> groupdefault=<size>

Set the default quota limit for users or groups, respectively, to size bytes. (The defaults are rounded down to the nearest filesystem block.) The <size> argument can include one of the following optional modifiers to specify the unit: K (kilobytes), M (megabytes), G (gigabytes), or T (terabytes). If one of these modifiers is not specified, the <size> will be interpreted in bytes. If the default quota limit is not specified on the command line, the limit will be set to 0, which means there is no default limit.

The userdefault and groupdefault parameters are invalid if the enable-quotasparameter is not also specified.

Copyright © 1999-2006 PolyServe, Inc. All rights reserved.

Image 10
Contents PolyServe Matrix Server Command Reference Copyright 2004-2006 PolyServe, Inc Contents Contents Index Destroypsfs destroy a Psfs filesystem Opt/polyserve/sbin/destroypsfsEdquota edit user and group quotas Diskupdate reattempt to access a diskDlmdebug debug DLM problems Emulex/dfc, emulex/lpedit Emulex utilitiesGetfenceidentity get fencing information Fsprobe report filesystem informationGcstat print grpcommd statistics Hbaapidump show LUN informationLogcollect obtain log files Lcl-dump show information about LCL locksMkpsfs create a Psfs filesystem Enable-quotas Disable-fzbmUserdefault=size groupdefault=size Foutputfile Mpimport Restore membership partition dataMpdump Save membership partition data Opt/polyserve/lib/mpdump mpdump -v-F Mpdump -v-f outputfileMpimport -ppsdname uid Mpimport uid uidMpimport --localdevname devname Mpimport -p psdname --local devnameMpimport -s-M-finputfile psdnamepsvname Mx Matrix Server command-line interfaceMxcheck verify Matrix Server requirements Mpimport --replace olduid newuidTtext-file and/or -hhtml-file SequenceHelp Mxcollect collect configuration informationMxconfig configure the matrix Display a usage messageMxconsole start the Management Console Mxfence verify fencing module configurationConfig file Matrix matrixBblade number Mxfencecfg configure the fence agentVvendor For a blade server, specify the blade numberMxinit manage Matrix Server processes IIP address of remote controllerPpassword UusernameStop File, --alt-config-file fileStart HardNo-monitor VersionMonitor Hba-statusLlevel Mxlogger add a log messageEentity Log-textRepair Menu Setup OptionMxmpconf manage membership partitions Opt/polyserve/bin/mxmpconf # /etc/init.d/pmxs stopRepair Menu includes the following options Membership Partition StatusRepair Menu Options ResilverReplace AddRemove DisplayClear the Host Registry Mxmpio monitor or manage Mpio devicesThis option removes all entries from the server registry Timeout value Enable/disableEnableall/disableall Active targetEnable or Disable Failover for a PSD Device # mxmpio enabledisable PSD-deviceAn Example of Changing the I/O Path # /opt/polyserve/sbin/mxmpio active 0 psd2p1Display Status Information Set the Timeout ValueShow Number of Transient Errors Show Load StatisticsDisplay General I/O Statistics Syntax isDump I/O Statistics in Raw Format Rawstat interval count Mxnlmconfig enable or disable NLM Opt/polyserve/bin/mxnlmconfig -q-e-dMxpasswd add users or change passwords Mxperftool view performance countersMxsanconf configure FC switches Mxsancheck check server’s SAN accessMxsanlk show SAN ownership locks # mxsanlk Matrix Server Commands Fabric fencing Mxsetfence configure fencingFcsan WebmgmtPmxs start or stop Matrix Server or view status Mxsetsecret set the network secret passwordOpt/polyserve/bin/mxsetsecret -f --filename filename secret Opt/polyserve/sbin/PSANcfg -hu-lLPort WWN switch PSANinfo show FC logins, Naming DatabaseUswitch Opt/polyserve/sbin/PSANinfo -n-s-uswitchnamePsdctl manage device bindings Psfsck check and repair a Psfs filesystemCheck Check filesystem consistency. This is the default actionRebuild-tree Rebuild-quotas Enable-fzbmRebuild-sb Interactive,-iPsfsdebug get Psfs filesystem image Disable the Fzbm feature on the specified filesystemDisable-quotas Set-udq sizeTGMKPsfsdq save quota data Next command restores the data to the filesystemPsfsinfo report filesystem information Display the version of the on-disk filesystem format Feature FeatureEnable verbose messages Verbose,-vPsfsquota manage disk quotas Psfslabel command adds a label to the specified devicePsfslabel label a Psfs filesystem Opt/polyserve/tools/psfslabel device labelPsfsresume resume a suspended Psfs filesystem Psfssema manage matrix-wide file locks Psfsrq restore quota dataOpt/polyserve/sbin/psfsrq -f path filesystem Psfssuspend suspend a Psfs filesystem Opt/polyserve/tools/psfssuspend directorymountpointPsvctl manage dynamic volumes Psfsunpack unpack a Psfs filesystem imageRepquota report quota information for a filesystem Quota report quota information for a userResizepsfs resize a Psfs filesystem +-sizeKMGT Resizepsfs -s +1G /dev/psd/psd6p4# sandiskinfo Sandiskinfo show SAN disk informationDisk Information Sandiskinfo -i-u-v-f-alr-U-q# sandiskinfo -al # sandiskinfo -a# sandiskinfo -f --dynvolumesoption lists all dynamic volumes Options for Dynamic VolumesFollowing sandiskinfo options apply only to dynamic volumes # sandiskinfo --dynvolumesSnapctl manage snapshot operations Setquota set quotasSpctl dump the SanPulse trace buffer Warnquota warn users of quota limits Spdebug obtain SanPulse debug informationSpstat show matrix state information Wmtest test server-based fencingMatrix Server Commands Using the mx utility Matrixrc fileMx server status Matrixrc fileMx --matrix srv1 server status Mx --matrix srv8 server status Prompt prompt Mx syntaxFile file Mx --prompt ’%’ --fileClass syntax To specify a command affecting a class, use this syntaxNumeric Mx server status --upMx application manage applications Mx device device monitor commandsApplication associated with this device monitor RecoveryTimeout seconds Amount of time to wait for the Recovery script to completeRecoveryScript script Parameters parametersAmount of time to wait for the Start script to complete Amount of time to wait for the Stop script to completeEnabled Disabled Primary Backup Mx device enable devicename serverMx device disable devicename server Mx device globalsettings --eventdelay secondsMx disk disk commands Mx dynvolume dynamic volume commands Mx exportgroup Export Group commands Add an Export GroupDo not validate the export records Arguments are the same as the exportgroup add commandServer to be monitored. The default is all servers ServersALLSERVERS servernameorIPNoHeaders Mx fs filesystem commandsDatasetsnumber of data sets Unlimited CsvOptional arguments are Enable quotas on the filesystemBlock size is always 4 KB Mount options are Create the directory mount pointOptimize file access for database data files Mx matrix matrix commandsCurrent alert messages appear at the end of the output Mx --continue --file backupfile To restore the configuration, use this commandMx matrix dump backupfile Do not display column headers in the outputMx netif network interface commands Network interface must be downMx notifier notifier commands Notifier name can include up to 32 charactersMx notifier dump notifier Mx quota filesystem quota commandsDo not display command output ForceDisplay the output in comma-separated value format Value specified for --nameis a regular expression User ID or range of IDsRange of disk space usage PercentUsedRange #%-#% Range of percentages of disk space usedMemberOf group name a group name for filtering users Search arguments are Mx quota showuser search-argumentsALLFILESYSTEMSps deviceMx server server commands Value specified for --nameis a group nameMx server dump Mx service service monitor commandsMx server enable server Mx server markdown serverAmount of time to wait for the script to complete This argument applies only to Custom monitorsType type Mx service delete vhostport Mx service enable vhostport serverMx service disable vhostport server Mx service clear vhostport serverMx snapshot create --terse options volume Mx snapshot snapshot commandsMx vhost virtual host commands Mx snapshot destroy volumePolicy autofailbacknofailback Activity singleactiveMx vnfs Virtual NFS Service commands Sleep command Arguments are the same as mx vnfs addIndex Mx vhostDLM, debug 2 dynamic volume Global Event Delay, device monitor Server add Check SAN access 29 deleteStatus information EnableMove
Related manuals
Manual 27 pages 48.09 Kb