onspaces 问题,为什么被占用了?谢谢!
本帖最后由 price123 于 2010-07-15 20:52 编辑$ onspaces -c -d plogdbs -p /chunk/chunk01 -o 300000 -s 300000
The chunk specified already exists.
$ onstat -d
IBM Informix Dynamic Server Version 11.50.FC5 -- On-Line -- Up 00:16:53 -- 778368 Kbytes
Dbspaces
address number flags fchunk nchunkspgsize flags owner name
1297bc028 1 0x40001 1 1 4096 NB 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
$ onstat -d输出的大小是page
onspaces中的是KB~:sleepy::sleepy:
故你的onspaces中的-o 太小了~~ 谢谢,回答。原因我找到了,是 300000 参数计算有误,前面的已用到超过这个数值了。 看size :256891 $ onspaces -c -d plogdbs -p /chunk/chunk01 -o 300000 -s 300000
The chunk specified already exists.
...
price123 发表于 2010-07-15 20:50 http://bbs2.chinaunix.net/images/common/back.gif
用戶建立plogdbs時,-p所引用的chunk的路徑已經被rootdbs占用。更改-p參數所對應的chunk路徑即可..
页:
[1]