- 论坛徽章:
- 0
|
刚刚遇到的问题,把处理过程和大家共乡一下,希望对大家有帮助!
SUN V880 换完风扇后,备份速度明显变慢的故障解决过程:
1.分析:
- 风扇的更换,没对系统做任何的改动
- 连存储的HBA CARD 状态都正常/mount 的卷也正常(这样基本排除FC 的问题)
- 在BACKUP SERVER 上对V880 做备份速度正常(这样可以判定NBU 没问题)
- 原因就只能出现在880 上。换风扇,做的唯一事情就是服务器reboot了,可能会
丢失了某些配置的修改(没永久保存)
- 速度慢,和网卡的工作模式有很大的关系的。。
- 交换机的工作模式是100M Full duplex
- 查看Link_mode以及各工作模式的状态(1,为FULL,0 为HALF)
#ifconfig -a
eri0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
#ndd -get /dev/eri link_mode
0
# ndd /dev/eri adv_autoneg_cap
1
#ndd /dev/eri adv_100fdx_cap
1
#ndd /dev/eri adv_100T4_cap
0
#ndd /dev/eri adv_100hdx_cap
1
#ndd /dev/eri adv_10fdx_cap
1
#ndd /dev/eri adv_10hdx_cap
1
#ndd /dev/eri instance
0
结论:通过以上分析
网卡采用的不是100M Full duplex ,和交换机的工作模式不匹配
现在可以判定问题的原因了。
2.解决过程:
1) To force the eri0 to 100 full duplex from the command line use the
following settings. Note: they will stay active only until the machine
is rebooted.
# ndd -set /dev/eri instance 0 (select interface; 0=eri0, 1=eri1, etc...)
# ndd -set /dev/eri adv_100fdx_cap 1 (enable 100MBit/s in Full Duplex)
# ndd -set /dev/eri adv_100hdx_cap 0 (disable 100MBit/s in Half Duplex)
# ndd -set /dev/eri adv_10fdx_cap 0 (disable 10MBit/s in Full Duplex)
# ndd -set /dev/eri adv_10hdx_cap 0 (disable 10MBit/s in Half Duplex)
# ndd -set /dev/eri adv_autoneg_cap 0 (disable auto-negotiation, forcingdriver)
There are two ways to make the settings permanent.
2) Add the following entries to the /etc/system file. Note: the
following entries will apply to ALL instances of eri on your system.
set eri:adv_100fdx_cap = 1
set eri:adv_100hdx_cap = 0
set eri:adv_10fdx_cap = 0
set eri:adv_10hdx_cap = 0
set eri:adv_autoneg_cap = 0
3.) OR create a boot script in the /etc/rc2.d directory, e.g.
S68nddtune. Make sure to set the execute bit by doing a chmod 755. In
the following example we show how to set two instances of eri to 100
full duplex.
#!/sbin/sh
#eri-Interfaces
#Forcing eri0 to work at 100mb full duplex.
ndd -set /dev/eri instance 0
ndd -set /dev/eri adv_100T4_cap 0
ndd -set /dev/eri adv_100fdx_cap 1
ndd -set /dev/eri adv_100hdx_cap 0
ndd -set /dev/eri adv_10fdx_cap 0
ndd -set /dev/eri adv_10hdx_cap 0
ndd -set /dev/eri adv_autoneg_cap 0
3.到次问题得到了解决,备份速度恢复到正常 |
|