{
    "content": [
        {
            "type": "text",
            "text": "# rescan-scsi-bus(8) (man)\n\n**Summary:** rescan-scsi-bus.sh - rescan the SCSI bus.\n\n**Synopsis:** rescan-scsi-bus.sh [ -l ] [ -w ] [ -c ] [ -r ] [ host...  ]\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -l | — | — |  |\n| -L | — | — | --luns=LIST Scan only LUNs in LIST. |\n| -w | — | — | --ids=LIST Scan only device IDs in LIST. |\n| -i | --issue-lip | — | Issue a FibreChannel LIP reset (default: disabled). |\n| -r | --remove | — | Enables removing of devices (default: disabled). |\n| — | --forceremove | — | Remove and readd every device (dangerous). |\n| -c | — | — | --channels=LIST Scan only channels in LIST. host, --hosts=LIST If host adapters are given, only these are scanned (defau |\n| — | --nooptscan | — | Don't stop looking for LUNs if 0 is not found. |\n| — | --color | — | Use coloured prefixes OLD/NEW/DEL. LIST is a comma separated list of single values and ranges (no spaces allowed), e.g.  |\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (3 lines)\n- **OPTIONS** (1 lines) — 9 subsections\n  - -l (1 lines)\n  - -L (3 lines)\n  - -w (3 lines)\n  - -i --issue-lip (2 lines)\n  - -r --remove (2 lines)\n  - --forceremove (2 lines)\n  - -c (6 lines)\n  - --nooptscan (2 lines)\n  - --color (5 lines)\n- **AUTHOR** (2 lines)\n- **COPYRIGHT** (5 lines)\n- **AVAILABILITY** (1 lines) — 1 subsections\n  - http://www.garloff.de/kurt/linux/scsidev/ (1 lines)\n\n## Full Content\n\n### NAME\n\nrescan-scsi-bus.sh - rescan the SCSI bus.\n\n### SYNOPSIS\n\nrescan-scsi-bus.sh [ -l ] [ -w ] [ -c ] [ -r ] [ host...  ]\n\n### DESCRIPTION\n\nrescan-scsi-bus.sh  is  a program that is used to rescan the SCSI bus using the SCSI add-sin‐\ngle-device feature of the Linux SCSI layer.\n\n### OPTIONS\n\n#### -l\n\n#### -L\n\n--luns=LIST\nScan only LUNs in LIST.\n\n#### -w\n\n--ids=LIST\nScan only device IDs in LIST.\n\n#### -i --issue-lip\n\nIssue a FibreChannel LIP reset (default: disabled).\n\n#### -r --remove\n\nEnables removing of devices (default: disabled).\n\n#### --forceremove\n\nRemove and readd every device (dangerous).\n\n#### -c\n\n--channels=LIST\nScan only channels in LIST.\n\nhost, --hosts=LIST\nIf host adapters are given, only these are scanned (default: all).\n\n#### --nooptscan\n\nDon't stop looking for LUNs if 0 is not found.\n\n#### --color\n\nUse coloured prefixes OLD/NEW/DEL.\n\nLIST is a comma separated list  of  single  values  and  ranges  (no  spaces  allowed),  e.g.\n0,2-3,8,10-15.\n\n### AUTHOR\n\nrescan-scsi-bus.sh was written by Kurt Garloff <garloff@suse.de>.\n\n### COPYRIGHT\n\nThis  program is free software. You can use it under the terms of the GNU GPL (General Public\nLicense) Version 2 (or any later version, at your option).  Note, that the GNU  GPL  implies,\nthat there is NO WARRANTY at all.  Full text of the GPL can be found in /usr/share/common-li‐\ncenses/GPL file.\n\n### AVAILABILITY\n\nrescan-scsi-bus.sh is available from\n\n#### http://www.garloff.de/kurt/linux/scsidev/\n\nMarch 1998                        RESCAN-SCSI-BUS.SH(8)\n\n"
        }
    ],
    "structuredContent": {
        "command": "rescan-scsi-bus",
        "section": "8",
        "mode": "man",
        "summary": "rescan-scsi-bus.sh - rescan the SCSI bus.",
        "synopsis": "rescan-scsi-bus.sh [ -l ] [ -w ] [ -c ] [ -r ] [ host...  ]",
        "flags": [
            {
                "flag": "-l",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-L",
                "long": null,
                "arg": null,
                "description": "--luns=LIST Scan only LUNs in LIST."
            },
            {
                "flag": "-w",
                "long": null,
                "arg": null,
                "description": "--ids=LIST Scan only device IDs in LIST."
            },
            {
                "flag": "-i",
                "long": "--issue-lip",
                "arg": null,
                "description": "Issue a FibreChannel LIP reset (default: disabled)."
            },
            {
                "flag": "-r",
                "long": "--remove",
                "arg": null,
                "description": "Enables removing of devices (default: disabled)."
            },
            {
                "flag": "",
                "long": "--forceremove",
                "arg": null,
                "description": "Remove and readd every device (dangerous)."
            },
            {
                "flag": "-c",
                "long": null,
                "arg": null,
                "description": "--channels=LIST Scan only channels in LIST. host, --hosts=LIST If host adapters are given, only these are scanned (default: all)."
            },
            {
                "flag": "",
                "long": "--nooptscan",
                "arg": null,
                "description": "Don't stop looking for LUNs if 0 is not found."
            },
            {
                "flag": "",
                "long": "--color",
                "arg": null,
                "description": "Use coloured prefixes OLD/NEW/DEL. LIST is a comma separated list of single values and ranges (no spaces allowed), e.g. 0,2-3,8,10-15."
            }
        ],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-l",
                        "lines": 1,
                        "flag": "-l"
                    },
                    {
                        "name": "-L",
                        "lines": 3,
                        "flag": "-L"
                    },
                    {
                        "name": "-w",
                        "lines": 3,
                        "flag": "-w"
                    },
                    {
                        "name": "-i --issue-lip",
                        "lines": 2,
                        "flag": "-i",
                        "long": "--issue-lip"
                    },
                    {
                        "name": "-r --remove",
                        "lines": 2,
                        "flag": "-r",
                        "long": "--remove"
                    },
                    {
                        "name": "--forceremove",
                        "lines": 2,
                        "long": "--forceremove"
                    },
                    {
                        "name": "-c",
                        "lines": 6,
                        "flag": "-c"
                    },
                    {
                        "name": "--nooptscan",
                        "lines": 2,
                        "long": "--nooptscan"
                    },
                    {
                        "name": "--color",
                        "lines": 5,
                        "long": "--color"
                    }
                ]
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "AVAILABILITY",
                "lines": 1,
                "subsections": [
                    {
                        "name": "http://www.garloff.de/kurt/linux/scsidev/",
                        "lines": 1
                    }
                ]
            }
        ]
    }
}