免费注册 查看新帖 |

Chinaunix

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

奇怪,为什么SDS两个submirror均报告Needs maintenance,卷还可以使用?? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-07-25 15:20 |只看该作者 |倒序浏览
以下为metastat状态:\r\n\r\ndiskset1/d300: Mirror\r\n    Submirror 0: diskset1/d301\r\n      State: Needs maintenance \r\n    Submirror 1: diskset1/d302\r\n      State: Needs maintenance \r\n    Pass: 1\r\n    Read option: roundrobin (default)\r\n    Write option: parallel (default)\r\n    Size: 524238848 blocks (249 GB)\r\n\r\ndiskset1/d301: Submirror of diskset1/d300\r\n    State: Needs maintenance \r\n    Invoke: metareplace diskset1/d300 d13s0 <new device>\r\n    Size: 524238848 blocks (249 GB)\r\n    Stripe 0:\r\n        Device   Start Block  Dbase        State Reloc Hot Spare\r\n        d13s0           0     No     Maintenance       \r\n\r\n\r\ndiskset1/d302: Submirror of diskset1/d300\r\n    State: Needs maintenance \r\n    Invoke: after replacing \"Maintenance\" components:\r\n                metareplace diskset1/d300 d16s0 <new device>\r\n    Size: 524238848 blocks (249 GB)\r\n    Stripe 0:\r\n        Device   Start Block  Dbase        State Reloc Hot Spare\r\n        d16s0           0     No      Last Erred       \r\n\r\n请教高手:下面这句话,什么意思?为什么不让执行呢\r\nInvoke: after replacing \"Maintenance\" components:\r\n                metareplace diskset1/d300 d16s0 <new device>

论坛徽章:
0
2 [报告]
发表于 2006-07-25 15:56 |只看该作者
原帖由 东方蜘蛛 于 2006-7-25 15:31 发表\r\n# who -r
\r\n\r\nroot@host1 # who -r\r\n   .       run-level 3  May  3 19:59     3      0  S

论坛徽章:
0
3 [报告]
发表于 2006-07-25 16:06 |只看该作者

回复 东方蜘蛛大版主的帖子

执行不了,报错了!!!!\r\n\r\nroot@host1 # metareplace diskset1/d300 /dev/did/dsk/d16s0\r\nAssertion failed: (np->drivenamep->type == MDT_META) ? (sp->setno == MD_MIN2SET(meta_getminor(np->dev))) : 1, file ../common/meta_name.c, line 1638\r\nmetareplace: Abort\r\nAbort (core dumped)
kitten@TS 该用户已被删除
4 [报告]
发表于 2006-07-25 16:06 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
kitten@TS 该用户已被删除
5 [报告]
发表于 2006-07-25 16:13 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
6 [报告]
发表于 2006-07-25 16:14 |只看该作者
# metareplace -s diskset1 -e d300 d302\r\n\r\n我以前用这个恢复同步的,但是情况是只有一边的状态是Needs maintenance ,建议做好备份先!\r\n\r\n另:看看format,iostat -En及日志,看看是不是两个盘都有问题!

论坛徽章:
0
7 [报告]
发表于 2006-07-25 16:25 |只看该作者
谢谢各位,特别是东方蜘蛛大版主,谢谢你们的帮助!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP