sg_rdac [-6] [-a] [-f=LUN] [-v] [-V] DEVICE
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.
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.
Transfer all (visible) devices
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.
print version string then exit
The exit status of sg_rdac is 0 when it is successful. Otherwise see the sg3_utils(8) man page.
Written by Hannes Reinecke <hare at suse dot com>, based on sg_emc_trespass.
Report bugs 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.