logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

sg_rdac - display or modify SCSI RDAC Redundant Controller mode page

Author

       Written by Hannes Reinecke <hare at suse dot com>, based on sg_emc_trespass.

Description

       sg_rdac  displays or modifies the RDAC controller settings via the Redundant Controller mode page (0x2C).
       When modifying the settings it allows  one  to  transfer  the  ownership  of  individual  drives  to  the
       controller the command was received on.

Exit Status

       The exit status of sg_rdac is 0 when it is successful. Otherwise see the sg3_utils(8) man page.

Name

       sg_rdac - display or modify SCSI RDAC Redundant Controller mode page

Options

-6     Use  the  6 byte cdb variants of the SCSI MODE SENSE and MODE SELECT commands.  The default action
              (in the absence of this option) is to use the 10 byte cdb variants.

       -a     Transfer all (visible) devices

       -f=LUN Transfer the device identified by LUN. This command will only  work  if  the  controller  supports
              'Dual  Active Mode' (aka active/active mode).  LUN is a decimal number which cannot exceed 31 when
              the -6 option is given, otherwise is cannot exceed 255.

       -v     be verbose

       -V     print version string then exit

Reporting Bugs

       Report bugs to <dgilbert at interlog dot com>.

Synopsis

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

See Also