To create a VOB on UNIX, you use the cleartool mkvob command.
The mkvob command does the following:
Note that, depending on the platform and Rational® ClearCase® product you use, not all command options are available. Also, if you use Rational ClearCase LT, you must issue the command on the Rational ClearCase LT server host.
Creating the VOB with the mkvob command does not automatically mount the VOB. To mount the VOB, use the mount command.
To create a VOB using the mkvob command, do the following:
cleartool mkvob -tag vob-tag -comment comment -tcomment tag-comment -stgloc vob-stgloc-name
Let's examine what happens when you issue the command as shown with these parameters.
Unless you use the -public option, the VOBs you create are private VOBs.
The preceding is just a sample of available options to create a VOB with the mkvob command.
Type this command at the system prompt of a terminal window:
cleartool mkvob -tag /tmp/your-username_clearcase_tutorial -tcomment "tutorial exercise VOB" -comment "initial creation of the tutorial VOB" ~/your-username_clearcase_tutorial.vbs
For example: cleartool mkvob -tag /tmp/jsmith_clearcase_tutorial -tcomment "tutorial exercise VOB" -comment "initial creation of the tutorial VOB" ~/jsmith_clearcase_tutorial.vbs
When successful, the system response is similar to the following:
Created versioned object base.
Host-local path: goose:/export/home/fhembert/fhembert_clearcase_tutorial.vbs
Global path: /net/goose/export/home/fhembert_clearcase_tutorial.vbs
VOB ownership:
owner stellar.com/fhembert
group stellar.com/user
VOBs have special data backup considerations. For more information on how to
back up your VOB properly, see the documentation for administering ClearCase.
If the backups aren't done properly, you are putting you data at risk!