免费注册 查看新帖 |

Chinaunix

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

onspaces 问题,为什么被占用了?谢谢! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-07-15 20:50 |只看该作者 |倒序浏览
本帖最后由 price123 于 2010-07-15 20:52 编辑

[informix@bak etc]$ onspaces -c -d plogdbs -p /chunk/chunk01 -o 300000 -s 300000
The chunk specified already exists.

[informix@bak etc]$ onstat -d

IBM Informix Dynamic Server Version 11.50.FC5     -- On-Line -- Up 00:16:53 -- 778368 Kbytes

Dbspaces
address          number   flags      fchunk   nchunks  pgsize   flags    owner    name
1297bc028        1        0x40001    1        1        4096     N  B     informix rootdbs
1 active, 2047 maximum

Chunks
address          chunk/dbs     offset     size       free       bpages     flags pathname
1297bc1c0        1      1      0          256891     108                   PO-B- /chunk/chunk01
1 active, 32766 maximum

NOTE: The values in the "size" and "free" columns for DBspace chunks are
      displayed in terms of "pgsize" of the DBspace to which they belong.

Expanded chunk capacity mode: always

[informix@bak etc]$

论坛徽章:
11
金牛座
日期:2015-03-19 16:56:22数据库技术版块每日发帖之星
日期:2016-08-02 06:20:00数据库技术版块每日发帖之星
日期:2016-04-24 06:20:00数据库技术版块每日发帖之星
日期:2016-04-13 06:20:00IT运维版块每日发帖之星
日期:2016-04-13 06:20:00数据库技术版块每日发帖之星
日期:2016-02-03 06:20:00数据库技术版块每日发帖之星
日期:2015-08-06 06:20:00季节之章:春
日期:2015-03-27 15:54:57羊年新春福章
日期:2015-03-27 15:54:37戌狗
日期:2015-03-19 16:56:41数据库技术版块每日发帖之星
日期:2016-08-18 06:20:00
2 [报告]
发表于 2010-07-15 23:15 |只看该作者
onstat -d输出的大小是page
onspaces中的是KB~
故你的onspaces中的-o 太小了~~

论坛徽章:
0
3 [报告]
发表于 2010-07-17 23:23 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
4 [报告]
发表于 2010-07-18 15:56 |只看该作者
谢谢,回答。原因我找到了,是 300000 参数计算有误,前面的已用到超过这个数值了。 看size :256891

论坛徽章:
0
5 [报告]
发表于 2010-08-03 18:27 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
6 [报告]
发表于 2010-08-24 09:29 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
7 [报告]
发表于 2010-08-26 14:10 |只看该作者
$ onspaces -c -d plogdbs -p /chunk/chunk01 -o 300000 -s 300000
The chunk specified already exists.
...
price123 发表于 2010-07-15 20:50



   用戶建立plogdbs時,-p所引用的chunk的路徑已經被rootdbs占用。更改-p參數所對應的chunk路徑即可..
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP