Chinaunix

标题: super block bad ,who can help me !!!!(要求斑竹置顶) [打印本页]

作者: 田伯光    时间: 2003-10-16 09:50
标题: super block bad ,who can help me !!!!(要求斑竹置顶)
sun-domain3#umount /disk3
sun-domain3#fsck -y /disk3

** /dev/vx/rdsk/ricedg/vol03



CANNOT READ: BLK 2001220000

CONTINUE?  yes



THE FOLLOWING SECTORS COULD NOT BE READ: 2001220000 2001220001 2001220002 2001220003



sun-domain3# newfs -Nv /dev/vx/dsk/ricedg/vol03

mkfs -F ufs -o N /dev/vx/rdsk/ricedg/vol03 2001305600 64 32 8192 1024 251 1 120 8192 t 0 -1 8 32

read error on sector 2001305599: No such device or address



sun-domain3#fsck -F ufs -o b=32 /dev/vx/rdsk/ricedg/vol03

Alternate super block location: 32.

** /dev/vx/rdsk/ricedg/vol03



CANNOT READ: BLK 2001220000

CONTINUE? y



THE FOLLOWING SECTORS COULD NOT BE READ: 2001220000 2001220001 2001220002 2001220003




作者: race    时间: 2003-10-16 10:07
标题: super block bad ,who can help me !!!!(要求斑竹置顶)
newfs -N /dev/rdsk/c0t0d0s0可以看到所有的超级块,前面的不行,可以用别的。

你的盘是用veritas管理的,能这样修坏块吗?
作者: adonis.lee    时间: 2003-10-16 10:11
标题: super block bad ,who can help me !!!!(要求斑竹置顶)
硬盘有块(不是super block)损坏,用format去恢复.
作者: milan    时间: 2003-10-16 13:32
标题: super block bad ,who can help me !!!!(要求斑竹置顶)
为什么现在都要搞特殊置顶呢
作者: 田伯光    时间: 2003-10-16 14:05
标题: super block bad ,who can help me !!!!(要求斑竹置顶)
sun-domain3#fsck -y /dev/vx/dsk/ricedg/vol03

** /dev/vx/dsk/ricedg/vol03



CANNOT READ: BLK 2001220000

CONTINUE?  yes



THE FOLLOWING SECTORS COULD NOT BE READ:

BAD SUPER BLOCK: BAD VALUES IN SUPER BLOCK

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).

format 命令来修复是否太危险了,具体应该怎么拿来修改呢?
作者: adonis.lee    时间: 2003-10-16 14:29
标题: super block bad ,who can help me !!!!(要求斑竹置顶)
# format -e
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c0t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>;
          /pci@1f,4000/scsi@3/sd@0,0
       1. c0t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>;
          /pci@1f,4000/scsi@3/sd@1,0
Specify disk (enter its number): 1
selecting c0t1d0
[disk formatted]
Warning: Current Disk has mounted partitions.


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
        scsi       - independent SCSI mode selects
        cache      - enable, disable or query SCSI disk cache
        volname    - set 8-character volume name
        !<cmd>;     - execute <cmd>;, then return
        quit
format>; re
Enter absolute block number of defect: 1002
Repair is in a mounted partition, continue? n
format>;

这是一个例子,你用"y"带替"n" 可以继续进行修复.




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2