# Increasing Size of Disk on Virtual Machine

**URL:** <https://discuss.elastic.co/t/increasing-size-of-disk-on-virtual-machine/10516>\
**Category:** Elasticsearch\
**Created:** [January 26, 2013, 6:49pm UTC](https://discuss.elastic.co/t/increasing-size-of-disk-on-virtual-machine/10516 "2013-01-26T18:49:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![james\_lewis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/james_lewis/32/2296_2.png) [@james\_lewis](https://discuss.elastic.co/u/james_lewis)\
**Post date:** [January 26, 2013, 6:49pm UTC](https://discuss.elastic.co/t/increasing-size-of-disk-on-virtual-machine/10516/1 "2013-01-26T18:49:46Z")

</div>

Hi guys,

A similar question was asked a few days ago about adding another disk to an  
ES node here[https://groups.google.com/d/topic/elasticsearch/r188PiuCOR8/discussion](https://groups.google.com/d/topic/elasticsearch/r188PiuCOR8/discussion).  
My questions is very similar but I didn't want to hijack the thread.

Lets say I have 2 nodes both running in separate virtual machines and one  
of the nodes is looking like it's going to outgrow it's allocated disk  
storage capacity in the not too distant future. In order to increase the  
disk space available to that node can I just take that node offline,  
increase the disk space allocated to that virtual machine and then spin it  
all back up again? Would the shards (or shard) on node then just keep  
indexing data making use of the extra space when they needed to?

Cheers,  
James

--

---

<div class="post-metadata">

**Author:** ![ppearcy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppearcy/32/980_2.png) [@ppearcy](https://discuss.elastic.co/u/ppearcy)\
**Post date:** [January 29, 2013, 5:24am UTC](https://discuss.elastic.co/t/increasing-size-of-disk-on-virtual-machine/10516/2 "2013-01-29T05:24:10Z")

</div>

Assuming you increase the disk where the data directory is pointed, that  
should do the trick.

On Saturday, January 26, 2013 11:49:46 AM UTC-7, [james...@7digital.com](mailto:james...@7digital.com)  
wrote:

> Hi guys,
> 
> A similar question was asked a few days ago about adding another disk to  
> an ES node here[https://groups.google.com/d/topic/elasticsearch/r188PiuCOR8/discussion](https://groups.google.com/d/topic/elasticsearch/r188PiuCOR8/discussion).  
> My questions is very similar but I didn't want to hijack the thread.
> 
> Lets say I have 2 nodes both running in separate virtual machines and one  
> of the nodes is looking like it's going to outgrow it's allocated disk  
> storage capacity in the not too distant future. In order to increase the  
> disk space available to that node can I just take that node offline,  
> increase the disk space allocated to that virtual machine and then spin it  
> all back up again? Would the shards (or shard) on node then just keep  
> indexing data making use of the extra space when they needed to?
> 
> Cheers,  
> James

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![james\_lewis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/james_lewis/32/2296_2.png) [@james\_lewis](https://discuss.elastic.co/u/james_lewis)\
**Post date:** [January 29, 2013, 7:41am UTC](https://discuss.elastic.co/t/increasing-size-of-disk-on-virtual-machine/10516/3 "2013-01-29T07:41:09Z")

</div>

Thanks! I also asked around on the irc channel and yeah the answer was elasticsearch will just keep filling the space on the disk without any knowledge of what that space actually is. So you can increase the disk size and elasticsearch will fill into it.

Regards,  
James

On 29 Jan 2013, at 05:24, ppearcy [ppearcy@gmail.com](mailto:ppearcy@gmail.com) wrote:

> Assuming you increase the disk where the data directory is pointed, that should do the trick.
> 
> On Saturday, January 26, 2013 11:49:46 AM UTC-7, [james...@7digital.com](mailto:james...@7digital.com) wrote:
> 
> > Hi guys,
> > 
> > A similar question was asked a few days ago about adding another disk to an ES node here. My questions is very similar but I didn't want to hijack the thread.
> > 
> > Lets say I have 2 nodes both running in separate virtual machines and one of the nodes is looking like it's going to outgrow it's allocated disk storage capacity in the not too distant future. In order to increase the disk space available to that node can I just take that node offline, increase the disk space allocated to that virtual machine and then spin it all back up again? Would the shards (or shard) on node then just keep indexing data making use of the extra space when they needed to?
> > 
> > Cheers,  
> > James  
> > --  
> > You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 2:54am UTC](https://discuss.elastic.co/t/increasing-size-of-disk-on-virtual-machine/10516/4 "2017-07-06T02:54:15Z")

</div>


