HP Clustered Gateway Device Management Software manual Psfsdebug get Psfs filesystem image

Page 43

Chapter 1: Matrix Server Commands

38

--disable-fzbm

Disable the FZBM feature on the specified filesystem.

--enable-quotas

Build the necessary quota infrastructure on the specified filesystem. The psfsck utility then examines the existing files and stores current allocations for each user and group owning a file on the filesystem.

--disable-quotas

Disable quotas on the specified filesystem and free the associated blocks.

--set-udq <size>[TGMK]

Set the default quota for users on the specified filesystem. The optional modifiers specify that the size is in terabytes (T), gigabytes (G), megabytes (M), or kilobytes (K). If a modifier is not specified, the size will be calculated in bytes. (The default is rounded down to the nearest filesystem block.)

--set-gdq <size>[TGMK]

Set the default quota for groups on the specified filesystem. The modifiers are the same as the set-udqoption. (The default is rounded down to the nearest filesystem block.)

psfsdebug – get PSFS filesystem image

Synopsis

/opt/polyserve/tools/psfsdebug -p <device> psfsdebug -P<device>

Description

When used to obtain a PSFS filesystem image, the psfsdebug command extracts all metadata from the specified filesystem and sends it to stdout. The -poption compresses the data, while the -Poption does not.

<device> is either the special file corresponding to the psd or psv device or the corresponding local device if psd or psv drivers are not loaded.

-pis the best option for a filesystem that is not corrupted, as the resulting output is smaller. With corrupted filesystems, there is a risk that the -pcompression algorithm will be affected by the corruption and the unpacked metadata will not be identical to the original.

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

Image 43
Contents PolyServe Matrix Server Command Reference Copyright 2004-2006 PolyServe, Inc Contents Contents Index Opt/polyserve/sbin/destroypsfs Destroypsfs destroy a Psfs filesystemEmulex/dfc, emulex/lpedit Emulex utilities Diskupdate reattempt to access a diskDlmdebug debug DLM problems Edquota edit user and group quotasHbaapidump show LUN information Fsprobe report filesystem informationGcstat print grpcommd statistics Getfenceidentity get fencing informationLogcollect obtain log files Lcl-dump show information about LCL locksMkpsfs create a Psfs filesystem Enable-quotas Disable-fzbmUserdefault=size groupdefault=size Opt/polyserve/lib/mpdump mpdump -v-F Mpdump -v-f outputfile Mpimport Restore membership partition dataMpdump Save membership partition data FoutputfileMpimport -p psdname --local devname Mpimport uid uidMpimport --localdevname devname Mpimport -ppsdname uidMpimport --replace olduid newuid Mx Matrix Server command-line interfaceMxcheck verify Matrix Server requirements Mpimport -s-M-finputfile psdnamepsvnameSequence Ttext-file and/or -hhtml-fileDisplay a usage message Mxcollect collect configuration informationMxconfig configure the matrix HelpMatrix matrix Mxfence verify fencing module configurationConfig file Mxconsole start the Management ConsoleFor a blade server, specify the blade number Mxfencecfg configure the fence agentVvendor Bblade numberUusername IIP address of remote controllerPpassword Mxinit manage Matrix Server processesHard File, --alt-config-file fileStart StopHba-status VersionMonitor No-monitorLog-text Mxlogger add a log messageEentity LlevelOpt/polyserve/bin/mxmpconf # /etc/init.d/pmxs stop Setup OptionMxmpconf manage membership partitions Repair MenuResilver Membership Partition StatusRepair Menu Options Repair Menu includes the following optionsDisplay AddRemove ReplaceClear the Host Registry Mxmpio monitor or manage Mpio devicesThis option removes all entries from the server registry Active target Enable/disableEnableall/disableall Timeout value# mxmpio enabledisable PSD-device Enable or Disable Failover for a PSD Device# /opt/polyserve/sbin/mxmpio active 0 psd2p1 An Example of Changing the I/O PathShow Load Statistics Set the Timeout ValueShow Number of Transient Errors Display Status InformationDisplay General I/O Statistics Syntax isDump I/O Statistics in Raw Format Rawstat interval count Opt/polyserve/bin/mxnlmconfig -q-e-d Mxnlmconfig enable or disable NLMMxperftool view performance counters Mxpasswd add users or change passwordsMxsanconf configure FC switches Mxsancheck check server’s SAN accessMxsanlk show SAN ownership locks # mxsanlk Matrix Server Commands Webmgmt Mxsetfence configure fencingFcsan Fabric fencingPmxs start or stop Matrix Server or view status Mxsetsecret set the network secret passwordOpt/polyserve/bin/mxsetsecret -f --filename filename secret Opt/polyserve/sbin/PSANinfo -n-s-uswitchname PSANinfo show FC logins, Naming DatabaseUswitch Opt/polyserve/sbin/PSANcfg -hu-lLPort WWN switch Psfsck check and repair a Psfs filesystem Psdctl manage device bindingsCheck Check filesystem consistency. This is the default actionRebuild-tree Interactive,-i Enable-fzbmRebuild-sb Rebuild-quotasSet-udq sizeTGMK Disable the Fzbm feature on the specified filesystemDisable-quotas Psfsdebug get Psfs filesystem imagePsfsdq save quota data Next command restores the data to the filesystemPsfsinfo report filesystem information Verbose,-v Feature FeatureEnable verbose messages Display the version of the on-disk filesystem formatOpt/polyserve/tools/psfslabel device label Psfslabel command adds a label to the specified devicePsfslabel label a Psfs filesystem Psfsquota manage disk quotasPsfsresume resume a suspended Psfs filesystem Psfssema manage matrix-wide file locks Psfsrq restore quota dataOpt/polyserve/sbin/psfsrq -f path filesystem Opt/polyserve/tools/psfssuspend directorymountpoint Psfssuspend suspend a Psfs filesystemPsfsunpack unpack a Psfs filesystem image Psvctl manage dynamic volumesRepquota report quota information for a filesystem Quota report quota information for a userResizepsfs resize a Psfs filesystem Resizepsfs -s +1G /dev/psd/psd6p4 +-sizeKMGTSandiskinfo -i-u-v-f-alr-U-q Sandiskinfo show SAN disk informationDisk Information # sandiskinfo# sandiskinfo -al # sandiskinfo -a# sandiskinfo -f # sandiskinfo --dynvolumes Options for Dynamic VolumesFollowing sandiskinfo options apply only to dynamic volumes --dynvolumesoption lists all dynamic volumesSnapctl manage snapshot operations Setquota set quotasSpctl dump the SanPulse trace buffer Wmtest test server-based fencing Spdebug obtain SanPulse debug informationSpstat show matrix state information Warnquota warn users of quota limitsMatrix Server Commands Matrixrc file Using the mx utilityMx server status Matrixrc fileMx --matrix srv1 server status Mx --matrix srv8 server status Mx --prompt ’%’ --file Mx syntaxFile file Prompt promptMx server status --up To specify a command affecting a class, use this syntaxNumeric Class syntaxMx application manage applications Mx device device monitor commandsApplication associated with this device monitor Parameters parameters Amount of time to wait for the Recovery script to completeRecoveryScript script RecoveryTimeout secondsAmount of time to wait for the Stop script to complete Amount of time to wait for the Start script to completeMx device globalsettings --eventdelay seconds Mx device enable devicename serverMx device disable devicename server Enabled Disabled Primary BackupMx disk disk commands Mx dynvolume dynamic volume commands Add an Export Group Mx exportgroup Export Group commandsServersALLSERVERS servernameorIP Arguments are the same as the exportgroup add commandServer to be monitored. The default is all servers Do not validate the export recordsCsv Mx fs filesystem commandsDatasetsnumber of data sets Unlimited NoHeadersOptional arguments are Enable quotas on the filesystemBlock size is always 4 KB Create the directory mount point Mount options areOptimize file access for database data files Mx matrix matrix commandsCurrent alert messages appear at the end of the output Do not display column headers in the output To restore the configuration, use this commandMx matrix dump backupfile Mx --continue --file backupfileNetwork interface must be down Mx netif network interface commandsNotifier name can include up to 32 characters Mx notifier notifier commandsForce Mx quota filesystem quota commandsDo not display command output Mx notifier dump notifierDisplay 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 Mx quota showuser search-argumentsALLFILESYSTEMSps device Search arguments areValue specified for --nameis a group name Mx server server commandsMx server markdown server Mx service service monitor commandsMx server enable server Mx server dumpAmount of time to wait for the script to complete This argument applies only to Custom monitorsType type Mx service clear vhostport server Mx service enable vhostport serverMx service disable vhostport server Mx service delete vhostportMx snapshot destroy volume Mx snapshot snapshot commandsMx vhost virtual host commands Mx snapshot create --terse options volumeActivity singleactive Policy autofailbacknofailbackMx vnfs Virtual NFS Service commands Arguments are the same as mx vnfs add Sleep commandMx vhost IndexDLM, debug 2 dynamic volume Server add Check SAN access 29 delete Global Event Delay, device monitorStatus information EnableMove
Related manuals
Manual 27 pages 48.09 Kb