# Storage issue

## While installing ONES-App, the user might face storage issues in the current partition

{% tabs %}
{% tab title="Issue persists" %}

```yaml
Error processing tar file(exit status 1): write /usr/share/java/acl/acl-6.2.0.jar: no space left on device
ERROR:
command "docker load -i schemareg.tar" failed with exit code 1
```

{% endtab %}

{% tab title="Resolution" %}
User can change the Partition to install ONES-App

* Check the free partition available to use

```

root@ONES:/home# df -h
Filesystem             Size  Used Avail Use% Mounted on
udev                   126G     0  126G   0% /dev
tmpfs                   26G  2.3M   26G   1% /run
/dev/mapper/vg00-root  9.3G  3.0G  5.9G  34% /
tmpfs                  126G     0  126G   0% /dev/shm
tmpfs                  5.0M     0  5.0M   0% /run/lock
tmpfs                  126G     0  126G   0% /sys/fs/cgroup
tmpfs                  126G     0  126G   0% /tmp
/dev/mapper/vg00-aviz  170G   25G  137G  15% /aviz
/dev/mapper/vg00-var   9.3G  7.8G  1.1G  88% /var

Choose /aviz partition to install the ONES-App

```

* Remove the Docker containers and images

  ```
  sudo docker rm <container id>
  sudo docker image rm <image id>
  ```
* Stop the Docker service

  ```
  sudo systemctl stop docker
  ```
* Remove the Docker storage directory

  ```
  sudo rm -rf /var/lib/docker
  ```
* Create a new `/var/lib/docker` storage directory.

  ```
  sudo mkdir /var/lib/docker
  ```
* Use bind mount to set the new location. For example, to set the new location as `/aviz/docker` run the following commands:

  ```
  sudo mkdir /aviz/docker
  sudo mount --rbind /aviz/docker /var/lib/docker
  ```
* Start the Docker service.

  ```
  sudo systemctl start docker
  ```
* Now user can start the ONES-App Installation, and ONES will use new partitionto install all the services

  ```
  ./ones-installer.sh
  ```

{% endtab %}
{% endtabs %}
