1.1

Table Of Contents
Note: Each of these commands operates either on the online disk stores or ofine disk stores, but not
both.
See . . .Online or
Offline
Command
sqlf Command
Validate a Disk Store on page 88Off
validate-disk-store
Compacting Disk Store Log Files on page 89On
compact-all-disk-stores
Compacting Disk Store Log Files on page 89Off
compact-disk-store
Backing Up and Restoring Online Disk Stores on page 92On
backup
Handling Missing Disk Stores on page 94On
list-missing-disk-stores
Handling Missing Disk Stores on page 94On
revoke-missing-disk-store
For the complete command syntax of any sqlf command, run sqlf <command> --help at the command
line.
Online sqlf Disk Store Operations
For online operations, sqlf connects to a distributed system and sends the operation requests to the members
that have disk stores. These commands do not run on ofine disk stores. You must provide the command with
a distributed system properties in a sqlfire.properties le, or specify the multicast port or locator
properties to connect to the cluster (for example, -mcast-port= port_number).
Offline sqlf Disk Store Operations
For ofine operations, sqlf runs the command against the specied disk store and its specied directories.
You must specify all directories for the disk store.
Ofine operations will not run on online disk stores. The tool locks the disk store while it is running, so the
member cannot start in the middle of an operation.
If you try to run an ofine command for an online disk store, you get a message like this:
ERROR: Operation "validate-disk-store" failed because: disk-store=ds1:
com.gemstone.gemfire.cache.DiskAccessException: For DiskStore: ds1:
Could not lock "hostA/ds1dir1/DRLK_IFds1.lk". Other JVMs might have created
diskstore with same name using the same directory., caused by
java.io.IOException: The file "hostA/ds1dir1/DRLK_IFds1.lk" is being used
by another process.
Validate a Disk Store
The sqlf validate-disk-store command veries the health of your ofine disk store. It gives you
information about the tables in it, the total rows, and the number of records that would be removed if you
compacted the store.
When to use this command:
Before compacting an ofine disk store to help decide whether its worth doing.
Before restoring a disk store.
Any time you want to be sure the disk store is in good shape.
vFabric SQLFire User's Guide88
Managing Your Data in vFabric SQLFire