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 编辑 ]