免费注册 查看新帖 |

Chinaunix

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

磁盘错误,请教高手. [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-08-18 13:12 |只看该作者 |倒序浏览
Informix 出现下面的错误, 存储设备是阵列A1000, 做的是RAID5, 现在一个盘有告警.
如果换掉的话,会影响数据吗?
用的是裸设备的方式.

0:57:10  Informix Dynamic Server Version 7.31.UC3    Software Serial Number
10:57:10  Assert Failed: chunk failed sanity check

10:57:10  Informix Dynamic Server Version 7.31.UC3   
10:57:10   Who: Session(1, informix@nspserver, 0, 367869976)
                Thread(7, main_loop(), 15eac018, 1)
                File: rspartn.c Line: 7370
10:57:10   Results: Chunk 1 is being taken OFFLINE.
10:57:10   Action: Restore chunk from archive. If this is a temporary dbspace
        chunk, drop and add the dbspace to enable it.
10:57:11   See Also: /tmp/af.3efc586
10:57:11  I/O error, Primary Chunk '/opt/informix/chunks/rootchunk1' -- Offline (sanity)
oninit: Cannot open chunk '/opt/informix/chunks/rootchunk1'. errno = 2
oninit: Fatal error in shared memory initialization
10:57:11  Informix Dynamic Server Stopped.
10:57:11  mt_shm_remove: WARNING: may not have removed all/correct segments

论坛徽章:
0
2 [报告]
发表于 2004-08-18 13:59 |只看该作者

磁盘错误,请教高手.

onstat -d 看看
如果是rootdbs的话,很严重,用备份来恢复吧。

论坛徽章:
0
3 [报告]
发表于 2004-08-18 14:03 |只看该作者

磁盘错误,请教高手.

不行呀,老大.是硬件问题吗?

$ onstat -d
shared memory not initialized for INFORMIXSERVER 'dmadbs'
$

论坛徽章:
0
4 [报告]
发表于 2004-08-18 14:09 |只看该作者

磁盘错误,请教高手.

啊?rootchunk1应该是有问题了。你在'/opt/informix/chunks/目录下用“lc -l rootchunk1”看看是具体链接的是什么盘?该盘的其他分区还能用不?不过估计是硬盘坏了。

论坛徽章:
0
5 [报告]
发表于 2004-08-18 14:10 |只看该作者

磁盘错误,请教高手.

报的是sanity错误,chunk已经坏了~~~~
raid5换个硬盘数据不会受到影响~~~

论坛徽章:
0
6 [报告]
发表于 2004-08-18 14:15 |只看该作者

磁盘错误,请教高手.

看来只好换硬盘了

# ls -l rootchunk1
lrwxrwxrwx   1 informix informix      17 2001  12ÔÂ 21 rootchunk1 ->; /dev/dsk/c1t5d2s0
# format
Searching for disks...done

c1t5d0: configured with capacity of 56.25GB
c1t5d1: configured with capacity of 42.82GB
c1t5d2: configured with capacity of 14.06GB
c1t5d3: configured with capacity of 14.06GB
c1t5d4: configured with capacity of 14.06GB
c1t5d5: configured with capacity of 14.06GB
c1t5d6: configured with capacity of 14.06GB


AVAILABLE DISK SELECTIONS:
       0. c0t10d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>;
          /sbus@3,0/SUNW,fas@3,8800000/sd@a,0
       1. c0t11d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>;
          /sbus@3,0/SUNW,fas@3,8800000/sd@b,0
       2. c1t5d0 <Symbios-StorEDGEA1000-0301 cyl 28798 alt 2 hd 64 sec 64>;
          /pseudo/rdnexus@1/rdriver@5,0
       3. c1t5d1 <Symbios-StorEDGEA1000-0301 cyl 21923 alt 2 hd 64 sec 64>;
          /pseudo/rdnexus@1/rdriver@5,1
       4. c1t5d2 <Symbios-StorEDGEA1000-0301 cyl 7198 alt 2 hd 64 sec 64>;
          /pseudo/rdnexus@1/rdriver@5,2
       5. c1t5d3 <Symbios-StorEDGEA1000-0301 cyl 7198 alt 2 hd 64 sec 64>;
          /pseudo/rdnexus@1/rdriver@5,3
       6. c1t5d4 <Symbios-StorEDGEA1000-0301 cyl 7198 alt 2 hd 64 sec 64>;
          /pseudo/rdnexus@1/rdriver@5,4
       7. c1t5d5 <Symbios-StorEDGEA1000-0301 cyl 7198 alt 2 hd 64 sec 64>;
          /pseudo/rdnexus@1/rdriver@5,5
       8. c1t5d6 <Symbios-StorEDGEA1000-0301 cyl 7198 alt 2 hd 64 sec 64>;
          /pseudo/rdnexus@1/rdriver@5,6
Specify disk (enter its number): 4
selecting c1t5d2
[disk unformatted]
Disk not labeled.  Label it now?

论坛徽章:
0
7 [报告]
发表于 2004-08-18 14:18 |只看该作者

磁盘错误,请教高手.

看来只能换磁盘了.

# ls -l rootchunk1
lrwxrwxrwx   1 informix informix      17 2001  12&Ocirc;&Acirc; 21 rootchunk1 ->; /dev/dsk/c1t5d2s0

# format
Searching for disks...done

c1t5d0: configured with capacity of 56.25GB
c1t5d1: configured with capacity of 42.82GB
c1t5d2: configured with capacity of 14.06GB
c1t5d3: configured with capacity of 14.06GB
c1t5d4: configured with capacity of 14.06GB
c1t5d5: configured with capacity of 14.06GB
c1t5d6: configured with capacity of 14.06GB


AVAILABLE DISK SELECTIONS:
       0. c0t10d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>;
          /sbus@3,0/SUNW,fas@3,8800000/sd@a,0
       1. c0t11d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>;
          /sbus@3,0/SUNW,fas@3,8800000/sd@b,0
       2. c1t5d0 <Symbios-StorEDGEA1000-0301 cyl 28798 alt 2 hd 64 sec 64>;
          /pseudo/rdnexus@1/rdriver@5,0
       3. c1t5d1 <Symbios-StorEDGEA1000-0301 cyl 21923 alt 2 hd 64 sec 64>;
          /pseudo/rdnexus@1/rdriver@5,1
       4. c1t5d2 <Symbios-StorEDGEA1000-0301 cyl 7198 alt 2 hd 64 sec 64>;
          /pseudo/rdnexus@1/rdriver@5,2
       5. c1t5d3 <Symbios-StorEDGEA1000-0301 cyl 7198 alt 2 hd 64 sec 64>;
          /pseudo/rdnexus@1/rdriver@5,3
       6. c1t5d4 <Symbios-StorEDGEA1000-0301 cyl 7198 alt 2 hd 64 sec 64>;
          /pseudo/rdnexus@1/rdriver@5,4
       7. c1t5d5 <Symbios-StorEDGEA1000-0301 cyl 7198 alt 2 hd 64 sec 64>;
          /pseudo/rdnexus@1/rdriver@5,5
       8. c1t5d6 <Symbios-StorEDGEA1000-0301 cyl 7198 alt 2 hd 64 sec 64>;
          /pseudo/rdnexus@1/rdriver@5,6
Specify disk (enter its number): 4
selecting c1t5d2
[disk unformatted]
Disk not labeled.  Label it now? no

论坛徽章:
0
8 [报告]
发表于 2004-08-18 14:22 |只看该作者

磁盘错误,请教高手.

论坛老出错, 贴了两次,不好意思.

# ls -l rootchunk1
lrwxrwxrwx   1 informix informix      17 2001  12&Ocirc;&Acirc; 21 rootchunk1 ->; /dev/dsk/c1t5d2s0
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP