免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1432 | 回复: 3
打印 上一主题 下一主题

求助iostat!!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-12-05 23:53 |只看该作者 |倒序浏览
因为一块镜像坏掉了,现在更换硬盘后,用iostat -E 显示的还是原来的那块硬盘的信息,请问怎么才能在不重启机器的情况下刷新信息呢??

论坛徽章:
0
2 [报告]
发表于 2005-12-06 00:56 |只看该作者
Find a solution (item in Sun website, but I don't have a support account to read the document.

http://sunsolve8.sun.com/search/ ... &repository=cds

论坛徽章:
0
3 [报告]
发表于 2005-12-06 08:01 |只看该作者
devfsadm 刷新一下看看.

论坛徽章:
0
4 [报告]
发表于 2005-12-06 09:08 |只看该作者
Description:        Top

When a hard- soft- or transport error occurs the counters are set and
accumulated.

There are some situations where you would like to clear the counters without
rebooting:

- when replacing a disk on the fly
- when using alert software that "alerts" someone in case of a
  "hard error" <-- example


Document Body:        Top

the simple answer is:
You cannot clear the kernel counters without rebooting the system (fcal you
can, see last statement).

Explanation:
iostat scans the system for current usage on the fly. This info is cached
on the kernel. You could be able to "unload" a module from the kernel to
clear the counters, but this is not recommended by Sun.

This really counts for "SCSI" disks.

For "FCAL" disks however, the "WWN" is unique. When a fcal disk is
replaced, the "new WWN" is seen by the system, which makes it see the
replacement disk, so in this case the "kernel counters" should be reset.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP