- 论坛徽章:
- 0
|
有一个V440机器,有4个147G的硬盘,OS是solaris8
出现问题如下,从硬盘启动的时候,无法mount第一块硬盘,并且使用format,无法发现第一块硬盘,使用prtvtoc检测,c1t0d0s0和c1t0d0s1的flags为10(read-only);但是如果通过cdrom启动,就是正常的,format和prtvtoc都能得到正确的结果;如果在ok下,用probe-scsi-all,也能检测到4个硬盘
#########################################################
从硬盘启动,出现如下错误:
/dev/dsk/c1t0d0s1: Read-only file system
The / file system (/dev/rdsk/c1t0d0s0) is being checked.
/dev/rdsk/c1t0d0s0: (NO WRITE ACCESS)
/dev/rdsk/c1t0d0s0: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
fsck -F ufs /dev/rdsk/c1t0d0s0
** /dev/rdsk/c1t0d0s0 (NO WRITE)
BAD SUPER BLOCK: MAGIC NUMBER WRONG
USE AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION;
eg. fsck [-F ufs] -o b=# [special ...]
where # is the alternate super block. SEE fsck_ufs(1M).
使用fsck -F ufs -o b=993312 /dev/dsk/cit0d0s0,出现如下错误
fsck -F ufs -o b=993312
Alternate super block location: 993312.
** /dev/rdsk/c1t0d0s0 (NO WRITE)
BAD SUPER BLOCK: MAGIC NUMBER WRONG
USE AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION;
eg. fsck [-F ufs] -o b=# [special ...]
where # is the alternate super block. SEE fsck_ufs(1M).
Alternate super block location: 993312.
** /dev/rdsk/c1t0d0s3 (NO WRITE)
CANNOT READ: BLK 993312
CONTINUE? no
Program terminated
Alternate super block location: 993312.
** /dev/rdsk/c1t0d0s4 (NO WRITE)
CANNOT READ: BLK 993312
CONTINUE? no
Program terminated
Alternate super block location: 993312.
** /dev/rdsk/c1t0d0s6 (NO WRITE)
CANNOT READ: BLK 16
CONTINUE? no
Program terminated
Alternate super block location: 993312.
** /dev/rdsk/c1t0d0s5 (NO WRITE)
CANNOT READ: BLK 993312
CONTINUE? no
Program terminated
Alternate super block location: 993312.
** /dev/rdsk/c1t0d0s7 (NO WRITE)
CANNOT READ: BLK 16
CONTINUE? no
Program terminated
Alternate super block location: 993312.
** /dev/rdsk/c1t1d0s3
BAD SUPER BLOCK: MAGIC NUMBER WRONG
USE AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION;
eg. fsck [-F ufs] -o b=# [special ...]
where # is the alternate super block. SEE fsck_ufs(1M).
Alternate super block location: 993312.
** /dev/rdsk/c1t1d0s0
BAD SUPER BLOCK: MAGIC NUMBER WRONG
USE AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION;
eg. fsck [-F ufs] -o b=# [special ...]
where # is the alternate super block. SEE fsck_ufs(1M).
AVAILABLE DISK SELECTIONS:
0. c1t1d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@1f,700000/scsi@2/sd@1,0
1. c1t2d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@1f,700000/scsi@2/sd@2,0
2. c1t3d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@1f,700000/scsi@2/sd@3,0
如
#############################################################
从cdrom启动:
format
0. c1t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@1f,700000/scsi@2/sd@0,0
1. c1t1d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@1f,700000/scsi@2/sd@1,0
2. c1t2d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@1f,700000/scsi@2/sd@2,0
3. c1t3d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@1f,700000/scsi@2/sd@3,0
# prtvtoc /dev/dsk/c1t0d0s0
* /dev/dsk/c1t0d0s0 partition map
*
* Dimensions:
* 512 bytes/sector
* 848 sectors/track
* 24 tracks/cylinder
* 20352 sectors/cylinder
* 14089 cylinders
* 14087 accessible cylinders
*
* Flags:
* 1: unmountable
* 10: read-only
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
0 2 00 0 10257408 10257407
1 3 01 10257408 16403712 26661119
2 5 00 0 286698624 286698623
3 7 00 26661120 12292608 38953727
4 0 00 38953728 24585216 63538943
5 0 00 63538944 20494464 84033407
6 8 00 84033408 122885376 206918783
7 0 00 206918784 79779840 286698623
#############################################################
在OK下:
probe-scsi-all
This command may hang the system if a Stop-A or halt command
has been executed. Please type reset-all to reset the system
before executing this command.
Do you wish to continue? (y/n) y
/pci@1f,700000/scsi@2,1
/pci@1f,700000/scsi@2
Target 0
Unit 0 Disk FUJITSU MAX3147NCSUN146G1503 286739329 Blocks, 140009 MB
Target 1
Unit 0 Disk FUJITSU MAX3147NCSUN146G1503 286739329 Blocks, 140009 MB
Target 2
Unit 0 Disk FUJITSU MAX3147NCSUN146G1503 286739329 Blocks, 140009 MB
Target 3
Unit 0 Disk FUJITSU MAX3147NCSUN146G1503 286739329 Blocks, 140009 M
请教各位高手,到底是什么原因导致从硬盘启动无法发现第一个硬盘? |
|