2007-6-17 16:18
luweinet
solrais通过scsi连接3S9800存储问题
有台sun v490的机器,solaris9 ,通过scsi连接3s9800存储(国产货)
划好raid,lun,map以后vi /kernel/drv/sd.conf
使他能认到超过足够的lun...
boot -r 后发现,format是认到lun了,但是format大于2t的那个,
[font=宋体][size=10.5pt][color=#000000]format > partltion[/color][/size][/font]
[font=宋体][size=10.5pt][color=#000000]提示不可识别的type[/color][/size][/font]
[font=宋体][size=10.5pt][font=宋体][size=10.5pt][color=#000000]format > type[/color][/size][/font][/size][/font]
[font=宋体][size=10.5pt][font=宋体][size=10.5pt][color=#000000]0 Autoconfigure[/color][/size][/font][/size][/font]
[font=宋体][size=10.5pt][font=宋体][size=10.5pt][color=#000000]1 Other[/color][/size][/font][/size][/font]
[font=宋体][size=10.5pt][font=宋体][size=10.5pt][color=#000000]选0退出,[/color][/size][/font][/size][/font]
[font=宋体][size=10.5pt][font=宋体][size=10.5pt][color=#000000]other则[/color][/size][/font][/size][/font]
[font=宋体][size=10.5pt][font=宋体][size=10.5pt]提示 enter jts Enter Maxinum Number Of LBAS
number:[/size][/font][/size][/font]
[font=宋体][size=10.5pt]
[/size][/font]
[font=宋体][size=10.5pt]
[/size][/font]
[font=宋体][size=10.5pt][font=宋体][size=10.5pt]开始怀疑是否大于2t的问题,后来换个小的[/size][/font][/size][/font]
[font=宋体][size=10.5pt][font=宋体][size=10.5pt]却又变成了提示要球输入cycle..什么的然后一堆东西要手动输入[/size][/font][/size][/font]
[font=宋体][size=10.5pt]
[/size][/font]
[font=宋体][size=10.5pt][font=宋体][size=10.5pt]iostat -El [/size][/font][/size][/font]
[font=宋体][size=10.5pt][font=宋体][size=10.5pt]能识别硬盘为3s9800[/size][/font][/size][/font]
[font=宋体][size=10.5pt]
[/size][/font]
[font=宋体][size=10.5pt]
[/size][/font][font=宋体][size=10.5pt][font=宋体][size=10.5pt]这是scsi卡驱动问题还是?阵列问题?..[/size][/font][/size][/font]
[font=宋体][size=10.5pt]
[/size][/font][font=宋体][size=10.5pt][font=宋体][size=10.5pt][color=#000000][/color][/size][/font][/size][/font]
2007-6-22 11:35
luweinet
下面lun<800G,并且手工指定cylinders,sec等...但还是报错,回公司。再想想还有什么办法
[color=Red]所有信息[/color]
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w21000014c3ca9536,0
1. c1t1d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w21000014c3ca8f39,0
2. c2t1d0 <drive not available>
/pci@8,600000/scsi@1/sd@1,0
3. c2t1d1 <drive not available>
/pci@8,600000/scsi@1/sd@1,1
4. c2t1d2 <drive not available>
/pci@8,600000/scsi@1/sd@1,2
Specify disk (enter its number): 4
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. SUN146G
19. other
Specify disk type (enter its number): 19
Enter number of data cylinders: 65535
Enter number of alternate cylinders[2]:
Enter number of physical cylinders[65537]:
Enter number of heads: 24
Enter physical number of heads[default]:
Enter number of data sectors/track: 233
Enter number of physical sectors/track[default]:
Enter rpm of drive[3600]: 10000
Enter format time[default]: 5
Enter cylinder skew[default]:
Enter track skew[default]:
Enter tracks per zone[default]:
Enter alternate tracks[default]:
Enter alternate sectors[default]:
Enter cache control[default]:
Enter prefetch threshold[default]:
Enter minimum prefetch[default]:
Enter maximum prefetch[default]:
Enter disk type name (remember quotes): 3S9800
selecting c2t1d2
[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 (3S9800):
Total disk cylinders available: 65535 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 46 128.33MB (47/0/0) 262824
1 swap wu 47 - 93 128.33MB (47/0/0) 262824
2 backup wu 0 - 65534 174.75GB (65535/0/0) 366471720
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 usr wm 94 - 65534 174.50GB (65441/0/0) 365946072
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> label
Current Disk is unformatted.
format> format
Ready to format. Formatting cannot be interrupted
and takes 10597 minutes (estimated). Continue? yes
Beginning format. The current time is Fri Jun 22 10:33:52 2007
Formatting...
done
Warning: Current geometry overshoots actual geometry of disk
Continue labelling disk? yes
Warning: error writing VTOC.
Warning: error reading backup label.
Warning: error reading backup label.
Warning: error reading backup label.
Warning: error reading backup label.
Warning: error reading backup label.
Warning: no backup labels
Verifying media...
pass 0 - pattern = 0xc6dec6de
0/0/0
Warning:Drive may be reserved or has been removed, aborting surface analysis.
Warning: Current geometry overshoots actual geometry of disk
Continue labelling disk? no
format> quit
#
# [color=Red]iostat -E[/color]
sd4 Soft Errors: 7 Hard Errors: 0 Transport Errors: 1
Vendor: 3S9800 Product: Revision: 1.04 Serial No:
Size: 2099.94GB <2099937017856 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 7 Predictive Failure Analysis: 0
sd36 Soft Errors: 7 Hard Errors: 0 Transport Errors: 1
Vendor: 3S9800 Product: Revision: 1.04 Serial No:
Size: 1048.58GB <1048576000000 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 7 Predictive Failure Analysis: 0
sd45 Soft Errors: 7 Hard Errors: 0 Transport Errors: 1
Vendor: 3S9800 Product: Revision: 1.04 Serial No:
Size: 751.37GB <751367618560 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 7 Predictive Failure Analysis: 0
ssd0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: SEAGATE Product: ST314670FSUN146G Revision: 055A Serial No: 061944DH9N
Size: 146.80GB <146800115712 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
ssd1 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: SEAGATE Product: ST314670FSUN146G Revision: 055A Serial No: 061944DKMT
Size: 146.80GB <146800115712 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
#[color=DarkGreen] cfgadm -al[/color]
Ap_Id Type Receptacle Occupant Condition
c0 scsi-bus connected unconfigured unknown
c2 scsi-bus connected configured unknown
[color=DarkGreen]c2::dsk/c2t1d0 disk connected configured unknown[/color]
[color=DarkGreen]c2::dsk/c2t1d1 disk connected configured unknown[/color]
[color=DarkGreen]c2::dsk/c2t1d2 disk connected configured unknown[/color]
[color=Red]demsg about lun.[/color]
Jun 22 10:58:40 sun490 genunix: [ID 936769 kern.info] se0 is /pci@9,700000/ebus@1/serial@1,400000
Jun 22 10:58:41 sun490 scsi: [ID 193665 kern.info] sd4 at mpt0: target 1 lun 0
Jun 22 10:58:41 sun490 genunix: [ID 936769 kern.info] sd4 is /pci@8,600000/scsi@1/sd@1,0
Jun 22 10:58:42 sun490 scsi: [ID 193665 kern.info] sd36 at mpt0: target 1 lun 1
Jun 22 10:58:42 sun490 genunix: [ID 936769 kern.info] sd36 is /pci@8,600000/scsi@1/sd@1,1
Jun 22 10:58:42 sun490 scsi: [ID 107833 kern.warning] WARNING: /pci@8,600000/scsi@1/sd@1,1 (sd36):
Jun 22 10:58:42 sun490 Corrupt label; wrong magic number
Jun 22 10:58:42 sun490 scsi: [ID 193665 kern.info] sd45 at mpt0: target 1 lun 2
Jun 22 10:58:42 sun490 genunix: [ID 936769 kern.info] sd45 is /pci@8,600000/scsi@1/sd@1,2
Jun 22 10:58:42 sun490 scsi: [ID 107833 kern.warning] WARNING: /pci@8,600000/scsi@1/sd@1,2 (sd45):
Jun 22 10:58:42 sun490 Corrupt label; wrong magic number
Jun 22 11:00:27 sun490 scsi: [ID 107833 kern.warning] WARNING: /pci@8,600000/scsi@1/sd@1,1 (sd36):
Jun 22 11:00:27 sun490 Corrupt label; wrong magic number
Jun 22 11:00:30 sun490 scsi: [ID 107833 kern.warning] WARNING: /pci@8,600000/scsi@1/sd@1,2 (sd45):
Jun 22 11:00:30 sun490 Corrupt label; wrong magic number
Jun 22 11:08:52 sun490 scsi: [ID 107833 kern.warning] WARNING: /pci@8,600000/scsi@1/sd@1,2 (sd45):
[[i] 本帖最后由 luweinet 于 2007-6-22 11:37 编辑 [/i]]