Unix & Linux & Windows 配置Disk timeout

myhuaer發表於2010-05-28

Unix & Linux & Windows 配置Disk timeout

AIX:

#chdev –l hdisk03 –a rw_timeout = 60 設定為60 seconds

#lsattr –l hdisk1 –E
scsi_id   0x614700     SCSI ID      False
lun_id    0x1000000000000   Logical Unit Number ID   False
location   Location Label           True
ww_name   0x210000e08b01bdc9   FC World Wide Name    False
pvid    044cf9ac29929550000000000000000 Physical volume identifier  False
....
rw_timeout   30       READ/WRITE time out value  True
start_timeout  60       START unit time out value  True
reassign_to  120      REASSIGN time out value  True

HP-UX
#pvchange –t IO_timeout physical_volume_path
#pvchange –t 60 /dev/dsk/cXtXdX

Linux:
echo 60 > /sys/block/sda/device/timeout
and
echo 60 > /sys/block/sdb/device/timeout

Microsoft Windows

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Disk

增加或修改 DWORD:
TimeOutValue = 3c
3c hex for 60

SUN Solaris

#cp /etc/system /etc/system.bak

修改SD 值
Set sd:sd_io_time = 0x3c

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/34596/viewspace-663916/,如需轉載,請註明出處,否則將追究法律責任。

相關文章