加入收藏 | 设为首页 | Life家族 | SCMLife | RMLife | PMLife | SQALife | TESTLife | 企业VIP专区 | 中文化荣誉殿堂
 
发新话题
打印

[求助] 请教关于删除pvob的问题( 此文章被查看:1087次,被回复:7篇!! )

请教关于删除pvob的问题

实在是删除不了 stream下面的 activity

因为现在是测试使用,想把pvob删除

用这个

cleartool> rmvob z:\vobs\projects.vbs
Remove versioned object base "z:\vobs\projects.vbs"?  [no] y
cleartool: Error: Unable to remove VOBs from ClearCase LT clients.
cleartool: Error: Versioned object base "unknown" not deleted.
cleartool: Error: Trouble removing versioned object base "z:\vobs\projects.vbs".

怎么解决

----下面我改在server端运行

C:\Documents and Settings\Administrator>cleartool
cleartool> rmvob d:\ccstg\vobs\projects.vbs
Remove versioned object base "d:\ccstg\vobs\projects.vbs"?  [no] y
cleartool: Error: Unable to rename versioned object base storage directory "d:\c
cstg\vobs\projects.vbs" prior to deleting it. Possible causes:
- The VOB may still be in use by users or ClearCase server processes. (Try remov
ing the VOB later.)
- The protection of the VOB storage directory or its parent directory may prohib
it renaming. (You must have "write" permission to the parent directory and full
permission to the VOB storage directory).
cleartool: Error: Versioned object base "d:\ccstg\vobs\projects.vbs" not deleted
.
cleartool: Error: Trouble removing versioned object base "d:\ccstg\vobs\projects
.vbs".
cleartool>

[ 本帖最后由 pwder 于 2007-1-8 15:22 编辑 ]



© 本文为 pwderSCMLife 共同所有,未经同意,请勿转载 ©如该文侵犯了您的版权,请联系管理员

TOP

在rmvob之前,先把vob的tag删除
rmtag -vob
然后再试试



© 本文为 没有蛀牙SCMLife 共同所有,未经同意,请勿转载 ©如该文侵犯了您的版权,请联系管理员
i生活,i音乐!

TOP

先umount 再rmvob



© 本文为 sheng2006SCMLife 共同所有,未经同意,请勿转载 ©如该文侵犯了您的版权,请联系管理员

TOP

我在 Administration Console中把 pvob的 tag 删除了

但是还是 无法使用 rmvob 命令

© 本文为 pwder 所有,未经同意,请勿转载
©如该文侵犯了您的版权,请联系管理员

TOP

引用:
原帖由 sheng2006 于 2007-1-8 15:23 发表
先umount 再rmvob
我是 cc lt 版

怎么umount?

© 本文为 pwder 所有,未经同意,请勿转载
©如该文侵犯了您的版权,请联系管理员

TOP

我把 cc lt server 重启了一下

然后

cleartool> rmvob d:\ccstg\vobs\projects.vbs
Remove versioned object base "d:\ccstg\vobs\projects.vbs"?  [no] y
cleartool: Error: unknown style protections on d:\ccstg\vobs\projects.vbs: 数据
无效。
If the object is in the VOB's source or derived object pool, please fix it
with "cleartool checkvob -protections -pool".
For other VOB objects, please fix it with "cleartool protectvob".
Otherwise, please fix the storage directory with
  "%CLEARCASEHOME%\etc\utils\fix_prot".
cleartool: Error: Unable to rename versioned object base storage directory "d:\c
cstg\vobs\projects.vbs" prior to deleting it. Possible causes:
- The VOB may still be in use by users or ClearCase server processes. (Try remov
ing the VOB later.)
- The protection of the VOB storage directory or its parent directory may prohib
it renaming. (You must have "write" permission to the parent directory and full
permission to the VOB storage directory).
cleartool: Error: Versioned object base "d:\ccstg\vobs\projects.vbs" not deleted
.
cleartool: Error: Trouble removing versioned object base "d:\ccstg\vobs\projects
.vbs".
cleartool>

© 本文为 pwder 所有,未经同意,请勿转载
©如该文侵犯了您的版权,请联系管理员

TOP

我直接 把 pvob 和其他一些 vob的 物理路径删除了

是不是有什么后遗症?

© 本文为 pwder 所有,未经同意,请勿转载
©如该文侵犯了您的版权,请联系管理员

TOP

Why Not Use rm -rto Remove a VOB
The cleartool rmvobcommand:
Unregisters the VOB from vob-tag and vob-object registries.
Kills the VOB server process.
Deletes the VOB storage directory.

The rm -rcommand only removes the VOB storage directory.
Example:
%cleartool lsvob '*test*'* /tmp/testvob /net/mars/usr1/test.vob public
%rm -r /net/mars/usr1/test.vob
% cleartool lsvob '*test*'* /tmp/testvob /net/mars/usr1/test.vob public
ClearCase does not know that the VOB is gone!

Although it is possible to remove a VOB storage directory, you must own the directory to do so. This usually occurs in a situation where a user has a private VOB storage directory in his/her home directory and the home directory is removed due to termination. When this occurs, the registry still lists the VOB as if it exists, even though the data cannot be accessed. In this case, it is necessary to manually clean up after the incorrect VOB removal.

[ 本帖最后由 sheng2006 于 2007-1-8 16:04 编辑 ]

© 本文为 sheng2006 所有,未经同意,请勿转载
©如该文侵犯了您的版权,请联系管理员

TOP

发新话题