shgedushwf 发表于 2007-09-04 17:22

chunk问题请教

现有两个数据空间dbs1,dbs2,我用onmonitor在dbs2中加了一个ifx118的chunk,而后又在dbs1中加了一个同名的chunk,现用onstat -d 查看时,ifx118有2个,其中dbs2中的那个状态为pd.做ontape -s -L 0 时,提示"Archive failed - DBspace dbs2 is disabled.".我本想将dbs2删除,但提示not empty 不能删除.现dbs2中存放有一测试资料库,删除此资料库时,提示" 311: Cannot open system catalog (systables).
   155: ISAM error: Primary and Mirror chunks are bad
",有什么办法可以解决此问题?

czw1413_cn 发表于 2007-09-04 18:29

shgedushwf 发表于 2007-09-05 09:59

感谢二楼的指点,但这几步我早就执行过.
执行onspaces -d dbs2 -p ifx118 -o offsetsize 时提示:WARNING:Dropping a chunk.
Do you really want to continue? (y/n)y
Chunk not dropped.
ISAM error:No such chunk

执行:oncheck -pe dbs2 时提示:
DBspace Usage Report: dbs2                Owner: informixCreated: 10/13/2004

我现知道dbs2中存的数据,dbaccess删除时提示:
   311: Cannot open system catalog (systables).
   155: ISAM error: Primary and Mirror chunks are bad

liaosnet 发表于 2007-09-05 13:09

用原備份恢複........然後重新操作.

大梦 发表于 2007-09-05 15:24

恢复!

wkent5397 发表于 2007-09-05 16:14

zhangshebao 发表于 2007-09-05 20:09

楼主提供的信息了少了点.
onstat -d 贴上来看看.如果chunk有符号链接,也ls -l上来看看,如果使用了硬链接,提供相关文件的ls -il
一般chunk都用绝对路径,怎么你只提供了个不含路径的文件名?

wkent5397 发表于 2007-09-06 11:32

zhangshebao 发表于 2007-09-06 23:15

我试着改系统表,不成功,没权限改或删.
你怎么全用的文件做chunk啊,这样性能很差的.
最好用符号链接指向裸设备(r开头的)做chunk

wkent5397 发表于 2007-09-07 09:21

页: [1] 2
查看完整版本: chunk问题请教