SG_EMC_TRESPASS(8)

πŸ“¦
version 1.49 Β· 2 versions
, in alpine 3.24, arch rolling, centos-stream 10, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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, DEVICE must 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/sda will 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 Β© 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