- 论坛徽章:
- 0
|
一块根镜像硬盘坏了,里面包含了veritas和disksuit的卷,如何更换啊?
而且,硬盘明明已经挂了,但是vxdisk list仍旧显示为online状态,d41(c1t0d0s1)也是ok状态。
root@hdb2 # format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <drive type unknown>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w2100000c5099893d,0 1. c1t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w2100000c509988d8,0
root@hdb2 # metastat
d20: Mirror
Submirror 0: d21
State: Needs maintenance
Submirror 1: d22
State: Needs maintenance
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 126253632 blocks
d21: Submirror of d20
State: Needs maintenance
Invoke: metareplace d20 c1t0d0s0 <new device>
Size: 126253632 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c1t0d0s0 0 No Maintenance
d22: Submirror of d20
State: Needs maintenance
Invoke: after replacing "Maintenance" components:
metareplace d20 c1t1d0s0 <new device>
Size: 126253632 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c1t1d0s0 0 No Last Erred
d40: Mirror
Submirror 0: d41
State: Okay
Submirror 1: d42
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 16780224 blocks
d41: Submirror of d40
State: Okay
Size: 16780224 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c1t0d0s1 0 No Okay
d42: Submirror of d40
State: Okay
Size: 16780224 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c1t1d0s1 0 No Okay
d60: Mirror
Submirror 0: d61
State: Needs maintenance
Submirror 1: d62
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 213696 blocks
d61: Submirror of d60
State: Needs maintenance
Invoke: metareplace d60 c1t0d0s5 <new device>
Size: 213696 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c1t0d0s5 0 No Maintenance
d62: Submirror of d60
State: Okay
Size: 213696 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c1t1d0s5 0 No Okay
root@hdb2 # vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 sliced - - error
c1t0d0s2 sliced - - error
c1t0d0s7 simple c1t0d0s7 rootdg onlinec1t1d0s2 sliced - - error
c1t1d0s7 simple c1t1d0s7 rootdg online
c1t2d0s2 sliced - - error
c1t3d0s2 sliced - - error
c1t4d0s2 sliced - - error
c1t5d0s2 sliced - - error
c8t0d0s2 sliced - - online
c8t0d1s2 sliced - - online
c8t0d2s2 sliced - - online
c8t0d3s2 sliced - - online
c8t0d4s2 sliced - - online
c8t0d5s2 sliced - - online
c8t0d6s2 sliced - - online
c8t0d7s2 sliced - - online
c8t0d8s2 sliced - - online
c8t0d9s2 sliced - - online
root@hdb2 # vxprint -ht
Disk group: rootdg
DG NAME NCONFIG NLOG MINORS GROUP-ID
DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE
RV NAME RLINK_CNT KSTATE STATE PRIMARY DATAVOLS SRL
RL NAME RVG KSTATE STATE REM_HOST REM_DG REM_RLNK
V NAME RVG KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO
dg rootdg default default 0 1087544310.1033.hdb2
dm c1t0d0s7 c1t0d0s7 simple 1024 49855 -
dm c1t1d0s7 c1t1d0s7 simple 1024 49855 -
|
|