You must first create a DiskStore using...

gfsh> create disk-store --name=ExampleDiskStore
--dir=/file/system/pathname/to/directory/in/which/to/write/disk/store/files
--dir=/another/file/system/pathname  ...

See here [1] for more details.

Then you can define your Region...

gfsh> create region --name=DiskStoreBasedRegion --type=PARTITION_OVERFLOW
--disk-store=ExampleDiskStore ...

See here [2] for more details.


If you do not explicitly create a "named" DiskStore, then Apache Geode will
use the (same) "DEFAULT" DiskStore for all PERSISTENT and/or OVERFLOW
Regions.


Hope this helps!

-John


[1]
http://geode.apache.org/docs/guide/16/tools_modules/gfsh/command-pages/create.html#topic_bkn_zty_ck
[2]
http://geode.apache.org/docs/guide/16/tools_modules/gfsh/command-pages/create.html#topic_54B0985FEC5241CA9D26B0CE0A5EA863


On Tue, Jun 19, 2018 at 9:48 AM, trung kien <[email protected]> wrote:

> For more context, i am trying to creat a PARTITION_Overflow region that
> could push old data to disk when memory is high.
>
> From document, i have to creat disk-store region and setup my
> partition_overflow region to overflow data there.
>
> Anyone please help?
>
> On Tue, Jun 19, 2018 at 11:41 AM trung kien <[email protected]> wrote:
>
>> Hi all,
>>
>> I’m trying to figure the correct way to setup disk store region in geode.
>>
>> I have setup geode cluster with 1 locator and 3 servers on single machine
>> using gfsh.
>>
>> How can i create a disk-store region with diffirent dir for each server?
>> --
>> Thanks
>> Kien
>>
> --
> Thanks
> Kien
>



-- 
-John
john.blum10101 (skype)

Reply via email to