SG_EMC_TRESPASS(8)
β¨ NAME β¨
okay so this is SG_EMC_TRESPASS(8) π
sg_emc_trespass is how you change ownership of a SCSI LUN from another Service-Processor over to this one. Main character energy π
π SYNOPSIS π
sg_emc_trespass [-d] [-hr] [-s] [-V] DEVICE
π¦ DESCRIPTION π¦
bestie, sg_emc_trespass sends an EMC-specific Trespass Command to the DEVICE with whatever options you picked β¨ This Mode Select flips the ownership of the LUN from another Service-Processor to the one that received the command. It's giving handoff π«Ά
π OPTIONS π
Arguments to long options are mandatory for short options as well. Rule of the game, no exceptions π
-dβ ooh, this one prints some extra debug info while the command runs π-hrβ sets the 'Honor Reservation' bit in the command π If it's set, the trespass only goes through if the Peer SP doesn't have an outstanding SCSI reservation on the LUN. Otherwise it's a no-go π By default, the reservation state gets ignored, so it won't stop you unless you ask it to.-sβ sends the short version of the trespass command instead of the long one πΈ The short version works on the EMC FC5300, FC4500 and FC4700. The long version is the default, and it's supported on the CLARiiON CX and AX family arrays π§-Vβ prints the version string and then bounces βοΈ
Heads up, bestie: On the 2.4 series of Linux kernels,DEVICEmust be a SCSI generic (sg) device π On the 2.6 series, block devices (like SCSI disks and DVD drives) can be specified too. For example,sg_start 0 /dev/sdawill work on 2.6 series kernels β¨
π EXIT STATUS π
Exit status of sg_emc_trespass is 0 when it succeeds π₯Ή Otherwise, go check the sg3_utils(8) man page, it has the deets π
π§ AUTHOR π§
Written by Lars Marowsky-Bree, based on sg_start π«Ά
π REPORTING BUGS π
Report bugs to <dgilbert at interlog dot com> π
π COPYRIGHT π
Copyright Β© 2004-2012 Lars Marowsky-Bree, Douglas Gilbert. This software is distributed under the GPL version 2. There is NO warranty, not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE π
That's the tea, bestie π sg3_utils-1.35, December 2012, SG_EMC_TRESPASS(8) π¦ Stay iconic β¨
π¦ where this page comes from
- alpine 3.24: sg3_utils-doc 1.48-r0 Β· BSD-2-Clause AND GPL-2.0-or-later
- arch rolling: sg3_utils 1.49-1 Β· GPL-2.0-or-later AND BSD-2-Clause
- centos-stream 10: sg3_utils 1.48-11.el10 Β· GPL-2.0-or-later AND BSD-2-Clause
- debian trixie: sg3-utils 1.48-3~deb13u1
- fedora 43: sg3_utils 1.48-10.fc43 Β· GPL-2.0-or-later AND BSD-2-Clause
- fedora 43: sg3_utils 1.48-6.fc43 Β· GPL-2.0-or-later AND BSD-2-Clause
- fedora 44: sg3_utils 1.48-10.fc44 Β· GPL-2.0-or-later AND BSD-2-Clause
- fedora 44: sg3_utils 1.48-8.fc44 Β· GPL-2.0-or-later AND BSD-2-Clause
- nixos 26.05: sg3_utils 1.48
- nixpkgs unstable: sg3_utils 1.49
- ubuntu questing: sg3-utils 1.48-2ubuntu1
- ubuntu resolute: sg3-utils 1.48-3ubuntu3
- ubuntu resolute: sg3-utils 1.48-3ubuntu3.2
- ubuntu stonking: sg3-utils 1.48-3ubuntu5
- π girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms