- 论坛徽章:
- 0
|
各位达人,小弟刚刚接触SUN的产品,好多问题不太清楚,最近遇到一个问题,特想请教一下大家,具体情况如下:
主机是SUN fire V880 装的是solaris8的操作系统,上面接了两种存储,一个是SUN 的 D1000,一个是EMC的存储,EMC的具体型号不详,问题就在那个SUN的 D 1000上。
磁盘通过volume manager 封装,主机上抓到的信息如下:
[root@-a:/]# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 sliced - - error
c1t1d0s2 sliced disk01 rootdg online
c1t2d0s2 sliced bkgrp01 bkgrp online
c1t3d0s2 sliced bkgrp02 bkgrp online
c1t4d0s2 sliced bkgrp03 bkgrp online
c1t5d0s2 sliced bkgrp04 bkgrp online
c3t0d0s2 sliced dbgrp01 dbgrp online
c3t1d0s2 sliced dbgrp02 dbgrp online
c3t2d0s2 sliced dbgrp09 dbgrp online
c3t3d0s2 sliced - - error
c3t4d0s2 sliced dbgrp11 dbgrp online
c3t5d0s2 sliced dbgrp12 dbgrp online
c3t8d0s2 sliced dbgrp03 dbgrp online
c3t9d0s2 sliced dbgrp04 dbgrp online
c3t10d0s2 sliced dbgrp05 dbgrp online
c3t11d0s2 sliced dbgrp06 dbgrp online
c3t12d0s2 sliced dbgrp07 dbgrp online
c3t13d0s2 sliced dbgrp08 dbgrp online
- - dbgrp10 dbgrp failed was:c3t3d0s2
[root@-a:/]# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000004cfa4d949,0
1. c1t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000004cfa4c545,0
2. c1t2d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000004cfa4cc35,0
3. c1t3d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000004cfa4c6d4,0
4. c1t4d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000004cfa4c5e2,0
5. c1t5d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000004cfa4bc7f,0
6. c3t0d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@0,0
7. c3t1d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@1,0
8. c3t2d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@2,0
9. c3t3d0 <drive not available: formatting>
/pci@9,700000/scsi@3,1/sd@3,0
10. c3t4d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@4,0
11. c3t5d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@5,0
12. c3t8d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@8,0
13. c3t9d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@9,0
14. c3t10d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@a,0
15. c3t11d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@b,0
16. c3t12d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@c,0
17. c3t13d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@d,0
Specify disk (enter its number): ^D
[root@-a:/]#
由于主机上显示c3t3t0的状态是formatting,怀疑是D1000上的磁盘挂了,于是跑到现场去看磁盘,发现12快硬盘的绿灯都是亮的,如果硬盘物理损坏,是不是存储上相应位置的绿灯应该变成黄灯呢?既然都是绿灯是不是应该没有物理损坏啊?
接下来又做了几个操作。
[root@-a:/]# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000004cfa4d949,0
1. c1t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000004cfa4c545,0
2. c1t2d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000004cfa4cc35,0
3. c1t3d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000004cfa4c6d4,0
4. c1t4d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000004cfa4c5e2,0
5. c1t5d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000004cfa4bc7f,0
6. c3t0d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@0,0
7. c3t1d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@1,0
8. c3t2d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@2,0
9. c3t3d0 <drive not available: formatting> (看这里,此时状态是formating的)
/pci@9,700000/scsi@3,1/sd@3,0
10. c3t4d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@4,0
11. c3t5d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@5,0
12. c3t8d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@8,0
13. c3t9d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@9,0
14. c3t10d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@a,0
15. c3t11d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@b,0
16. c3t12d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@c,0
17. c3t13d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@d,0
Specify disk (enter its number): 9
AVAILABLE DRIVE TYPES:
0. Auto configure
1. Quantum ProDrive 80S
2. Quantum ProDrive 105S
3. CDC Wren IV 94171-344
4. SUN0104
5. SUN0207
6. SUN0327
7. SUN0340
8. SUN0424
9. SUN0535
10. SUN0669
11. SUN1.0G
12. SUN1.05
13. SUN1.3G
14. SUN2.1G
15. SUN2.9G
16. Zip 100
17. Zip 250
18. SUN72G
19. SUN18G
20. other
Specify disk type (enter its number): 19 (因为是18G的标准盘,所以选了这个)
selecting c3t3d0
[disk unformatted]
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
inquiry - show vendor, product and revision
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> p
PARTITION MENU:
0 - change `0' partition
1 - change `1' partition
2 - change `2' partition
3 - change `3' partition
4 - change `4' partition
5 - change `5' partition
6 - change `6' partition
7 - change `7' partition
select - select a predefined table
modify - modify a predefined partition table
name - name the current table
print - display the current table
label - write partition map and label to the disk
!<cmd> - execute <cmd>, then return
quit
partition> p
Current partition table (original):
Total disk cylinders available: 7506 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 unassigned wm 0 0 (0/0/0) 0
1 unassigned wm 0 0 (0/0/0) 0
2 backup wm 0 - 7505 16.86GB (7506/0/0) 35368272
3 - wu 0 - 0 2.30MB (1/0/0) 4712
4 - wu 2 - 7505 16.86GB (7504/0/0) 35358848
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 0 0 (0/0/0) 0
7 unassigned wm 0 0 (0/0/0) 0
partition> q
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
inquiry - show vendor, product and revision
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> l
Current Disk is unformatted.
format> disk
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000004cfa4d949,0
1. c1t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000004cfa4c545,0
2. c1t2d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000004cfa4cc35,0
3. c1t3d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000004cfa4c6d4,0
4. c1t4d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000004cfa4c5e2,0
5. c1t5d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000004cfa4bc7f,0
6. c3t0d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@0,0
7. c3t1d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@1,0
8. c3t2d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@2,0
9. c3t3d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248> (回头再看,居然正常啦?!!!!!!!)
/pci@9,700000/scsi@3,1/sd@3,0
10. c3t4d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@4,0
11. c3t5d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@5,0
12. c3t8d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@8,0
13. c3t9d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@9,0
14. c3t10d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@a,0
15. c3t11d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@b,0
16. c3t12d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@c,0
17. c3t13d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@d,0
Specify disk (enter its number)[9]: 9
selecting c3t3d0
[disk unformatted] ------------>(反复提示没有format?是不是format一下就会好呢?)
format> p
PARTITION MENU:
0 - change `0' partition
1 - change `1' partition
2 - change `2' partition
3 - change `3' partition
4 - change `4' partition
5 - change `5' partition
6 - change `6' partition
7 - change `7' partition
select - select a predefined table
modify - modify a predefined partition table
name - name the current table
print - display the current table
label - write partition map and label to the disk
!<cmd> - execute <cmd>, then return
quit
partition> p
Current partition table (original):
Total disk cylinders available: 7506 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 unassigned wm 0 0 (0/0/0) 0
1 unassigned wm 0 0 (0/0/0) 0
2 backup wm 0 - 7505 16.86GB (7506/0/0) 35368272
3 - wu 0 - 0 2.30MB (1/0/0) 4712
4 - wu 2 - 7505 16.86GB (7504/0/0) 35358848
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 0 0 (0/0/0) 0
7 unassigned wm 0 0 (0/0/0) 0
partition> q
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
inquiry - show vendor, product and revision
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> l
Current Disk is unformatted.------------>(反复提示没有format?是不是format一下就会好呢?)
format> q
[root@-a:/]# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000004cfa4d949,0
1. c1t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000004cfa4c545,0
2. c1t2d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000004cfa4cc35,0
3. c1t3d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000004cfa4c6d4,0
4. c1t4d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000004cfa4c5e2,0
5. c1t5d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000004cfa4bc7f,0
6. c3t0d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@0,0
7. c3t1d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@1,0
8. c3t2d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@2,0
9. c3t3d0 <drive not available: formatting>------------>(昏迷,退出来之后又不正常啦)
/pci@9,700000/scsi@3,1/sd@3,0
10. c3t4d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@4,0
11. c3t5d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@5,0
12. c3t8d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@8,0
13. c3t9d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@9,0
14. c3t10d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@a,0
15. c3t11d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@b,0
16. c3t12d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@c,0
17. c3t13d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@9,700000/scsi@3,1/sd@d,0
Specify disk (enter its number): 9 |
|