免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3628 | 回复: 1
打印 上一主题 下一主题

修复超级块 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-06-23 13:31 |只看该作者 |倒序浏览
现在公司的机器是Solaris系统,是挂载磁盘阵列的,但是磁盘阵列是一个,没有备份,现在的情况是磁盘阵列上的超级块坏了,请问各位大侠,有什么高招修复下?  能把数据导出来?

这是我从机器上COPY下来的信息,大家帮忙看下
# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c1t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
          /pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w21000004cf6f48bf,0
       1. c2t5d0 <Symbios-StorEDGEA1000-0003 cyl 34690 alt 2 hd 64 sec 64>
          /pseudo/rdnexus@2/rdriver@5,0
Specify disk (enter its number):





format> verify

Primary label contents:

Volume name = <        >
ascii name  = <Symbios-StorEDGEA1000-0003 cyl 34690 alt 2 hd 64 sec 64>
pcyl        = 34692
ncyl        = 34690
acyl        =    2
nhead       =   64
nsect       =   64
Part      Tag    Flag     Cylinders         Size            Blocks
  0       root    wm       0 -    63      128.00MB    (64/0/0)       262144
  1       swap    wu      64 -   127      128.00MB    (64/0/0)       262144
  2     backup    wu       0 - 34689       67.75GB    (34690/0/0) 142090240
  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     128 - 34689       67.50GB    (34562/0/0) 141565952
  7 unassigned    wm       0                0         (0/0/0)             0
  
  
# mount -F ufs /dev/dsk/c2t5d0s0 /data
mount: the state of /dev/dsk/c2t5d0s0 is not okay
        and it was attempted to be mounted read/write
mount: Please run fsck and try again



  
# fsck -F ufs /dev/dsk/c2t5d0s0
** /dev/dsk/c2t5d0s0

CANNOT READ: BLK 142069152
CONTINUE? y

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

论坛徽章:
0
2 [报告]
发表于 2007-06-23 13:43 |只看该作者
fsck -o b=32 /dev/rdsk/cxtxdxsx
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP