Hi
Please can you help me on replacing or removing a faulty disk drive on a SUN NETRA X4250
server with 4 internal drives only.
the format
comand show me the following:
format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0t0d0 <drive type unknown>
/pci@0,0/pci8086,25e2@2/pci8086,3500@0/pci8086,3510@0/pci1000,3150@0/sd@0,0
1. c0t1d0 <DEFAULT cyl 36469 alt 2 hd 255 sec 63>
/pci@0,0/pci8086,25e2@2/pci8086,3500@0/pci8086,3510@0/pci1000,3150@0/sd@1,0
2. c0t2d0 <DEFAULT cyl 36469 alt 2 hd 255 sec 63>
/pci@0,0/pci8086,25e2@2/pci8086,3500@0/pci8086,3510@0/pci1000,3150@0/sd@2,0
3. c0t3d0 <DEFAULT cyl 36469 alt 2 hd 255 sec 63>
/pci@0,0/pci8086,25e2@2/pci8086,3500@0/pci8086,3510@0/pci1000,3150@0/sd@3,0
Specify disk (enter its number): ^D
root@mhcominf01:/#
so I beleive drive 0. c0t0d0 <drive type unknown>
is faulty.
Also in tail /var/adm/messages
shows:
Mar 8 10:19:46 mhcominf01 scsi: [ID 107833 kern.warning] WARNING: /pci@0,0/pci8086,25e2@2/pci8086,3500@0/pci8086,3510@0/pci1000,3150@0/sd@0,0 (sd1):
Mar 8 10:19:46 mhcominf01 drive offline
Mar 8 10:23:47 mhcominf01 scsi: [ID 107833 kern.warning] WARNING: /pci@0,0/pci8086,25e2@2/pci8086,3500@0/pci8086,3510@0/pci1000,3150@0/sd@0,0 (sd1):
Mar 8 10:23:47 mhcominf01 drive offline
Mar 8 10:23:57 mhcominf01 scsi: [ID 107833 kern.warning] WARNING: /pci@0,0/pci8086,25e2@2/pci8086,3500@0/pci8086,3510@0/pci1000,3150@0/sd@0,0 (sd1):
Mar 8 10:23:57 mhcominf01 drive offline
Mar 8 13:45:31 mhcominf01 scsi: [ID 107833 kern.warning] WARNING: /pci@0,0/pci8086,25e2@2/pci8086,3500@0/pci8086,3510@0/pci1000,3150@0/sd@0,0 (sd1):
Mar 8 13:45:31 mhcominf01 drive offline
Mar 8 13:45:41 mhcominf01 scsi: [ID 107833 kern.warning] WARNING: /pci@0,0/pci8086,25e2@2/pci8086,3500@0/pci8086,3510@0/pci1000,3150@0/sd@0,0 (sd1):
Mar 8 13:45:41 mhcominf01 drive offline
this confims that the disk is faulty.
metastat
shows:
metastat
d30: Mirror
Submirror 0: d32
State: Needs maintenance
Submirror 1: d31
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 459940950 blocks (219 GB)
d32: Submirror of d30
State: Needs maintenance
Invoke: metareplace d30 c0t2d0s3 <new device>
Size: 459940950 blocks (219 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c0t2d0s3 0 No Maintenance Yes
d31: Submirror of d30
State: Okay
Size: 459940950 blocks (219 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c0t1d0s3 0 No Okay Yes
d20: Mirror
Submirror 0: d22
State: Needs maintenance
Submirror 1: d21
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 20980890 blocks (10 GB)
d22: Submirror of d20
State: Needs maintenance
Invoke: metareplace d20 c0t2d0s1 <new device>
Size: 20980890 blocks (10 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c0t2d0s1 0 No Maintenance Yes
d21: Submirror of d20
State: Okay
Size: 20980890 blocks (10 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c0t1d0s1 0 No Okay Yes
d10: Mirror
Submirror 0: d12
State: Needs maintenance
Submirror 1: d11
State: Needs maintenance
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 41945715 blocks (20 GB)
d12: Submirror of d10
State: Needs maintenance
Invoke: after replacing "Maintenance" components:
metareplace d10 c0t2d0s0 <new device>
Size: 41945715 blocks (20 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c0t2d0s0 0 No Last Erred Yes
d11: Submirror of d10
State: Needs maintenance
Invoke: metasync d10
Size: 41945715 blocks (20 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c0t1d0s0 0 No Resyncing Yes
Device Relocation Information:
Device Reloc Device ID
c0t2d0 Yes id1,sd@n5000c5003a470243
c0t1d0 Yes id1,sd@n5000c500741f132b
root@mhcominf01:/#
from the following command:
metastat -c
d30 m 219GB d32 (maint) d31
d32 s 219GB c0t2d0s3 (maint)
d31 s 219GB c0t1d0s3
d20 m 10GB d22 (maint) d21
d22 s 10GB c0t2d0s1 (maint)
d21 s 10GB c0t1d0s1
d10 m 20GB d12 (maint) d11 (maint)
d12 s 20GB c0t2d0s0 (last-erred)
d11 s 20GB c0t1d0s0 (resyncing
I beleive now I have to use the following:
metadetach d30 d32
metadetach d20 d22
From now on I am not quite what the following steps.
Please can you help