arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

Storage issue

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

Error processing tar file(exit status 1): write /usr/share/java/acl/acl-6.2.0.jar: no space left on device
ERROR:

User can change the Partition to install ONES-App

  • Check the free partition available to use

  • Remove the Docker containers and images

  • Stop the Docker service

  • Remove the Docker storage directory

Create a new /var/lib/docker storage directory.
  • 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

  • command "docker load -i schemareg.tar" failed with exit code 1
    
    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
    
    sudo docker rm <container id>
    sudo docker image rm <image id>
    sudo systemctl stop docker
    sudo rm -rf /var/lib/docker
    sudo mkdir /var/lib/docker