# Error in track preparator (\[Errno 28\] No space left on device)

**URL:** <https://discuss.elastic.co/t/error-in-track-preparator-errno-28-no-space-left-on-device/152653>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [October 16, 2018, 12:24pm UTC](https://discuss.elastic.co/t/error-in-track-preparator-errno-28-no-space-left-on-device/152653 "2018-10-16T12:24:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![junkoshimane](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/junkoshimane/32/36594_2.png) [@junkoshimane](https://discuss.elastic.co/u/junkoshimane)\
**Post date:** [October 16, 2018, 12:24pm UTC](https://discuss.elastic.co/t/error-in-track-preparator-errno-28-no-space-left-on-device/152653/1 "2018-10-16T12:24:17Z")

</div>

I'm new in elasticsearch and rally. Now I'm trying "Benchmarking an existing cluster" as below.  
[https://esrally.readthedocs.io/en/1.0.1/recipes.html#benchmarking-an-existing-cluster](https://esrally.readthedocs.io/en/1.0.1/recipes.html#benchmarking-an-existing-cluster)

After the following command line was executed, I faced error.  
Would you please tell me how to resolve it?

$ esrally --track=pmc --target-hosts=ip\_address:9200,ip\_address:9200,ip\_address:9200 --pipeline=benchmark-only

--- Logging error ---  
Traceback (most recent call last):  
File "/home/adminadmin/.local/lib/python3.5/site-packages/esrally/rally.py", line 454, in dispatch\_sub\_command  
race(cfg)  
File "/home/adminadmin/.local/lib/python3.5/site-packages/esrally/rally.py", line 383, in race  
with\_actor\_system(lambda c: racecontrol.run(c), cfg)  
File "/home/adminadmin/.local/lib/python3.5/site-packages/esrally/rally.py", line 404, in with\_actor\_system  
runnable(cfg)  
File "/home/adminadmin/.local/lib/python3.5/site-packages/esrally/rally.py", line 383, in   
with\_actor\_system(lambda c: racecontrol.run(c), cfg)  
File "/home/adminadmin/.local/lib/python3.5/site-packages/esrally/racecontrol.py", line 390, in run  
raise e  
File "/home/adminadmin/.local/lib/python3.5/site-packages/esrally/racecontrol.py", line 387, in run  
pipeline(cfg)  
File "/home/adminadmin/.local/lib/python3.5/site-packages/esrally/racecontrol.py", line 61, in **call**  
self.target(cfg)  
File "/home/adminadmin/.local/lib/python3.5/site-packages/esrally/racecontrol.py", line 334, in benchmark\_only  
return race(cfg, external=True)  
File "/home/adminadmin/.local/lib/python3.5/site-packages/esrally/racecontrol.py", line 286, in race  
raise exceptions.RallyError(result.message, result.cause)  
esrally.exceptions.RallyError: ('Error in track preparator ([Errno 28] No space left on device)', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):  
File "/usr/lib/python3.5/logging/ **init**.py", line 984, in emit  
self.flush()  
File "/usr/lib/python3.5/logging/ **init**.py", line 964, in flush  
self.stream.flush()  
OSError: [Errno 28] No space left on device  
Call stack:  
File "/home/adminadmin/.local/bin/esrally", line 11, in   
sys.exit(main())  
File "/home/adminadmin/.local/lib/python3.5/site-packages/esrally/rally.py", line 622, in main  
success = dispatch\_sub\_command(cfg, sub\_command)  
File "/home/adminadmin/.local/lib/python3.5/site-packages/esrally/rally.py", line 461, in dispatch\_sub\_command  
logging.getLogger( **name** ).exception("Cannot run subcommand [%s].", sub\_command)  
Message: 'Cannot run subcommand [%s].'  
Arguments: ('race',)  
[ERROR] Cannot race. Error in track preparator ([Errno 28] No space left on device)

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [October 16, 2018, 1:00pm UTC](https://discuss.elastic.co/t/error-in-track-preparator-errno-28-no-space-left-on-device/152653/2 "2018-10-16T13:00:40Z")

</div>

It seems like you have run out of disk space? Rally downloads and uncompresses data files that can be quite large, so check in the track how large these are before starting so you have enough space available.

---

<div class="post-metadata">

**Author:** ![junkoshimane](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/junkoshimane/32/36594_2.png) [@junkoshimane](https://discuss.elastic.co/u/junkoshimane)\
**Post date:** [October 17, 2018, 5:09am UTC](https://discuss.elastic.co/t/error-in-track-preparator-errno-28-no-space-left-on-device/152653/3 "2018-10-17T05:09:08Z")

</div>

Hi Christian,  
Thank you for your prompt reply.  
After I prepared enough disk space, the race succeeded.

---

<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:** [November 14, 2018, 5:09am UTC](https://discuss.elastic.co/t/error-in-track-preparator-errno-28-no-space-left-on-device/152653/4 "2018-11-14T05:09:09Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
