+ -
当前位置:首页 → 问答吧 → 请问如何查看hba的timeout时间

请问如何查看hba的timeout时间

时间:2009-12-18

来源:互联网

另外如何修改它,谢谢

作者: xiaomao2009   发布时间: 2009-12-18

没明白你说的

作者: 老农   发布时间: 2009-12-18

io已经断了后,hba多少时间后它才向上一层说:io 断了,类似于disk rw_timeout时间

作者: xiaomao2009   发布时间: 2009-12-18

lsattr -EHl fcs0

作者: 老农   发布时间: 2009-12-18

我试着看了看,不知道哪个值对应timeout值,麻烦帮忙下

# lsattr -EHl fcs0
attribute     value                    description                                        user_settable
bus_intr_lvl  65699                Bus interrupt level                                False
bus_io_addr   0xffc00            Bus I/O address                                    False
bus_mem_addr  0xf8040000 Bus memory address                                 False
init_link     al                            INIT Link flags                                    True
intr_priority 3                          Interrupt priority                                 False
lg_term_dma   0x800000       Long term DMA                                      True
max_xfer_size 0x100000         Maximum Transfer Size                              True
num_cmd_elems 200              Maximum number of COMMANDS to queue to the adapter True
pref_alpa     0x1                       Preferred AL_PA                                    True
sw_fc_class   2                         FC Class for Fabric                                True

作者: xiaomao2009   发布时间: 2009-12-18

# lsattr -El fscsi0
attach switch How this adapter is CONNECTED False
dyntrk no Dynamic Tracking of FC Devices True
fc_err_recov delayed_fail FC Fabric Event Error RECOVERY Policy True
scsi_id 0x123d00 Adapter SCSI ID False
sw_fc_class 3 FC Class for Fabric True
# chdev -l fscsi0 -a dyntrk=yes -a fc_err_recov=fast_fail

作者: vlinx   发布时间: 2009-12-20

顶一下。。..

作者: kakale   发布时间: 2009-12-21

各位大侠,看能不能修改下面的RW_timeout的时间。
比方说现在这个磁盘,超时60秒以后,系统才报错。感谢!!!

# lsattr -El hdisk2
clr_q         no                               Device CLEARS its Queue on error True
host_addr     100.100.100.11                   Hostname or IP Address           False
location                                       Location Label                   True
lun_id        0x0                              Logical Unit Number ID           False
max_transfer  0x40000                          Maximum TRANSFER Size            True
port_num      0xcbc                            PORT Number                      False
pvid          00c71c12b3327cb80000000000000000 Physical volume identifier       False
q_err         yes                              Use QERR bit                     True
q_type        simple                           Queuing TYPE                     True
queue_depth   128                              Queue DEPTH                      True
reassign_to   120                              REASSIGN time out value          True
rw_timeout    30                               READ/WRITE time out value        True
start_timeout 60                               START unit time out value        True
target_name   his                              Target NAME                      False
#

作者: wokankan1q   发布时间: 2011-03-25

lsattr -EHl hdisk2
这样你就该明白了true是啥意思了吧?
然后man chdev

作者: 老农   发布时间: 2011-03-25

感谢老农的回复,我只摸过一次AIX,所以不是太了解。
如下的修改是否正确?
# chdev -l hdisk2 -a rw_timeout=60

作者: wokankan1q   发布时间: 2011-03-25

就是这样修改磁盘的属性参数的

作者: hgfyjy   发布时间: 2011-03-25