You can increase the disk size of your virtual machine (VM) when the log files created by your application become too large.
Note: The default shipping configuration of your VM includes 500 GB of disk space.
Configuring the Disk Capacity
To expand the disk size using VMware VSphere or VCenter:
Verifying and Applying the Configuration
Filesystem | Size | Used | Available | Use% | Mounted On |
/dev/mapper/data1_vg-elasticsearch | 500G | 267M | 500G | 1% | /var/lib/elasticsearch |
You see the following sample output.
[root@LOG-COLLECTOR ~]# /opt/jnpr/bin/resizeFS.sh
Physical volume "/dev/sdb" changed 1 physical volume(s) resized / 0 physical volume(s) not resized Extending logical volume elasticsearch to 600.00 GB Logical volume elasticsearch successfully resized meta-data=/dev/mapper/data1_vg-elasticsearch isize=256 agcount=4, agsize=32767744 blks = sectsz=512 attr=2, projid32bit=0 data = bsize=4096 blocks=131070976, imaxpct=25 = sunit=0 swidth=0 blks naming =version 2 bsize=4096 ascii-ci=0 log =internal bsize=4096 blocks=63999, version=2 = sectsz=512 sunit=0 blks, lazy-count=1 realtime =none extsz=4096 blocks=0, rtextents=0 data blocks changed from 131070976 to 157285376
/dev/mapper/data1_vg-elasticsearch
Filesystem | Size | Used | Available | Use% | Mounted On |
/dev/mapper/data1_vg-elasticsearch | 600G | 267M | 600G | 1% | /var/lib/elasticsearch |
Note: You must restart the VM after editing the disk size and then execute the resizeFS.sh script.
© 2017 Juniper Networks, Inc. All rights reserved