求助SVM metasat 里面看不硬盘id 号
各位好,最近在处理一490硬盘故障,发现 metastat里面看不到 c1t1d0硬盘id号,Rolc 的状态为:no,但是format 能看到硬盘id 号。另外,现在c1t0d0硬盘大量坏道读写报错,需要更换,现在metastat 镜像状态都ok,但是看不到c1t1d0的硬盘id ,不敢轻易更换c1t0d0,还请各位给个建议。目前硬盘从c1t0d0启动。bash-2.05# metadb
flags first blk block count
a u 16 8192 /dev/dsk/c1t0d0s7
a u 8208 8192 /dev/dsk/c1t0d0s7
a u 16400 8192 /dev/dsk/c1t0d0s7
a u r 16 8192 /dev/dsk/c1t1d0s7
a u r 8208 8192 /dev/dsk/c1t1d0s7
a u r 16400 8192 /dev/dsk/c1t1d0s7
bash-2.05# metastat
d5: Mirror
Submirror 0: d15
State: Okay
Submirror 1: d25
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 41945472 blocks (20 GB)
d15: Submirror of d5
State: Okay
Size: 41945472 blocks (20 GB)
Stripe 0:
Device Start BlockDbase State Reloc Hot Spare
c1t0d0s5 0 No Okay Yes
d25: Submirror of d5
State: Okay
Size: 41945472 blocks (20 GB)
Stripe 0:
Device Start BlockDbase State Reloc Hot Spare
c1t1d0s5 0 No Okay No
d4: Mirror
Submirror 0: d14
State: Okay
Submirror 1: d24
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 20982912 blocks (10 GB)
d14: Submirror of d4
State: Okay
Size: 20982912 blocks (10 GB)
Stripe 0:
Device Start BlockDbase State Reloc Hot Spare
c1t0d0s4 0 No Okay Yes
d24: Submirror of d4
State: Okay
Size: 20982912 blocks (10 GB)
Stripe 0:
Device Start BlockDbase State Reloc Hot Spare
c1t1d0s4 0 No Okay No
d1: Mirror
Submirror 0: d11
State: Okay
Submirror 1: d21
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 33560448 blocks (16 GB)
d11: Submirror of d1
State: Okay
Size: 33560448 blocks (16 GB)
Stripe 0:
Device Start BlockDbase State Reloc Hot Spare
c1t0d0s1 0 No Okay Yes
d21: Submirror of d1
State: Okay
Size: 33560448 blocks (16 GB)
Stripe 0:
Device Start BlockDbase State Reloc Hot Spare
c1t1d0s1 0 No Okay No
d0: Mirror
Submirror 0: d10
State: Okay
Submirror 1: d20
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 41945472 blocks (20 GB)
d10: Submirror of d0
State: Okay
Size: 41945472 blocks (20 GB)
Stripe 0:
Device Start BlockDbase State Reloc Hot Spare
c1t0d0s0 0 No Okay Yes
d20: Submirror of d0
State: Okay
Size: 41945472 blocks (20 GB)
Stripe 0:
Device Start BlockDbase State Reloc Hot Spare
c1t1d0s0 0 No Okay No
d6: Mirror
Submirror 0: d16
State: Okay
Submirror 1: d26
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 83890944 blocks (40 GB)
d16: Submirror of d6
State: Okay
Size: 83890944 blocks (40 GB)
Stripe 0:
Device Start BlockDbase State Reloc Hot Spare
c1t0d0s6 0 No Okay Yes
d26: Submirror of d6
State: Okay
Size: 83890944 blocks (40 GB)
Stripe 0:
Device Start BlockDbase State Reloc Hot Spare
c1t1d0s6 0 No Okay No
Device Relocation Information:
Device RelocDevice ID
c1t1d0 No -
c1t0d0 Yes id1,ssd@w500000e0145ff8a0
bash-2.05# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e0145ff8a1,0
1. c1t1d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e0145f8521,0
Specify disk (enter its number): ^D
bash-2.05# iostat -En
c0t0d0 Soft Errors: 3 Hard Errors: 4 Transport Errors: 0
Vendor: TOSHIBAProduct: ODD-DVD SD-C2732 Revision: 1055 Serial No:
Size: 0.00GB <0 bytes>
Media Error: 0 Device Not Ready: 4 No Device: 0 Recoverable: 0
Illegal Request: 3 Predictive Failure Analysis: 0
c1t0d0 Soft Errors: 0 Hard Errors: 3603 Transport Errors: 54
Vendor: FUJITSUProduct: MAW3147FCSUN146G Revision: 1303 Serial No: 0706C0B3DB
Size: 146.80GB <146800115712 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 18 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c1t1d0 Soft Errors: 0 Hard Errors: 26 Transport Errors: 80
Vendor: FUJITSUProduct: MAW3147FCSUN146G Revision: 1303 Serial No: 0706C0B38W
Size: 146.80GB <146800115712 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 1 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
bash-2.05# prtconf -p|grep bootpath
bash-2.05# prtconf -vp|grep bootpath
bootpath:'/pci@9,600000/SUNW,qlc@2/fp@0,0/disk@w500000e0145ff8a1,0:a' metadeattch 掉,更换 现在情况是 metastat看不到c1t1d0 id,同时c1t0d0大量坏道读写报错,得先更换c1t0d0,如果直接detach 掉c1t0d0,担心之前镜像会不会有问题,系统直接down掉。
bash-2.05# iostat -En
c0t0d0 Soft Errors: 3 Hard Errors: 4 Transport Errors: 0
Vendor: TOSHIBAProduct: ODD-DVD SD-C2732 Revision: 1055 Serial No:
Size: 0.00GB <0 bytes>
Media Error: 0 Device Not Ready: 4 No Device: 0 Recoverable: 0
Illegal Request: 3 Predictive Failure Analysis: 0
c1t0d0 Soft Errors: 0 Hard Errors: 3603 Transport Errors: 54
Vendor: FUJITSUProduct: MAW3147FCSUN146G Revision: 1303 Serial No: 0706C0B3DB
Size: 146.80GB <146800115712 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 18 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c1t1d0 Soft Errors: 0 Hard Errors: 26 Transport Errors: 80
Vendor: FUJITSUProduct: MAW3147FCSUN146G Revision: 1303 Serial No: 0706C0B38W
Size: 146.80GB <146800115712 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 1 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0 回复 2# ericyan_cu
各位大神 ,路过帮忙瞧瞧,给个建议啊 。:em03::em03::em03::em03: 那就先用 metadevadm-u c1t1d0刷新一下硬盘id。。 metadevadm 试过了,没反应啊,还是看不到ID回复 5# ericyan_cu
系统是solaris 9 u8,如果补丁之类没打齐全的话会出现过这种情况吗?有没碰到类似情况。回复 5# ericyan_cu
最好先做好备份,然后再经行尝试。如果换盘的话,先换读写错误最多的那个。 担心受到devid的影响,那就考虑禁用了。
Before:
# Begin MDD database info (do not edit)
...
# End MDD database info (do not edit)
After:
md_devid_destroy=1;
md_keep_repl_state=1;
# Begin MDD database info (do not edit)
...
# End MDD database info (do not edit) 正常重启一次,。。就ok了
页:
[1]
2