|Persisting Table Data to GemFire XD Disk Stores / Overview of Disk Stores|
When you create a disk store, you can optionally specify the location of directories where GemFire XD stores persistence-related files.
If you provide absolute directory paths in the CREATE DISKSTORE command, GemFire XD uses the paths as-is. You must ensure that the proper directory structure exists.
If the sys-disk-dir boot property specifies a directory, the disk store path is resolved relative to that directory, or that directory is used as the directory for persistence.
If sys-disk-dir is not set, GemFire XD uses the directory from which the system was started (the current directory) for path resolution, or it uses that directory as the persistence directory.
You can optionally specify the maximum amount of combined oplog files that can be stored in a particular disk store directory. However, keep in mind that the specified maximum must be large enough to accommodate the disk store files and maintain enough free space to avoid triggering disk full warnings. GemFire XD preallocates space for oplog files when you create the disk store, and the command will fail if any directory specifies size limit that is too small. See CREATE DISKSTORE for more information.