solaris8 用卷管理做的raid1,其中一个盘(非系统盘)坏了,如果处理
时间:2010-09-09
来源:互联网
raid情况:
# metastat
d10: Mirror
Submirror 0: d11
State: Needs maintenance
Submirror 1: d12
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 573376896 blocks
d11: Submirror of d10
State: Needs maintenance
Invoke: metareplace d10 c1t3d0s0 <new device>
Size: 573376896 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c1t2d0s0 0 No Okay
Stripe 1:
Device Start Block Dbase State Hot Spare
c1t3d0s0 20352 No Maintenance
d12: Submirror of d10
State: Okay
Size: 573376896 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c1t4d0s0 0 No Okay
Stripe 1:
Device Start Block Dbase State Hot Spare
c1t5d0s0 20352 No Okay
d100: Mirror
Submirror 0: d101
State: Okay
Submirror 1: d102
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 209727360 blocks
d101: Submirror of d100
State: Okay
Size: 209727360 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c1t0d0s0 0 No Okay
d102: Submirror of d100
State: Okay
Size: 209727360 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c1t1d0s0 0 No Okay
d110: Mirror
Submirror 0: d111
State: Okay
Submirror 1: d112
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 67120896 blocks
d111: Submirror of d110
State: Okay
Size: 67120896 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c1t0d0s1 0 No Okay
d112: Submirror of d110
State: Okay
Size: 67120896 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c1t1d0s1 0 No Okay
卷管理数据库情况:
# metadb -i
flags first blk block count
a m p luo 16 1034 /dev/dsk/c1t0d0s7
a p luo 16 1034 /dev/dsk/c1t1d0s7
a p luo 1050 1034 /dev/dsk/c1t1d0s7
a p luo 2084 1034 /dev/dsk/c1t1d0s7
a p luo 1050 1034 /dev/dsk/c1t0d0s7
a p luo 2084 1034 /dev/dsk/c1t0d0s7
o - replica active prior to last mddb configuration change
u - replica is up to date
l - locator for this replica was read successfully
c - replica's location was in /etc/lvm/mddb.cf
p - replica's location was patched in kernel
m - replica is master, this is replica selected as input
W - replica has device write errors
a - replica is active, commits are occurring to this replica
M - replica had problem with master blocks
D - replica had problem with data blocks
F - replica had format problems
S - replica is too small to hold current data base
R - replica had device read errors
磁盘情况:
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000014c39d6ea0,0
1. c1t1d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000014c39d25ad,0
2. c1t2d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000014c39d6dc2,0
3. c1t4d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000014c39d27fc,0
4. c1t5d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000014c39d711d,0
5. c8t5006016B30603B4Fd0 <DGC-RAID5-0219 cyl 32766 alt 2 hd 128 sec 10>
/pci@9,600000/SUNW,qlc@1/fp@0,0/ssd@w5006016b30603b4f,0
6. c8t5006016230603B4Fd0 <DGC-RAID5-0219 cyl 32766 alt 2 hd 128 sec 10>
/pci@9,600000/SUNW,qlc@1/fp@0,0/ssd@w5006016230603b4f,0
7. c9t5006016A30603B4Fd0 <DGC-RAID5-0219 cyl 32766 alt 2 hd 128 sec 10>
/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w5006016a30603b4f,0
8. c9t5006016330603B4Fd0 <DGC-RAID5-0219 cyl 32766 alt 2 hd 128 sec 10>
/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w5006016330603b4f,0
9. emcpower0a <DGC-RAID5-0219 cyl 32766 alt 2 hd 128 sec 10>
/pseudo/emcp@0
其中c1t3d0这块盘坏了,设备上也亮了黄灯。现在有盘,我该如果操作,换上新盘呢?
# metastat
d10: Mirror
Submirror 0: d11
State: Needs maintenance
Submirror 1: d12
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 573376896 blocks
d11: Submirror of d10
State: Needs maintenance
Invoke: metareplace d10 c1t3d0s0 <new device>
Size: 573376896 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c1t2d0s0 0 No Okay
Stripe 1:
Device Start Block Dbase State Hot Spare
c1t3d0s0 20352 No Maintenance
d12: Submirror of d10
State: Okay
Size: 573376896 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c1t4d0s0 0 No Okay
Stripe 1:
Device Start Block Dbase State Hot Spare
c1t5d0s0 20352 No Okay
d100: Mirror
Submirror 0: d101
State: Okay
Submirror 1: d102
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 209727360 blocks
d101: Submirror of d100
State: Okay
Size: 209727360 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c1t0d0s0 0 No Okay
d102: Submirror of d100
State: Okay
Size: 209727360 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c1t1d0s0 0 No Okay
d110: Mirror
Submirror 0: d111
State: Okay
Submirror 1: d112
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 67120896 blocks
d111: Submirror of d110
State: Okay
Size: 67120896 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c1t0d0s1 0 No Okay
d112: Submirror of d110
State: Okay
Size: 67120896 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c1t1d0s1 0 No Okay
卷管理数据库情况:
# metadb -i
flags first blk block count
a m p luo 16 1034 /dev/dsk/c1t0d0s7
a p luo 16 1034 /dev/dsk/c1t1d0s7
a p luo 1050 1034 /dev/dsk/c1t1d0s7
a p luo 2084 1034 /dev/dsk/c1t1d0s7
a p luo 1050 1034 /dev/dsk/c1t0d0s7
a p luo 2084 1034 /dev/dsk/c1t0d0s7
o - replica active prior to last mddb configuration change
u - replica is up to date
l - locator for this replica was read successfully
c - replica's location was in /etc/lvm/mddb.cf
p - replica's location was patched in kernel
m - replica is master, this is replica selected as input
W - replica has device write errors
a - replica is active, commits are occurring to this replica
M - replica had problem with master blocks
D - replica had problem with data blocks
F - replica had format problems
S - replica is too small to hold current data base
R - replica had device read errors
磁盘情况:
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000014c39d6ea0,0
1. c1t1d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000014c39d25ad,0
2. c1t2d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000014c39d6dc2,0
3. c1t4d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000014c39d27fc,0
4. c1t5d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000014c39d711d,0
5. c8t5006016B30603B4Fd0 <DGC-RAID5-0219 cyl 32766 alt 2 hd 128 sec 10>
/pci@9,600000/SUNW,qlc@1/fp@0,0/ssd@w5006016b30603b4f,0
6. c8t5006016230603B4Fd0 <DGC-RAID5-0219 cyl 32766 alt 2 hd 128 sec 10>
/pci@9,600000/SUNW,qlc@1/fp@0,0/ssd@w5006016230603b4f,0
7. c9t5006016A30603B4Fd0 <DGC-RAID5-0219 cyl 32766 alt 2 hd 128 sec 10>
/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w5006016a30603b4f,0
8. c9t5006016330603B4Fd0 <DGC-RAID5-0219 cyl 32766 alt 2 hd 128 sec 10>
/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w5006016330603b4f,0
9. emcpower0a <DGC-RAID5-0219 cyl 32766 alt 2 hd 128 sec 10>
/pseudo/emcp@0
其中c1t3d0这块盘坏了,设备上也亮了黄灯。现在有盘,我该如果操作,换上新盘呢?
作者: shilei1 发布时间: 2010-09-09
你的环境说一下吧。单机双机。光纤盘换法有所不同。
作者: rmb 发布时间: 2010-09-09
回复 shilei1
找找文档
比较简单的。
找找文档
比较简单的。
作者: jerry_lee 发布时间: 2010-09-09
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28