SG_RDAC(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

πŸ’– SG_RDAC(8) πŸ’–

sg_rdac is the manual page for the sg_rdac tool, from the SG3_UTILS crew. Bestie, you need to see this one. πŸŽ€


✨ NAME ✨

sg_rdac - display or modify SCSI RDAC Redundant Controller mode page πŸ’…


🧚 SYNOPSIS 🧚

sg_rdac [-6] [-a] [-f=LUN] [-v] [-V] DEVICE

🌸 DESCRIPTION 🌸

okay so sg_rdac lets you look at or change the RDAC controller settings through the Redundant Controller mode page (0x2C) πŸ¦‹ when you're changing stuff, you can transfer ownership of individual drives over to whichever controller you sent the command to. it's giving control, periodt πŸ‘‘


πŸ’œ OPTIONS πŸ’œ

  • -6 β€” uses the 6 byte cdb variants of the SCSI MODE SENSE and MODE SELECT commands πŸ™ˆ if you leave this out, it defaults to the 10 byte cdb variants, so you don't have to do anything 🫢
  • -a β€” transfers all (visible) devices ✨
  • -f=LUN β€” transfers the device identified by LUN πŸ”₯ heads up, this only works if the controller supports 'Dual Active Mode' (aka active/active mode) 😭 LUN is a decimal number, and the limit depends on your cdb: it can't go past 31 if you're using -6, otherwise it can't go past 255 πŸ’€
  • -v β€” be verbose 🌈
  • -V β€” prints the version string, then exits πŸ“

πŸ¦‹ EXIT STATUS πŸ¦‹

ok so the exit status of sg_rdac is 0 when it works πŸ₯Ή if it doesn't, check out the sg3_utils(8) man page for the rest of the codes πŸ“–


πŸ‘‘ AUTHOR πŸ‘‘

Written by Hannes Reinecke <hare at suse dot com>, based on sg_emc_trespass πŸ’–


πŸ› REPORTING BUGS πŸ›

found a bug? report it to <dgilbert at interlog dot com> 🫢


Copyright Β© 2006-2017 Hannes Reinecke, 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 πŸ™ˆ


Stay iconic, bestie! πŸ’… This page came from sg3_utils-1.43, dated November 2017 βœ¨πŸŽ€

πŸ“¦ where this page comes from