onspaces命令详解

onspaces 应用程序提供以下功能:

  1:创建BLOBSPACE 或者 DBSPACE

  2:删除BLOBSPACE 或者 DBSPACE

  3:增加chunk

  4:修改chunk的状态

 

参数详解如下:

 -a :add a chunk to a DBSpace BLOBspace or SBLOBspace    增加chunk。

   onspaces -a <spacename> -p <path> -o <offset> -s <size> [-m <path> <offset>]

 -c :create a DBSpace BLOBspace or SBLOBspace    创建数据空间。 

   onspaces -c -d <DBSpace> [-k <pagesize>] [-t] -p <path> -o <offset> -s <size> [-m <path> <offset>]

   onspaces -b <BLOBspace> -g <pagesize> -p <path> -o <offset> -s <size>  [-m <path> <offset>]

   onspaces -S <SBLOBspace> [-t] -p <path> -o <offset> -s <size>  [-m <path> <offset>]

   onspaces -x <EXTspace> -l <location>

 -d :drop a DBSpace BLOBspace  SBLOBspace extsapce or chunk

   onspaces -d <spacename> [-p <path> -o <offset>] [-t] [-y]

 -f :change dataskip default for specified dbspaces。 设置指定dbspace的Dataskip值

   onspaces -f off [dbspace-list] on [dbspace-list]

 -m :add mirroring to an existing dbspace blobspace or sblobspace。对指定数据空间进行镜像

   onspaces -m <spacename> -p <path> -o <offset> -m <path> <offset> [-y]

   onspaces -m <spacename> -f <filename>

 -r :turn mirroring off for dbspace blobspace or sblobspace   结束镜像

   onspaces -r <spacename> [-y]

 -s :change the status of a chunk  改变镜像块的状态

   onspaces -s <spacename> -p <path> -o <offset> {-O | -D} [-y]

   注释:改变镜像块的状态,-D选项将其关闭,-O 选项将其重开并置于在线状态。

 -ren :rename a dbspace blobspace sblobspace or extspace  重命名

   onspaces -ren <spacename> -n <newname>

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值