Changing vSCSI disk attributes without a reboot.
You have made some changes to the vSCSI disk settings and would like to activate those new settings without a reboot.
Some of the disk attribute settings are changable without a reboot, others require either a reboot or the disk to be unconfigured. Those settings with a 'True+' at the end of the line are allowed to be changed with the chdev command, while the device is in use. Those with either 'True' or 'False' require the device to be unconfigured before the attribute can be changed.
Verify the ODM (-E) settings differ from the running (-P) settings.
lsattr -El hdisk0
PCM PCM/friend/vscsi Path Control Module False
algorithm fail_over Algorithm True
hcheck_cmd inquiry Health Check Command True+
hcheck_interval 120 Health Check Interval True+
hcheck_mode nonactive Health Check Mode True+
max_transfer 0x40000 Maximum TRANSFER Size True
pvid 0012345678900000000000000000 Physical volume identifier False
queue_depth 16 Queue DEPTH True
reserve_policy no_reserve Reserve Policy True+<br />
lsattr -Pl hdisk0
PCM PCM/friend/vscsi Path Control Module False
algorithm fail_over Algorithm True
hcheck_cmd test_unit_rdy Health Check Command True+
hcheck_interval 0 Health Check Interval True+
hcheck_mode nonactive Health Check Mode True+
max_transfer 0x40000 Maximum TRANSFER Size True
pvid 0012345678900000000000000000 Physical volume identifier False
queue_depth 3 Queue DEPTH True
reserve_policy no_reserve Reserve Policy True+<br />
Change the hcheck_interval, hcheck_cmd and hcheck_mode settings.
chdev -l hdisk0 -a hcheck_interval=120 -a hcheck_cmd=inquiry -a hcheck_mode=nonactive -U
Verify the new settings are active.
lsattr -Pl hdisk0
PCM PCM/friend/vscsi Path Control Module False
algorithm fail_over Algorithm True
hcheck_cmd inquiry Health Check Command True+
hcheck_interval 120 Health Check Interval True+
hcheck_mode nonactive Health Check Mode True+
max_transfer 0x40000 Maximum TRANSFER Size True
pvid 0012345678900000000000000000 Physical volume identifier False
queue_depth 16 Queue DEPTH True
reserve_policy no_reserve Reserve Policy True+