23.3 Creating a VOB on NAS

We recommend creating one or more VOB storage locations on your NAS device and then using the mkvob -stgloc option to create new VOBs with storage on the NAS device. The following command would create a VOB with storage in the ccnasvobstg storage location created in Creating a Storage Location on NAS:

cleartool mkvob -tag /vobs/nasvob -stgloc ccnasvobstg

You can also use the mkvob command to create a VOB that has all of its storage on a NAS device as long as you specify the host name, global path, host-local path, and VOB-storage pathname. For example, the following command creates a new VOB in a UNIX region with the VOB-tag nasvob. The VOB is served by a vob_server process running on ClearCase host ccvobsvr1 and has all of its storage on NAS device mounted by ccvobsvr1 at /net/nasdevice.

cleartool mkvob -tag /vobs/nasvob -host ccvobsvr1 \
-gpath /net/nasdevice/vobstg/nasvob.vbs -hpath /net/nasdevice/vobstg/nasvob.vbs \
/net/nasdevice/vobstg/nasvob.vbs

To create a similar VOB in a Windows region with a Windows VOB server host:

cleartool mkvob -tag \nasvob -host ccvobsvr2 -gpath \\nasdevice\vobstg\nasvob.vbs ^
-hpath \\nasdevice\vobstg\nasvob.vbs \\nasdevice\vobstg\nasvob.vbs