免费注册 查看新帖 |

Chinaunix

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

v880上做raid 出现的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-07-02 16:40 |只看该作者 |倒序浏览
有台 v880的机器做了raid
用metastat 查看状态时 有个提示:maintenance/last erred      (c1t1d0s1)

后来我又换了个新硬盘,用metastat查看时还是同样的提示

这是为什么啊

论坛徽章:
0
2 [报告]
发表于 2005-07-02 17:30 |只看该作者

v880上做raid 出现的问题

我顺便查了下文档

Maintenance vs. Last Erred States
When a slice in a mirror or RAID5 metadevice device experiences errors, DiskSuite
puts the slice in the “Maintenance” state. No further reads or writes are performed to
a slice in the “Maintenance” state. Subsequent errors on other slices in the same
metadevice are handled differently, depending on the type of metadevice. A mirror
may be able to tolerate many slices in the “Maintenance” state and still be read from
and written to. A RAID5 metadevice, by definition, can only tolerate a single slice in
the “Maintenance” state. When either a mirror or RAID5 metadevice has a slice in
the “Last Erred” state, I/O is still attempted to the slice marked “Last Erred.” This is
because a “Last Erred” slice contains the last good copy of data from DiskSuite’s
point of view. With a slice in the “Last Erred” state, the metadevice behaves like a
normal device (disk) and returns I/O errors to an application. Usually, at this point
some data has been lost.
Always replace slices in the “Maintenance” state first, followed by those in the “Last
Erred” state. After a slice is replaced and resynced, use the metastat(1M)
command to verify its state, then validate the data to make sure it is good.

论坛徽章:
7
荣誉会员
日期:2011-11-23 16:44:17水瓶座
日期:2013-08-28 21:20:16丑牛
日期:2013-10-02 21:01:462015年迎新春徽章
日期:2015-03-04 09:54:45操作系统版块每日发帖之星
日期:2016-06-05 06:20:0015-16赛季CBA联赛之吉林
日期:2016-06-20 08:24:0515-16赛季CBA联赛之四川
日期:2016-08-18 15:02:02
3 [报告]
发表于 2005-07-02 20:43 |只看该作者

v880上做raid 出现的问题

执行同步了没?

论坛徽章:
0
4 [报告]
发表于 2005-07-04 09:31 |只看该作者

v880上做raid 出现的问题

谢谢 那要怎么实现??
不是硬盘问题吧

论坛徽章:
0
5 [报告]
发表于 2005-07-04 11:55 |只看该作者

v880上做raid 出现的问题

论坛徽章:
0
6 [报告]
发表于 2005-07-04 12:02 |只看该作者

v880上做raid 出现的问题

metadb -d删除原来在上创建的metadevices database
#prtvtoc /dev/rdsk/c0t1d0s2 | fmthard -s - /dev/rdsk/c0t0d0s2 *给新盘创建和镜像盘一样的分区表。
metadb -a -f -c重新在新盘上创建metadevices database
metareplace -e 镜像恢复
metastat -t *可以查看镜像恢复进度
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP