IBM Support

How to run dbcheck on a read-only filesystem

Question & Answer


Question

How do you run the IBM Rational ClearCase dbcheck utility on a read only file system for Microsoft Windows, UNIX and Linux?

Cause

Historically, dbcheck could not be run on read-only files systems.

One example of where this has been problematic is when a VOB is stored on a NAS device using the snapshot or flash backup features. The snapshot of the disk can be taken instantaneously, but it is a read-only version of the disk at that time. Running dbcheck on a read-only volume will yield the following error:

db_VISTA Version 3.20
Database Consistency Check Utility
Copyright (C) 1985-1990 Raima Corporation, All Rights Reserved

*** db_VISTA database error -4 - invalid database

Database consistency check prematurely terminated
   Last db_status = -4

1 error was encountered in 0 records/nodes

Answer

There is a new undocumented switch for use with dbcheck.


The -R switch will allow the dbcheck utility to run against a read-only file system.

Note: This is a capital "R". The lowercase "r" has a different meaning that causes different behavior.


This feature was introduced in the following patches:



UNIX and Linux Versions
Patch/Service Release
2003.06.00 ClearCase
clearcase_p2003.06.00-21
2002.05.00 ClearCase
clearcase_p2002.05.00-42
2003.06.00 ClearCase LT
clearcase_lt_p2003.06.00-11
2002.05.00 ClearCase LT
clearcase_lt_p2002.05.00-20
Windows Versions
Patch/Service Release
2003.06.00 ClearCase and CCLT
Service Release 5
2002.05.00 ClearCase
clearcase_p2002.05.00.NT-37
2002.05.00 ClearCase LT
clearcase_lt_p2002.05.00.NT-14

[{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Utilities and Tools","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF015","label":"IRIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"7.0;7.0.1;7.1;7.1.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 June 2018

UID

swg21207935