Creating a VOB on Linux and UNIX

To create a VOB on Linux and UNIX, you use the cleartool mkvob command.

The mkvob command does the following:

Note that, depending on the platform and DevOps Code ClearCase® product you use, not all command options are available.

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:

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.

Try it!

Type this command at the system prompt of a terminal window:

cleartool mkvob -tag /tmp/your-username_case_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!