{
    "mode": "man",
    "parameter": "mpt-status",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/mpt-status/8/json",
    "generated": "2026-05-30T07:10:23Z",
    "synopsis": "",
    "sections": {
        "NAME": {
            "content": "mpt-status - retrieve configuration and health status from LSI hardware RAID controllers\n\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "",
            "subsections": [
                {
                    "name": "mpt-status [ options ]",
                    "content": ""
                }
            ]
        },
        "DESCRIPTION": {
            "content": "The mpt-status software is a query tool to access the running configuration and status of LSI\nSCSI HBAs.  mpt-status allows you to monitor the health and status of your RAID setup.\n\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "--autoload\nThis will try to automatically load the mptctl kernel module.\n",
            "subsections": [
                {
                    "name": "-u --controller <int>",
                    "content": "Set the IOC unit (controller).\n",
                    "flag": "-u",
                    "long": "--controller",
                    "arg": "<int>"
                },
                {
                    "name": "-h --help",
                    "content": "Print some help information.\n",
                    "flag": "-h",
                    "long": "--help"
                },
                {
                    "name": "-n --newstyle",
                    "content": "Use the new style output. This parameter was introduced to retain  backwards  compati‐\nbility.  If  not set, you get the old style output.  It is very likely that the output\nof the newstyle format will change heavily in the future, so do not rely  on  it  when\nwriting plugins for monitoring software, for example.\n",
                    "flag": "-n",
                    "long": "--newstyle"
                },
                {
                    "name": "-i --set",
                    "content": "Set id of primary device (check README).\n",
                    "flag": "-i",
                    "long": "--set"
                },
                {
                    "name": "-p --probe",
                    "content": "Use this to probe SCSI id's when not on id 0.\n",
                    "flag": "-p",
                    "long": "--probe"
                },
                {
                    "name": "-q --quiet",
                    "content": "Do not display any warnings.\n",
                    "flag": "-q",
                    "long": "--quiet"
                },
                {
                    "name": "-s --status",
                    "content": "Only print the status information. This can be used for easy scripting\n",
                    "flag": "-s",
                    "long": "--status"
                },
                {
                    "name": "-v --verbose",
                    "content": "Print verbose information, such as warnings\n",
                    "flag": "-v",
                    "long": "--verbose"
                },
                {
                    "name": "-V --version",
                    "content": "Print version information\n",
                    "flag": "-V",
                    "long": "--version"
                },
                {
                    "name": "-d --debug [<int>]",
                    "content": "Enable debugging and set level optionally.  NOTE: This is not fully implemented yet.\n\n",
                    "flag": "-d",
                    "long": "--debug",
                    "arg": "[<int>]"
                }
            ]
        },
        "DIAGNOSTICS": {
            "content": "The  program's  exit(2)  status  is meant to be interpreted as a bit mask. If everything went\nwell, zero is returned. If not (i.e. if for example an error  or  unknown  condition  is  de‐\ntected), the bits of the return value shall be interpreted as:\n\nBit   Value   Meaning\n─────────────────────────────────────────────────────────────────\n0       1   Abnormal condition / unknown error\n1       2   A logical volume has failed\n2       4   A logical volume is degraded\n\n3       8   A logical volume is resyncing\n4      16   At least one physical disk failed\n5      32   At least one physical disk is in warning condition\n\n",
            "subsections": []
        },
        "REPORTING BUGS": {
            "content": "Report  bugs to your linux distribution or software vendor, if mpt-status was bundled on your\ninstallation. If you have been compiling mpt-status from the vanilla sources  and  experience\nproblems, redirect them to preferably <ratz@drugphish.ch> or <rnibali@pyx.ch>.\n\n",
            "subsections": []
        },
        "BUGS": {
            "content": "Besides  design  bugs, gross software engineering and missing features, this software is con‐\nsidered pretty stable and can be used in production environments.\n\n",
            "subsections": []
        },
        "FILES": {
            "content": "/dev/mptctl\n\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "LSI Logic provides CLI tools for megaraid controllers which you can find  on  their  webpage,\nfollowing http://www.lsil.com/cm/DownloadSearch.do\n\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "mpt-status was written by Roberto Nibali <ratz@drugphish.ch>.\n\nThis manual page was written by Steffen Joeris <steffen.joeris@skolelinux.de>, for the Debian\nproject (but may be used by others).\n\n\n\nNovember 2006                              MPT-STATUS(8)",
            "subsections": []
        }
    },
    "summary": "mpt-status - retrieve configuration and health status from LSI hardware RAID controllers",
    "flags": [
        {
            "flag": "-u",
            "long": "--controller",
            "arg": "<int>",
            "description": "Set the IOC unit (controller)."
        },
        {
            "flag": "-h",
            "long": "--help",
            "arg": null,
            "description": "Print some help information."
        },
        {
            "flag": "-n",
            "long": "--newstyle",
            "arg": null,
            "description": "Use the new style output. This parameter was introduced to retain backwards compati‐ bility. 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 plugins for monitoring software, for example."
        },
        {
            "flag": "-i",
            "long": "--set",
            "arg": null,
            "description": "Set id of primary device (check README)."
        },
        {
            "flag": "-p",
            "long": "--probe",
            "arg": null,
            "description": "Use this to probe SCSI id's when not on id 0."
        },
        {
            "flag": "-q",
            "long": "--quiet",
            "arg": null,
            "description": "Do not display any warnings."
        },
        {
            "flag": "-s",
            "long": "--status",
            "arg": null,
            "description": "Only print the status information. This can be used for easy scripting"
        },
        {
            "flag": "-v",
            "long": "--verbose",
            "arg": null,
            "description": "Print verbose information, such as warnings"
        },
        {
            "flag": "-V",
            "long": "--version",
            "arg": null,
            "description": "Print version information"
        },
        {
            "flag": "-d",
            "long": "--debug",
            "arg": null,
            "description": "Enable debugging and set level optionally. NOTE: This is not fully implemented yet."
        }
    ],
    "examples": [],
    "see_also": []
}