{
    "content": [
        {
            "type": "text",
            "text": "# sg_emc_trespass(8) (man)\n\n**Summary:** sgemctrespass - change ownership of SCSI LUN from another Service-Processor to this one\n\n**Synopsis:** sgemctrespass [-d] [-hr] [-s] [-V] DEVICE\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -d | — | — |  |\n| — | — | — | ceed to change the ownership from the Peer SP if the Peer SP does not have an out‐ standing SCSI reservation for the LUN |\n| -s | — | — | version is supported on the EMC FC5300, FC4500 and FC4700. The long version (default) is supported on the CLARiiON CX an |\n| -V | — | — | In the 2.4 series of Linux kernels the DEVICE must be a SCSI generic (sg) device. In the 2.6 series block devices (e.g.  |\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (4 lines)\n- **OPTIONS** (2 lines) — 4 subsections\n  - -d (1 lines)\n  - -hr (4 lines)\n  - -s (3 lines)\n  - -V (4 lines)\n- **EXIT STATUS** (3 lines)\n- **AUTHOR** (2 lines)\n- **REPORTING BUGS** (2 lines)\n- **COPYRIGHT** (7 lines)\n\n## Full Content\n\n### NAME\n\nsgemctrespass - change ownership of SCSI LUN from another Service-Processor to this one\n\n### SYNOPSIS\n\nsgemctrespass [-d] [-hr] [-s] [-V] DEVICE\n\n### DESCRIPTION\n\nsgemctrespass  sends  an  EMC-specific Trespass Command to the DEVICE with the selected op‐\ntions. This Mode Select changes the ownership of the LUN of  the  device  from  another  Ser‐\nvice-Processor to the one the command was received on.\n\n### OPTIONS\n\nArguments to long options are mandatory for short options as well.\n\n#### -d\n\n#### -hr\n\nceed to change the ownership from the Peer SP if the Peer SP does  not  have  an  out‐\nstanding  SCSI  reservation for the LUN. By default, the reservation state will be ig‐\nnored.\n\n#### -s\n\nversion  is supported on the EMC FC5300, FC4500 and FC4700. The long version (default)\nis supported on the CLARiiON CX and AX family arrays.\n\n#### -V\n\nIn the 2.4 series of Linux kernels the DEVICE must be a SCSI generic (sg) device. In the  2.6\nseries  block  devices  (e.g.  SCSI  disks and DVD drives) can also be specified. For example\n\"sgstart 0 /dev/sda\" will work in the 2.6 series kernels.\n\n### EXIT STATUS\n\nThe exit status of sgemctrespass is 0 when it is successful. Otherwise see the sg3utils(8)\nman page.\n\n### AUTHOR\n\nWritten by Lars Marowsky-Bree, based on sgstart.\n\n### REPORTING BUGS\n\nReport bugs to <dgilbert at interlog dot com>.\n\n### COPYRIGHT\n\nCopyright © 2004-2012 Lars Marowsky-Bree, Douglas Gilbert.\nThis software is distributed under the GPL version 2. There is NO warranty; not even for MER‐\nCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n\n\nsg3utils-1.35                              December 2012                         SGEMCTRESPASS(8)\n\n"
        }
    ],
    "structuredContent": {
        "command": "sg_emc_trespass",
        "section": "8",
        "mode": "man",
        "summary": "sgemctrespass - change ownership of SCSI LUN from another Service-Processor to this one",
        "synopsis": "sgemctrespass [-d] [-hr] [-s] [-V] DEVICE",
        "flags": [
            {
                "flag": "-d",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "ceed to change the ownership from the Peer SP if the Peer SP does not have an out‐ standing SCSI reservation for the LUN. By default, the reservation state will be ig‐ nored."
            },
            {
                "flag": "-s",
                "long": null,
                "arg": null,
                "description": "version is supported on the EMC FC5300, FC4500 and FC4700. The long version (default) is supported on the CLARiiON CX and AX family arrays."
            },
            {
                "flag": "-V",
                "long": null,
                "arg": null,
                "description": "In the 2.4 series of Linux kernels the DEVICE must be a SCSI generic (sg) device. In the 2.6 series block devices (e.g. SCSI disks and DVD drives) can also be specified. For example \"sgstart 0 /dev/sda\" will work in the 2.6 series kernels."
            }
        ],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 2,
                "subsections": [
                    {
                        "name": "-d",
                        "lines": 1,
                        "flag": "-d"
                    },
                    {
                        "name": "-hr",
                        "lines": 4
                    },
                    {
                        "name": "-s",
                        "lines": 3,
                        "flag": "-s"
                    },
                    {
                        "name": "-V",
                        "lines": 4,
                        "flag": "-V"
                    }
                ]
            },
            {
                "name": "EXIT STATUS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "REPORTING BUGS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 7,
                "subsections": []
            }
        ]
    }
}