Changing vSCSI attributes without a reboot.
You have made some changes to the vSCSI adapter settings and would like to activate those new settings without a reboot. Here is how to do it.
Verify the settings have changed in the ODM.
lsattr -El vscsi1
rw_timeout 120 Virtual SCSI Read/Write Command Timeout True
vscsi_err_recov fast_fail N/A True
vscsi_path_to 30 Virtual SCSI Path Timeout True
lsattr -El vscsi2
rw_timeout 120 Virtual SCSI Read/Write Command Timeout True
vscsi_err_recov fast_fail N/A True
vscsi_path_to 30 Virtual SCSI Path Timeout True
Verify the running adapter has not changed.
lsattr -Pl vscsi1
rw_timeout 0 Virtual SCSI Read/Write Command Timeout True
vscsi_err_recov delayed_fail N/A True
vscsi_path_to 0 Virtual SCSI Path Timeout True
lsattr -El vscsi2
rw_timeout 0 Virtual SCSI Read/Write Command Timeout True
vscsi_err_recov delayed_fail N/A True
vscsi_path_to 0 Virtual SCSI Path Timeout True
Verify you have more than one path Enabled to each disk.
lspath
Enabled hdisk0 vscsi1
Enabled hdisk0 vscsi2
Unconfigure the vSCSI adapter, but don't delete it.
We use the rmdev command with the -Rl flags, to recursively unconfigure the device and its children.
rmdev -Rl vscsi2
vscsi2 Defined
Verify the paths are Enabled and Defined.
lspath
Enabled hdisk0 vscsi1
Defined hdisk0 vscsi2
Reconfigure the vSCSI adapter and its children.
cfgmgr -l vscsi2
Verify the ODM (-E) settings match the running (-P) settings.
lsattr -El vscsi2
rw_timeout 120 Virtual SCSI Read/Write Command Timeout True
vscsi_err_recov fast_fail N/A True
vscsi_path_to 30 Virtual SCSI Path Timeout True
lsattr -Pl vscsi2
rw_timeout 120 Virtual SCSI Read/Write Command Timeout True
vscsi_err_recov fast_fail N/A True
vscsi_path_to 30 Virtual SCSI Path Timeout True
Verify you have more than one path Enabled to each disk.
lspath
Enabled hdisk0 vscsi1
Enabled hdisk0 vscsi2
Unconfigure the other vSCSI adapter, but don't delete it.
We use the rmdev command with the -Rl flags, to recursively unconfigure the device and its children.
rmdev -Rl vscsi1
vscsi1 Defined
Verify the paths are Defined and Enabled.
lspath
Defined hdisk0 vscsi1
Enabled hdisk0 vscsi2
Reconfigure the vSCSI adapter and its children.
cfgmgr -l vscsi1
Verify the ODM (-E) settings match the running (-P) settings.
lsattr -El vscsi1
rw_timeout 120 Virtual SCSI Read/Write Command Timeout True
vscsi_err_recov fast_fail N/A True
vscsi_path_to 30 Virtual SCSI Path Timeout True
lsattr -Pl vscsi1
rw_timeout 120 Virtual SCSI Read/Write Command Timeout True
vscsi_err_recov fast_fail N/A True
vscsi_path_to 30 Virtual SCSI Path Timeout True
You now have the new vSCSI adapter settings enabled without a reboot.
This works for other adapter types (Fibre Adapters) where you have more than one active path to the disk device.