0514-018,algorithm
不涉及。
1、划分出6个1TB的lun,分给RAC-A主机5个lun,RAC-B主机1个lun,按照客户端配置指导书配置磁盘algorithm=round_robin参数时报错:
Method error (/usr/lib/methods/chgdisk):0514-018 The values specified for the following attributes are not valid:
2、查看此前划分的lun的磁盘参数algorithm=round_robin均正常;
现场修改磁盘参数时未按照《AIX客户端安装配置指南》中的磁盘参数修改顺序修改,导致该参数设置无效,修改顺序如下:
#chdev-l hdisk2 -aqueue_depth=16
#chdev-l hdisk2 -arw_timeout=120
#chdev-l hdisk2 -areassign_to=30
#chdev-l hdisk2 -ahcheck_interval=120
#chdev-l hdisk2 -areserve_policy=no_reserve
#chdev-l hdisk2 -aalgorithm=round_robin
#chdev-l hdisk2 -ahcheck_mode=enabled
#chdev-l hdisk2 -adist_err_pcnt=1
#chdev-l hdisk2 -areserve_lock=no
方式一:现场三磁盘上无业务可停机则可以直接执行以下命令生效:
#chdev-l hdisk2 -areserve_policy=no_reserve-aalgorithm=round_robin
或按顺序执行以下命令可正常使参数生效:
#chdev-l hdisk2 -areserve_policy=no_reserve
#chdev-l hdisk2 -aalgorithm=round_robin
命令执行记录:
root@sxdb2:/>chdev-l hdisk2-aalgorithm=round_robin
Method error (/usr/lib/methods/chgdisk):
0514-018 The values specified for the following attributes
are not valid:
root@sxdb2:/>chdev-l hdisk2-areserve_policy=no_reserve
hdisk3 changed
root@sxdb2:/>chdev-l hdisk2-aalgorithm=round_robin
hdisk3 changed
方式二:现场硬盘上已有业务无法停机,则可以在命令后增加-P参数,待下次重启生效:
#chdev-l hdisk2 -areserve_policy=no_reserve-aalgorithm=round_robin-P
无