|Disk Storage / Disk Store Management|
|gfsh Command||Online or Offline Command||See . . .|
|alter disk-store||Off||Synchronizing Your Offline Disk Store with Your Cache|
|compact disk-store||On||Running Compaction on Disk Store Log Files|
|backup disk-store||On||Creating Backups for System Recovery and Operational Management|
|compact offline-disk-store||Off||Running Compaction on Disk Store Log Files|
|revoke missing-disk-store||On||Handling Missing Disk Stores|
|show missing-disk-stores||On||Handling Missing Disk Stores|
|shutdown||On||Shutting Down a System with Disk Stores|
|validate offline disk-store||Off||Validating a Disk Store|
For complete command syntax of any gfsh command, run help <command> at the gfsh command line.
For online operations, gfsh must be connected to a distributed system via a JMX manager and sends the operation requests to the members that have disk stores. These commands will not run on offline disk stores.
gfsh>compact offline-disk-store --name=mydiskstore --disk-dirs=MyDirs
Offline 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 offline command for an online disk store, you get a message like this:
gfsh>compact offline-disk-store --name=DEFAULT --disk-dirs=s1 This disk store is in use by another process. "compact disk-store" can be used to compact a disk store that is currently in use.