免费注册 查看新帖 |

Chinaunix

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

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

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-07-02 16:40 |只看该作者 |倒序浏览
有台 v880的机器做了raid \r\n用metastat 查看状态时 有个提示:maintenance/last erred      (c1t1d0s1)\r\n\r\n后来我又换了个新硬盘,用metastat查看时还是同样的提示\r\n\r\n这是为什么啊

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

v880上做raid 出现的问题

我顺便查了下文档 \r\n\r\nMaintenance vs. Last Erred States\r\nWhen a slice in a mirror or RAID5 metadevice device experiences errors, DiskSuite\r\nputs the slice in the “Maintenance” state. No further reads or writes are performed to\r\na slice in the “Maintenance” state. Subsequent errors on other slices in the same\r\nmetadevice are handled differently, depending on the type of metadevice. A mirror\r\nmay be able to tolerate many slices in the “Maintenance” state and still be read from\r\nand written to. A RAID5 metadevice, by definition, can only tolerate a single slice in\r\nthe “Maintenance” state. When either a mirror or RAID5 metadevice has a slice in\r\nthe “Last Erred” state, I/O is still attempted to the slice marked “Last Erred.” This is\r\nbecause a “Last Erred” slice contains the last good copy of data from DiskSuite’s\r\npoint of view. With a slice in the “Last Erred” state, the metadevice behaves like a\r\nnormal device (disk) and returns I/O errors to an application. Usually, at this point\r\nsome data has been lost.\r\nAlways replace slices in the “Maintenance” state first, followed by those in the “Last\r\nErred” state. After a slice is replaced and resynced, use the metastat(1M)\r\ncommand to verify its state, then validate the data to make sure it is good.

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

v880上做raid 出现的问题

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

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

v880上做raid 出现的问题

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

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP