Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mpt-status(8) [debian man page]

MPT-STATUS(8)						      System Manager's Manual						     MPT-STATUS(8)

NAME
mpt-status - retrieve configuration and health status from LSI hardware RAID controllers SYNOPSIS
mpt-status [ options ] DESCRIPTION
The mpt-status software is a query tool to access the running configuration and status of LSI SCSI HBAs. mpt-status allows you to monitor the health and status of your RAID setup. OPTIONS
--autoload This will try to automatically load the mptctl kernel module. -u --controller <int> Set the IOC unit (controller). -h --help Print some help information. -n --newstyle Use the new style output. This parameter was introduced to retain backwards compatibility. If not set, you get the old style output. It is very likely that the output of the newstyle format will change heavily in the future, so do not rely on it when writing plug- ins for monitoring software, for example. -i --set_id <int> Set id of primary device (check README). -p --probe_id Use this to probe SCSI id's when not on id 0. -q --quiet Do not display any warnings. -s --status_only Only print the status information. This can be used for easy scripting -v --verbose Print verbose information, such as warnings -V --version Print version information -d --debug [<int>] Enable debugging and set level optionally. NOTE: This is not fully implemented yet. DIAGNOSTICS
The program's exit(2) status is meant to be interpreted as a bit mask. If everything went well, zero is returned. If not (i.e. if for exam- ple an error or unknown condition is detected), the bits of the return value shall be interpreted as: Bit Value Meaning ----------------------------------------------------------------- 0 1 Abnormal condition / unknown error 1 2 A logical volume has failed 2 4 A logical volume is degraded 3 8 A logical volume is resyncing 4 16 At least one physical disk failed 5 32 At least one physical disk is in warning condition REPORTING BUGS
Report bugs to your linux distribution or software vendor, if mpt-status was bundled on your installation. If you have been compiling mpt- status from the vanilla sources and experience problems, redirect them to preferably <ratz@drugphish.ch> or <rnibali@pyx.ch>. BUGS
Besides design bugs, gross software engineering and missing features, this software is considered pretty stable and can be used in produc- tion environments. FILES
/dev/mptctl SEE ALSO
LSI Logic provides CLI tools for megaraid controllers which you can find on their webpage, following http://www.lsil.com/cm/Download- Search.do AUTHOR
mpt-status was written by Roberto Nibali <ratz@drugphish.ch>. This manual page was written by Steffen Joeris <steffen.joeris@skolelinux.de>, for the Debian project (but may be used by others). November 2006 MPT-STATUS(8)

Check Out this Related Man Page

LVDISPLAY(8)						      System Manager's Manual						      LVDISPLAY(8)

NAME
lvdisplay - display attributes of a logical volume SYNOPSIS
lvdisplay [-c|--colon] [-d|--debug] [-D|--disk] [-h|--help] [-v[v]|--verbose] LogicalVolumePath [LogicalVolumePath...] DESCRIPTION
lvdisplay allows you to see the attributes of a logical volume like size, read/write status, snapshot information etc. OPTIONS -c, --colon Generate colon seperated output for easier parsing in scripts or programs. The values are: * logical volume name * volume group name * logical volume access * logical volume status * internal logical volume number * open count of logical volume * logical volume size in kilobytes * current logical extents associated to logical volume * allocated logical extents of logical volume * allocation policy of logical volume * read ahead sectors of logical volume * major device number of logical volume * minor device number of logical volume -d, --debug Enables additional debugging output (if compiled with DEBUG). -D, --disk Show attributes of the volume group descriptor array on disk(s). Without this switch they are derived from kernel space. Useful, if the volume group isn't active. -h, --help Print a usage message on standard output and exit successfully. -v, --verbose Display the mapping of logical extents to physical volumes and physical extents. -vv, --verbose --verbose Like -v with verbose runtime information. Examples "lvdisplay -v /dev/vg00/lvol2" shows attributes of that logical volume and its mapping of logical to physical extents. In case snapshot logical volumes have been created for this original logical volume, this command shows a list of all snapshot logical volumes and their status (active or inactive) as well. "lvdisplay /dev/vg00/snapshot" shows the attributes of this snapshot logical volume and also which original logical volume it is associated with. DIAGNOSTICS
lvdisplay returns an exit code of 0 for success or > 0 for error: 1 no logical volume name(s) on command line 95 driver/module not in kernel 96 invalid I/O protocol version 97 error locking logical volume manager 98 invalid lvmtab (run vgscan(8)) 99 invalid command line ENVIRONMENT VARIABLES
LVM_VG_NAME The default Volume Group Name to use. Setting this variable enables you to enter just the Logical Volume Name rather than its com- plete path. See also lvm(8), lvcreate(8), lvscan(8), lvmsadc(8), lvmsar(8) AUTHOR
Heinz Mauelshagen <Linux-LVM@Sistina.com> Heinz Mauelshagen LVM TOOLS LVDISPLAY(8)
Man Page