Creating a PVOB on UNIX involves the following tasks:
The following sections describe these tasks in more detail.
cleartool mkvob -tag /vobs/myproj2_pvob -nc -ucmproject /usr/vobstore/myproj2_pvob.vbs
Let us examine the command in more detail.
The -ucmproject indicates that you are creating a PVOB instead of a regular VOB.
The /vobs/myproj2_pvob tag is the name of the PVOB.
The -nc option indicates that you choose not to add a comment line. To add a comment line, use the -co option and type the comment string between quotes.
The /usr/vobstore/myproj2_pvob.vbs path specifies the location of the PVOB's storage directory. A PVOB storage directory is a directory tree that serves as the repository for the PVOB's content.
The name of the directory you are creating must match the PVOB-tag used in the preceding step.
You are going to create a PVOB in the /var/tmp/ directory.
cleartool mkvob -tag /var/tmp/your-username_cctut_ucm_pvob -co "UCM tutorial PVOB" -ucmproject /var/tmp/your-username_cctut_ucm_pvob.vbs
When successful, the system response is similar to the following:
Created versioned object base.
Host-local path: goose:/var/tmp/fhembert_cctut_ucm_pvob.vbs
Global path: /net/goose/var/tmp/fhembert_cctut_ucm_pvob.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 your
data at risk!
Do the next two steps only if you are working in MVFS and use a dynamic view.