vxvm问题,有明白的给个指示!
两个阵列做的raid0,在主机上把两个阵列的卷用vxvm做的raid1,现在阵列上的盘有坏的,进行更换后,在主机上如何操作?vxdiskadm 选4再选 5可以吗?因为在主机上看到的阵列上的逻辑卷呀,不可能在选 4后,拔掉坏盘,具体应该怎么做呢?有高手指点一下呗!
root@account1 # vxprint -Ah
Disk group: rootdg
TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0
dg rootdg rootdg - - - - - -
dm c1t0d0s3 c1t0d0s3 - 102979 - - - -
Disk group: oracledg
TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0
dg oracledg oracledg - - - - - -
dm oracled01 T30_0 - 712970240 - - - -
dm oracled02 T30_1 - 570343424 - - - -
dm oracled03 T30_2 - 712970240 - - - -
dm oracled04 - - - - NODEVICE - -
v archive fsgen ENABLED 188743680 - ACTIVE - -
pl archive-01 archive ENABLED 188743680 - ACTIVE - -
sd oracled03-02 archive-01 ENABLED 188743680 0 - - -
pl archive-02 archive ENABLED 188743680 - ACTIVE - -
sd oracled01-03 archive-02 ENABLED 188743680 0 - - -
pl archive-04 archive ENABLED LOGONLY - ACTIVE - -
sd oracled03-10 archive-04 ENABLED 1056 LOG - - -
v data1 fsgen ENABLED 184549376 - ACTIVE - -
pl data1-01 data1 DISABLED 184549376 - NODEVICE - -
sd oracled04-03 data1-01 DISABLED 184549376 0 NODEVICE - -
pl data1-02 data1 ENABLED 184549376 - ACTIVE - -
sd oracled02-05 data1-02 ENABLED 184549376 0 - - -
pl data1-04 data1 ENABLED LOGONLY - ACTIVE - -
sd oracled03-06 data1-04 ENABLED 1056 LOG - - -
v data2 fsgen ENABLED 184549376 - ACTIVE - -
pl data2-01 data2 DISABLED 184549376 - NODEVICE - -
sd oracled04-04 data2-01 DISABLED 184549376 0 NODEVICE - -
pl data2-02 data2 ENABLED 184549376 - ACTIVE - -
sd oracled02-07 data2-02 ENABLED 184549376 0 - - -
pl data2-04 data2 ENABLED LOGONLY - ACTIVE - -
sd oracled03-07 data2-04 ENABLED 1056 LOG - - -
v data3 fsgen ENABLED 184549376 - ACTIVE - -
pl data3-01 data3 DISABLED 184549376 - NODEVICE - -
sd oracled04-05 data3-01 DISABLED 184549376 0 NODEVICE - -
pl data3-02 data3 ENABLED 184549376 - ACTIVE - -
sd oracled02-09 data3-02 ENABLED 184549376 0 - - -
pl data3-03 data3 ENABLED LOGONLY - ACTIVE - -
sd oracled02-02 data3-03 ENABLED 1056 LOG - - -
v index1 fsgen ENABLED 169869312 - ACTIVE - -
pl index1-01 index1 ENABLED 169881600 - ACTIVE - -
sd oracled03-03 index1-01 ENABLED 169881600 0 - - -
pl index1-02 index1 ENABLED 169881600 - ACTIVE - -
sd oracled01-05 index1-02 ENABLED 169881600 0 - - -
pl index1-04 index1 ENABLED LOGONLY - ACTIVE - -
sd oracled03-08 index1-04 ENABLED 1056 LOG - - -
v index2 fsgen ENABLED 169869312 - ACTIVE - -
pl index2-01 index2 ENABLED 169881600 - ACTIVE - -
sd oracled03-04 index2-01 ENABLED 169881600 0 - - -
pl index2-02 index2 ENABLED 169881600 - ACTIVE - -
sd oracled01-07 index2-02 ENABLED 169881600 0 - - -
pl index2-04 index2 ENABLED LOGONLY - ACTIVE - -
sd oracled03-11 index2-04 ENABLED 1056 LOG - - -
v index3 fsgen ENABLED 171966464 - ACTIVE - -
pl index3-01 index3 ENABLED 171970560 - ACTIVE - -
sd oracled03-05 index3-01 ENABLED 171970560 0 - - -
pl index3-02 index3 ENABLED 171970560 - ACTIVE - -
sd oracled01-09 index3-02 ENABLED 171970560 0 - - -
pl index3-04 index3 ENABLED LOGONLY - ACTIVE - -
sd oracled03-09 index3-04 ENABLED 1056 LOG - - -
v redo fsgen ENABLED 6291456 - ACTIVE - -
pl redo-01 redo ENABLED 6291456 - ACTIVE - -
sd oracled02-01 redo-01 ENABLED 6291456 0 - - -
pl redo-02 redo DISABLED 6291456 - NODEVICE - -
sd oracled04-01 redo-02 DISABLED 6291456 0 NODEVICE - -
pl redo-03 redo ENABLED LOGONLY - ACTIVE - -
sd oracled02-04 redo-03 ENABLED 66 LOG - - -
v temp fsgen ENABLED 10485760 - ACTIVE - -
pl temp-01 temp ENABLED 10485760 - ACTIVE - -
sd oracled01-01 temp-01 ENABLED 10485760 0 - - -
pl temp-02 temp ENABLED 10485760 - ACTIVE - -
sd oracled03-01 temp-02 ENABLED 10485760 0 - - -
pl temp-04 temp ENABLED LOGONLY - ACTIVE - -
sd oracled03-12 temp-04 ENABLED 99 LOG - - -
v undo fsgen ENABLED 8388608 - ACTIVE - -
pl undo-01 undo DISABLED 8388608 - NODEVICE - -
sd oracled04-02 undo-01 DISABLED 8388608 0 NODEVICE - -
pl undo-02 undo ENABLED 8388608 - ACTIVE - -
sd oracled02-03 undo-02 ENABLED 8388608 0 - - -
pl undo-03 undo ENABLED LOGONLY - ACTIVE - -
sd oracled02-06 undo-03 ENABLED 99 LOG - - -
root@account1 #
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
T3的卷需要重做吗,是不是重新mount就可以了?
原来坏的是u1d4,在阵列上没做操作,还需要重新做卷吗?
盘已换完了,在阵列是看到的是如下内容
t3b0:/:<1>fru list
ID TYPE VENDOR MODEL REVISION SERIAL
------ ----------------- ----------- ----------- ------------- --------
u1ctr controller card 0301 501-5710-02( 0200/020100 125985
u2ctr controller card 0301 501-5710-02( 0200/020100 125895
u1d1 disk drive FUJITSU MAN3735F SUN 1204 52V72080
u1d2 disk drive FUJITSU MAN3735F SUN 1204 51V70316
u1d3 disk drive FUJITSU MAN3735F SUN 1204 52V70388
u1d4 disk drive FUJITSU MAN3735F SUN 1204 02V76047
u1d5 disk drive FUJITSU MAN3735F SUN 1204 52V70498
u1d6 disk drive FUJITSU MAN3735F SUN 1204 52V70540
u1d7 disk drive FUJITSU MAN3735F SUN 1204 52V70555
u1d8 disk drive FUJITSU MAN3735F SUN 1204 52V70563
u1d9 disk drive FUJITSU MAN3735F SUN 1204 52V70523
u2d1 disk drive FUJITSU MAN3735F SUN 1204 51V70328
u2d2 disk drive FUJITSU MAN3735F SUN 1204 52V70510
u2d3 disk drive SEAGATE ST373405FSUN A838 3EK1MS4R
u2d4 disk drive FUJITSU MAN3735F SUN 1204 52V70406
u2d5 disk drive SEAGATE ST373307FSUN 0307 3HZ6KEBS
u2d6 disk drive SEAGATE ST373307FSUN 0307 3HZ7JTVH
u2d7 disk drive FUJITSU MAN3735F SUN 1004 30V15506
u2d8 disk drive FUJITSU MAN3735F SUN 1204 52V70532
u2d9 disk drive FUJITSU MAN3735F SUN 1204 52V70546
u1l1 loop card SLR-MI 375-0085-01- 5.02 Flash 113124
u1l2 loop card SLR-MI 375-0085-01- 5.02 Flash 113164
u2l1 loop card SLR-MI 375-0085-01- 5.02 Flash 113216
u2l2 loop card SLR-MI 375-0085-01- 5.02 Flash 113093
u1pcu1 power/cooling unit TECTROL-CAN 300-1454-01( 0000 108984
u1pcu2 power/cooling unit TECTROL-CAN 300-1454-01( 0000 108983
u2pcu1 power/cooling unit TECTROL-CAN 300-1454-01( 0000 109014
u2pcu2 power/cooling unit TECTROL-CAN 300-1454-01( 0000 109039
u1mpn mid plane SLR-MI 501-5709-05- 0050 065891
u2mpn mid plane SLR-MI 501-5709-05- 0050 065961
t3b0:/:<2>fru stat
CTLR STATUS STATE ROLE PARTNER TEMP
------ ------- ---------- ---------- ------- ----
u1ctr ready enabled alt master u2ctr 37.5
u2ctr ready enabled master u1ctr 37.0
DISK STATUS STATE ROLE PORT1 PORT2 TEMP VOLUME
------ ------- ---------- ---------- --------- --------- ---- ------
u1d1 ready enabled data disk ready ready 35 vol1
u1d2 ready enabled data disk ready ready 36 vol1
u1d3 ready enabled data disk ready ready 34 vol1
u1d4 ready enabled data disk ready ready 35 vol1
u1d5 ready enabled data disk ready ready 36 vol2
u1d6 ready enabled data disk ready ready 35 vol2
u1d7 ready enabled data disk ready ready 36 vol2
u1d8 ready enabled data disk ready ready 35 vol2
u1d9 ready enabled data disk ready ready 35 vol2
u2d1 ready enabled data disk ready ready 37 vol3
u2d2 ready enabled data disk ready ready 35 vol3
u2d3 ready enabled data disk ready ready 38 vol3
u2d4 ready enabled data disk ready ready 36 vol3
u2d5 ready enabled data disk ready ready 32 vol4
u2d6 ready enabled data disk ready ready 32 vol4
u2d7 ready enabled data disk ready ready 36 vol4
u2d8 ready enabled data disk ready ready 35 vol4
u2d9 ready enabled data disk ready ready 34 vol4
LOOP STATUS STATE MODE CABLE1 CABLE2 TEMP
------ ------- ---------- ------- --------- --------- ----
u2l1 ready enabled master installed - 32.5
u2l2 ready enabled slave installed - 35.0
u1l1 ready enabled master - installed 33.0
u1l2 ready enabled slave - installed 35.0
POWER STATUS STATE SOURCE OUTPUT BATTERY TEMP FAN1 FAN2
------ ------- --------- ------ ------ ------- ------ ------ ------
u1pcu1 ready enabled line normal normal normal normal normal
u1pcu2 ready enabled line normal normal normal normal normal
u2pcu1 ready enabled line normal normal normal normal normal
u2pcu2 ready enabled line normal normal normal normal normal
t3b0:/:<3>vol list
volume capacity raid data standby
vol1 272.681 GB 0 u1d1-4 none
vol3 272.681 GB 0 u2d1-4 none
vol2 340.851 GB 0 u1d5-9 none
vol4 340.851 GB 0 u2d5-9 none
先用vxdiskadm选4把坏盘remove掉,然后在阵列端换坏盘,并按照原来的重做raid0,map给主机,主机端识别后vxdctl enable刷新设备,再选5同步新盘。