Instructions to restore VOBs from tapes

Note: these instructions do not apply to our current vobs!

This document describes how to restore ClearCase VOBs from tapes that include several tar-format archives. These VOBs were used for TMS-OS development in Kilo. Most of tools used and all source code can be found from these tapes. Below are instructions how to mount VOBs again. Note that all software libraries are removed from "kilovob" (they were huge). Also there are some small directories that contain files that are not important:

	/lun0/backup_log
	/lun0/disc3
	/lun1/backup_log
	/lun1/disc2
	/lun1/users
	/lun2/backup_log
	/lun2/disc4
	/lun2/viewstore
	/lun3/backup_log
	/lun3/tmp

You should know ClearCase well to follow these instructions.

SYSTEM

Vob server was:

	HP-UX jeeves A.09.01 A 9000/735 2008595320 two-user license

ClearCase version:

	ClearCase version 2.0.2 (Tue Mar  7 00:36:41 EST 1995)
	patch 2.0.3-43 (Thu Oct 12 09:36:53 EET 1995)
	@(#) MVFS Release 2.0.2 (Fri Feb 17 03:49:57 EST 1995)
	cleartool version 2.0.3+ (Fri Sep 15 08:08:45 EDT 1995)

VOBS

Following VOBs were used in TMS-OS development:

* /vob/tms-os/externsw /nfs/jeeves/lun3/vobs/tms-os/externsw.vbs public
* /vob/tms-os/cpdvob   /nfs/jeeves/lun1/vobs/tms-os/cpd.vbs public
* /vob/tms-os/kilovob  /nfs/jeeves/lun1/vobs/tms-os/kilo.vbs public
* /vob/tms-os/experimental /nfs/jeeves/lun3/vobs/tms-os/experimental.vbs public
* /vob/tms-os/tools    /nfs/jeeves/lun3/vobs/tms-os/tools.vbs public
* /vob/tms-os/test_cases /nfs/jeeves/lun3/vobs/tms-os/test_cases.vbs public
* /vob/tms-os/scm      /nfs/jeeves/lun3/vobs/tms-os/scm.vbs public
* /vob/tms-os/cpdapps  /nfs/jeeves/lun3/vobs/tms-os/cpdapps.vbs public
* /vob/tms-os/qap      /nfs/jeeves/lun3/vobs/tms-os/qap.vbs public
* /vob/tms-os/coreProcs /nfs/jeeves/lun3/vobs/tms-os/coreProcs.vbs public
* /vob/tms-os/system_apps /nfs/jeeves/lun3/vobs/tms-os/system_apps.vbs public

NOTE: Other VOBs that are on tapes were not used in TMS-OS development.

Compiler tools were on /vob/tms-os/tools, all sources in /vob/tms-os/kilovob.

POOLS

VOB "/vob/tms-os/kilovob" and "/vob/tms-os/cpdvob" used some remote POOLS. Below are listed POOL configuration that was used. You must change several links before VOBs are functional. For every pool you must change link on "global pathname" to point actual location where you restored corresponding "link target pathname".

################ /vob/tms-os/kilovob #############

pool "cdft"
 13-Aug-93.11:13:04 by Mikko Laiho (mlaiho.tms_os@dshp01)
  "Predefined pool used to store cleartext versions."
  kind: cleartext pool
  pool storage link target pathname "/nfs/jeeves/lun0/vobs/tms-os/kilo.vbs/c/cdft"
  pool storage global pathname  "/nfs/jeeves/lun1/vobs/tms-os/kilo.vbs/c/cdft"
  maximum size: 0  reclaim size: 0  age: 72
pool "ddft"
 13-Aug-93.11:13:04 by Mikko Laiho (mlaiho.tms_os@dshp01)
  "Predefined pool used to store derived objects."
  kind: derived pool
  pool storage link target pathname "/nfs/jeeves/lun2/vobs/tms-os/kilo.vbs/d/ddft"
  pool storage global pathname  "/nfs/jeeves/lun1/vobs/tms-os/kilo.vbs/d/ddft"
  maximum size: 0  reclaim size: 0  age: 72
pool "dopool-lib"
 20-Oct-93.10:37:55 by Mikko Laiho (tmsosadm.tms_os@jeeves)
  "Derived object pool for libraries."
  kind: derived pool
  pool storage link target pathname "/nfs/jeeves/lun0/vobpools/tms-os/kilo.pools/d-lib"
  pool storage global pathname  "/nfs/jeeves/lun1/vobs/tms-os/kilo.vbs/d/dopool-lib"
  maximum size: 0  reclaim size: 0  age: 72
pool "dopool2-lib"
 05-Nov-93.10:38:59 by Mikko Laiho (tmsosadm.tms_os@jeeves)
  "Derived object pool #2 for libraries."
  kind: derived pool
  pool storage link target pathname "/nfs/jeeves/lun2/vobpools/tms-os/kilo.pools/d2-lib"
  pool storage global pathname  "/nfs/jeeves/lun1/vobs/tms-os/kilo.vbs/d/dopool2-lib"
  maximum size: 0  reclaim size: 0  age: 72
pool "sdft"
 13-Aug-93.11:13:04 by Mikko Laiho (mlaiho.tms_os@dshp01)
  "Predefined pool used to store versions."
  kind: source pool
  pool storage global pathname  "/nfs/jeeves/lun1/vobs/tms-os/kilo.vbs/s/sdft"
pool "srcpool-lib"
 20-Oct-93.10:35:15 by Mikko Laiho (tmsosadm.tms_os@jeeves)
  "Storage pool for checked-in libraries."
  kind: source pool
  pool storage link target pathname "/nfs/jeeves/lun0/vobpools/tms-os/kilo.pools/s-lib"
  pool storage global pathname  "/nfs/jeeves/lun1/vobs/tms-os/kilo.vbs/s/srcpool-lib"
pool "srcpool2-lib"
 05-Nov-93.10:37:07 by Mikko Laiho (tmsosadm.tms_os@jeeves)
  "Storage pool #2 for checked-in libraries."
  kind: source pool
  pool storage link target pathname "/nfs/jeeves/lun2/vobpools/tms-os/kilo.pools/s2-lib"
  pool storage global pathname  "/nfs/jeeves/lun1/vobs/tms-os/kilo.vbs/s/srcpool2-lib"

############## /vob/tms-os/cpdvob ##################

pool "cdft"
 21-Sep-93.10:03:25 by Mikko Laiho (tmsosadm.tms_os@jeeves)
  "Predefined pool used to store cleartext versions."
  kind: cleartext pool
  pool storage global pathname  "/nfs/jeeves/lun1/vobs/tms-os/cpd.vbs/c/cdft"
  maximum size: 0  reclaim size: 0  age: 96
pool "ddft"
 21-Sep-93.10:03:25 by Mikko Laiho (tmsosadm.tms_os@jeeves)
  "Predefined pool used to store derived objects."
  kind: derived pool
  pool storage global pathname  "/nfs/jeeves/lun1/vobs/tms-os/cpd.vbs/d/ddft"
  maximum size: 0  reclaim size: 0  age: 96
pool "dopool-lib"
 20-Oct-93.11:18:45 by Mikko Laiho (tmsosadm.tms_os@jeeves)
  "Derived object pool for libraries."
  kind: derived pool
  pool storage link target pathname "/nfs/jeeves/lun0/vobpools/tms-os/cpd.pools/d-lib"
  pool storage global pathname  "/nfs/jeeves/lun1/vobs/tms-os/cpd.vbs/d/dopool-lib"
  maximum size: 0  reclaim size: 0  age: 96
pool "sdft"
 21-Sep-93.10:03:25 by Mikko Laiho (tmsosadm.tms_os@jeeves)
  "Predefined pool used to store versions."
  kind: source pool
  pool storage global pathname  "/nfs/jeeves/lun1/vobs/tms-os/cpd.vbs/s/sdft"
pool "srcpool-lib"
 20-Oct-93.11:16:27 by Mikko Laiho (tmsosadm.tms_os@jeeves)
  "Storage pool for checked-in libraries."
  kind: source pool
  pool storage link target pathname "/nfs/jeeves/lun0/vobpools/tms-os/cpd.pools/s-lib"
  pool storage global pathname  "/nfs/jeeves/lun1/vobs/tms-os/cpd.vbs/s/srcpool-lib"

WHAT TO DO

You must have proper version of ClearCase installed on HP-UX system.

- untar archives from tapes to some big disk partition:

-rw-r--r--   1 root     sys      631982080 Mar 30 09:29 TMS-OS-vobs.lun0.tar
-rw-r--r--   1 root     sys      1613045760 Mar 30 09:50 TMS-OS-vobs.lun1.tar
-rw-r--r--   1 root     sys      1766338560 Mar 30 09:08 TMS-OS-vobs.lun2.tar
-rw-r--r--   1 root     sys      709847040 Mar 30 10:22 TMS-OS-vobs.lun3.tar

- untar archives to directory trees (absolute pathnames): /lun0-3
correspondingly. You need to create links /lun0 - /lun3 to point some
big disk partition. 

- set POOL links (see above)
- register VOBS (cleartool register)
- make VOB tags (cleartool mktag -vob)
- protectvob (cleartool protectvob)	# ownership of files is incorrect 
- mount vobs (cleartool mount)
- unlock vobs (cleartool unlock) (if necessary)
- protect vobs (cleartool protect)	# to set proper permissions

Admin ToC
Marc Girod
Last modified: Thu Apr 15 09:20:00 EETDST 1999