- 论坛徽章:
- 0
|
各位好:
我现在遇到这种情况,富士通M8K的系统盘出现问题,需要更换,但上面做了软分区。请教大侠们,做了软分区的磁盘该如何更换!!
谢谢~~~
现场收集的信息如下。
bash-3.00# uname -a
SunOS DB 5.10 Generic_138888-06 sun4u sparc SUNW,SPARC-Enterprisebash-3.00# more /etc/vfstab
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/md/dsk/d2 - - swap - no -
/dev/md/dsk/d1 /dev/md/rdsk/d1 / ufs 1 no -
/dev/md/dsk/d6 /dev/md/rdsk/d6 /export/home ufs 2 yes -
/dev/md/dsk/d3 /dev/md/rdsk/d3 /opt ufs 2 yes -
#/dev/md/dsk/d55 /dev/md/rdsk/d55 /app ufs 2 yes -
/dev/md/dsk/d41 /dev/md/rdsk/d41 /opt/BOCO.NPM ufs 2 yes -
/dev/md/dsk/d42 /dev/md/rdsk/d42 /opt/BOCO.NRM ufs 2 yes -
/devices - /devices devfs - no -
ctfs - /system/contract ctfs - no -
objfs - /system/object objfs - no -
swap - /tmp tmpfs - yes -
sharefs - /etc/dfs/sharetab sharefs - no -
#RMS#/dev/sfdsk/cdata1/dsk/vdatainformix1 /dev/sfdsk/cdata1/rdsk/vdatainformix1 /opt/informix1 ufs 2 no -
#RMS#/dev/sfdsk/cdata2/dsk/vdatainformix2 /dev/sfdsk/cdata2/rdsk/vdatainformix2 /opt/informix2 ufs 2 no -
#RMS#/dev/sfdsk/cdata3/dsk/vdatainformix3 /dev/sfdsk/cdata3/rdsk/vdatainformix3 /opt/informix3 ufs 2 no -
/dev/dsk/c4t16d18s6 /dev/rdsk/c4t16d18s6 /backupdblocal ufs 2 yes -# df -hk
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d1 49G 37G 12G 77% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 38G 1.9M 38G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
fd 0K 0K 0K 0% /dev/fd
swap 38G 271M 38G 1% /tmp
swap 38G 72K 38G 1% /var/run
/dev/dsk/c4t16d18s6 492G 64M 487G 1% /backupdblocal
/dev/md/dsk/d3 49G 6.3G 42G 14% /opt
/dev/md/dsk/d6 4.6G 3.5G 1.0G 78% /export/home
/dev/md/dsk/d41 47G 12G 35G 26% /opt/BOCO.NPM
/dev/md/dsk/d42 49G 1.4G 47G 3% /opt/BOCO.NRMa
/dev/sfdsk/cdata1/dsk/vdatainformix1
49G 6.7G 42G 14% /opt/informix1
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0t0d0 <FUJITSU-MBB2147RC-3703 cyl 14087 alt 2 hd 24 sec 848> 01200000
/pci@0,600000/pci@0/scsi@1/sd@0,0
1. c0t1d0 <FUJITSU-MBB2147RC-3703 cyl 14087 alt 2 hd 24 sec 848> 01200001
/pci@0,600000/pci@0/scsi@1/sd@1,0
2. c1t0d0 <FUJITSU-MBB2147RC-3703 cyl 14087 alt 2 hd 24 sec 848> 01200002
/pci@10,600000/pci@0/scsi@1/sd@0,0
3. c2t0d0 <drive not available>
/pci@14,600000/pci@0/scsi@1/sd@0,0
4. c4t16d18 <DGC-RAID5-0326 cyl 63998 alt 2 hd 256 sec 64> 00200072
/pci@2,600000/fibre-channel@0,1/sd@10,12
5. c4t16d24 <DGC-RAID10-0326 cyl 45566 alt 2 hd 256 sec 32>
/pci@2,600000/fibre-channel@0,1/sd@10,18
6. c4t16d25 <DGC-RAID10-0326 cyl 45566 alt 2 hd 256 sec 32>
/pci@2,600000/fibre-channel@0,1/sd@10,19
7. c4t16d26 <DGC-RAID10-0326 cyl 45566 alt 2 hd 256 sec 32>
/pci@2,600000/fibre-channel@0,1/sd@10,1a
8. c4t16d27 <DGC-RAID10-0326 cyl 45566 alt 2 hd 256 sec 32>
/pci@2,600000/fibre-channel@0,1/sd@10,1b
9. c4t16d28 <DGC-RAID10-0326 cyl 45566 alt 2 hd 256 sec 32>
/pci@2,600000/fibre-channel@0,1/sd@10,1c
10. c4t16d29 <DGC-RAID10-0326 cyl 45566 alt 2 hd 256 sec 32>
/pci@2,600000/fibre-channel@0,1/sd@10,1d
11. c4t16d30 <DGC-RAID10-0326 cyl 45566 alt 2 hd 256 sec 32>
/pci@2,600000/fibre-channel@0,1/sd@10,1e
12. c4t16d31 <DGC-RAID10-0326 cyl 45566 alt 2 hd 256 sec 32>
/pci@2,600000/fibre-channel@0,1/sd@10,1f
13. c4t17d18 <DGC-RAID5-0326 cyl 63998 alt 2 hd 256 sec 64> 00200072
/pci@2,600000/fibre-channel@0,1/sd@11,12
14. c4t17d24 <DGC-RAID10-0326 cyl 45566 alt 2 hd 256 sec 32>
/pci@2,600000/fibre-channel@0,1/sd@11,18
15. c4t17d25 <DGC-RAID10-0326 cyl 45566 alt 2 hd 256 sec 32>
/pci@2,600000/fibre-channel@0,1/sd@11,19
16. c4t17d26 <DGC-RAID10-0326 cyl 45566 alt 2 hd 256 sec 32>
/pci@2,600000/fibre-channel@0,1/sd@11,1a
17. c4t17d27 <DGC-RAID10-0326 cyl 45566 alt 2 hd 256 sec 32>
/pci@2,600000/fibre-channel@0,1/sd@11,1b
18. c4t17d28 <DGC-RAID10-0326 cyl 45566 alt 2 hd 256 sec 32>
/pci@2,600000/fibre-channel@0,1/sd@11,1c
19. c4t17d29 <DGC-RAID10-0326 cyl 45566 alt 2 hd 256 sec 32>
/pci@2,600000/fibre-channel@0,1/sd@11,1d
20. c4t17d30 <DGC-RAID10-0326 cyl 45566 alt 2 hd 256 sec 32>
/pci@2,600000/fibre-channel@0,1/sd@11,1e
21. c4t17d31 <DGC-RAID10-0326 cyl 45566 alt 2 hd 256 sec 32>
/pci@2,600000/fibre-channel@0,1/sd@11,1f
22. c5t16d18 <DGC-RAID5-0326 cyl 63998 alt 2 hd 256 sec 64> 00200072
/pci@24,600000/fibre-channel@0,1/sd@10,12
23. c5t16d24 <DGC-RAID10-0326 cyl 45566 alt 2 hd 256 sec 32>
/pci@24,600000/fibre-channel@0,1/sd@10,18
24. c5t16d25 <DGC-RAID10-0326 cyl 45566 alt 2 hd 256 sec 32>
/pci@24,600000/fibre-channel@0,1/sd@10,19
25. c5t16d26 <DGC-RAID10-0326 cyl 45566 alt 2 hd 256 sec 32>
/pci@24,600000/fibre-channel@0,1/sd@10,1a
26. c5t16d27 <DGC-RAID10-0326 cyl 45566 alt 2 hd 256 sec 32>
/pci@24,600000/fibre-channel@0,1/sd@10,1b
27. c5t16d28 <DGC-RAID10-0326 cyl 45566 alt 2 hd 256 sec 32>
/pci@24,600000/fibre-channel@0,1/sd@10,1c
28. c5t16d29 <DGC-RAID10-0326 cyl 45566 alt 2 hd 256 sec 32>
/pci@24,600000/fibre-channel@0,1/sd@10,1d
29. c5t16d30 <DGC-RAID10-0326 cyl 45566 alt 2 hd 256 sec 32>
/pci@24,600000/fibre-channel@0,1/sd@10,1e
30. c5t16d31 <DGC-RAID10-0326 cyl 45566 alt 2 hd 256 sec 32>
/pci@24,600000/fibre-channel@0,1/sd@10,1f
31. c5t17d18 <DGC-RAID5-0326 cyl 63998 alt 2 hd 256 sec 64> 00200072
/pci@24,600000/fibre-channel@0,1/sd@11,12
32. c5t17d24 <DGC-RAID10-0326 cyl 45566 alt 2 hd 256 sec 32>
/pci@24,600000/fibre-channel@0,1/sd@11,18
33. c5t17d25 <DGC-RAID10-0326 cyl 45566 alt 2 hd 256 sec 32>
/pci@24,600000/fibre-channel@0,1/sd@11,19
34. c5t17d26 <DGC-RAID10-0326 cyl 45566 alt 2 hd 256 sec 32>
/pci@24,600000/fibre-channel@0,1/sd@11,1a
35. c5t17d27 <DGC-RAID10-0326 cyl 45566 alt 2 hd 256 sec 32>
/pci@24,600000/fibre-channel@0,1/sd@11,1b
36. c5t17d28 <DGC-RAID10-0326 cyl 45566 alt 2 hd 256 sec 32>
/pci@24,600000/fibre-channel@0,1/sd@11,1c
37. c5t17d29 <DGC-RAID10-0326 cyl 45566 alt 2 hd 256 sec 32>
/pci@24,600000/fibre-channel@0,1/sd@11,1d
38. c5t17d30 <DGC-RAID10-0326 cyl 45566 alt 2 hd 256 sec 32>
/pci@24,600000/fibre-channel@0,1/sd@11,1e
39. c5t17d31 <DGC-RAID10-0326 cyl 45566 alt 2 hd 256 sec 32>
/pci@24,600000/fibre-channel@0,1/sd@11,1f
40. emcpower18a <DGC-RAID5-0326 cyl 63998 alt 2 hd 256 sec 64> 00200072
/pseudo/emcp@18
Specify disk (enter its number):
Specify disk (enter its number): ^C
# metastat -p
d6 -m d61 d62 1
d61 1 1 c0t0d0s6
d62 1 1 c0t1d0s6
d3 -m d31 d32 1
d31 1 1 c0t0d0s3
d32 1 1 c0t1d0s3
d2 -m d21 d22 1
d21 1 1 c0t0d0s1
d22 1 1 c0t1d0s1
d1 -m d11 d12 1
d11 1 1 c0t0d0s0
d12 1 1 c0t1d0s0
d42 -p d50 -o 100663360 -b 104857600
d50 -m d51 d52 1
d51 1 1 c1t0d0s6
d52 1 1 c2t0d0s6
d41 -p d50 -o 32 -b 100663296
# metastat
d6: Mirror
Submirror 0: d61
State: Okay
Submirror 1: d62
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 9707904 blocks (4.6 GB)
d61: Submirror of d6
State: Okay
Size: 9707904 blocks (4.6 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c0t0d0s6 0 No Okay No
d62: Submirror of d6
State: Okay
Size: 9707904 blocks (4.6 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c0t1d0s6 0 No Okay No
d3: Mirror
Submirror 0: d31
State: Okay
Submirror 1: d32
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 104873856 blocks (50 GB)
d31: Submirror of d3
State: Okay
Size: 104873856 blocks (50 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c0t0d0s3 0 No Okay No
d32: Submirror of d3
State: Okay
Size: 104873856 blocks (50 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c0t1d0s3 0 No Okay No
d2: Mirror
Submirror 0: d21
State: Okay
Submirror 1: d22
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 67120896 blocks (32 GB)
d21: Submirror of d2
State: Okay
Size: 67120896 blocks (32 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c0t0d0s1 0 No Okay No
d22: Submirror of d2
State: Okay
Size: 67120896 blocks (32 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c0t1d0s1 0 No Okay No
d1: Mirror
Submirror 0: d11
State: Okay
Submirror 1: d12
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 104873856 blocks (50 GB)
d11: Submirror of d1
State: Okay
Size: 104873856 blocks (50 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c0t0d0s0 0 No Okay No
d12: Submirror of d1
State: Okay
Size: 104873856 blocks (50 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c0t1d0s0 0 No Okay No
d42: Soft Partition
Device: d50
State: Okay
Size: 104857600 blocks (50 GB)
Extent Start Block Block count
0 100663360 104857600
d50: Mirror
Submirror 0: d51
State: Okay
Submirror 1: d52
State: Needs maintenance
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 286169472 blocks (136 GB)
d51: Submirror of d50
State: Okay
Size: 286169472 blocks (136 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t0d0s6 0 No Okay No
d52: Submirror of d50
State: Needs maintenance
Invoke: metareplace d50 c2t0d0s6 <new device>
Size: 286169472 blocks (136 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c2t0d0s6 0 No Maintenance No
d41: Soft Partition
Device: d50
State: Okay
Size: 100663296 blocks (48 GB)
Extent Start Block Block count
0 32 100663296
Device Relocation Information:
Device Reloc Device ID
c2t0d0 No -
c0t1d0 No -
c1t0d0 No -
c0t0d0 No -
# metadb
flags first blk block count
a m p luo r 16 8192 /dev/dsk/c0t0d0s7
a p luo r 8208 8192 /dev/dsk/c0t0d0s7
a p luo r 16400 8192 /dev/dsk/c0t0d0s7
a p luo r 16 8192 /dev/dsk/c0t1d0s7
a p luo r 8208 8192 /dev/dsk/c0t1d0s7
a p luo r 16400 8192 /dev/dsk/c0t1d0s7
a p luo r 16 8192 /dev/dsk/c1t0d0s7
a p luo r 8208 8192 /dev/dsk/c1t0d0s7
W p l r 16 8192 /dev/dsk/c2t0d0s7
W p l r 8208 8192 /dev/dsk/c2t0d0s7
请大侠们,指导下,谢谢~~ |
|