1.1.1

Table Of Contents
Make sure you have started the member. Check the logs for any failure messages.a.
b. Make sure your disk store les are accessible. If you have moved your member or disk store les,
you must update your disk store conguration to match.
c. If disk stores are missing that you know are lost, because you have deleted them or their les are otherwise
unavailable, revoke them so the startup can continue. See Handling Missing Disk Stores on page 96.
Disk Store Management
The sqlf command-line tool has several options for examining and managing your disk stores. The sqlf
tool, along with the CREATE DISKSTORE statement, are your management tools for online and ofine disk
stores.
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 91Off
validate-disk-store
Compacting Disk Store Log Files on page 91On
compact-all-disk-stores
Compacting Disk Store Log Files on page 91Off
compact-disk-store
Backing Up and Restoring Online Disk Stores on page 94On
backup
Handling Missing Disk Stores on page 96On
list-missing-disk-stores
Handling Missing Disk Stores on page 96On
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
vFabric SQLFire User's Guide90
Managing Your Data in vFabric SQLFire