There are two types of volume access modes: "Default Access Mode" which is set by default as an access mode attribute and "Current Access Mode" which is set for a volume that is activated.
"Current Access Mode" is valid only while the volume is activated and will become invalid when the volume is stopped. When the volume is restarted, it will start in "Default Access Mode," except for when the access mode is specified at the time of restart.
For example, if you wish to normally use the volume in the read and write mode, and temporarily switch to the read only mode, set the access mode attribute to "rw", and use the sdxvolume -N command specifying the -e mode=ro option to activate the volume in the read only mode temporarily.
The "default access mode" for a shadow volume is ro (read only) and it cannot be changed, but the "current access mode" can be set to either ro (read only) or rw (read and write).
See
For the method for setting the "default access modes" (access mode attribute values) of logical volumes, see "D.7 sdxattr - Set objects attributes."
For the method for setting the "current access modes" of logical volumes, see "D.4 sdxvolume - Volume operations."
For the method for setting the "current access mode" for shadow volumes, see "D.17 sdxshadowvolume - Shadow volume operations."
The "default access modes" (access mode attribute values) and the "current access modes" of logical volumes and shadow volumes can be checked using the MODE field and the CMODE field displayed with the sdxinfo -V command respectively. For details, see "D.6 sdxinfo - Display object configuration and status information."