Reply
Emerging Member
Posts: 74
Registered: ‎02-04-2014
Kudos: 39
Solutions: 2
Accepted Solution

Disk space full when 34Go free on /home folder

Hi, I got a message saying that my disk is almost full 2.51Gb/3.46GB but I have 36GB free on my disk.

 

I think UCRM watch my /var folder instead the /home. Is a bug or a missconfiguration?


Accepted Solutions
Emerging Member
Posts: 74
Registered: ‎02-04-2014
Kudos: 39
Solutions: 2

Re: Disk space full when 34Go free on /home folder

I fix it.

 

So if you have the same issus move docker to a biger partition and creat a symlink:

 

Stop docker:

service docker stop

 

Move docker folder:

mv /var/lib/docker /home/docker

 

wait a couple of minutes to allow file to be transfert to the new directory/partition

 

Create symlink

 

ln -s /home/docker /var/lib/docker

 

restart docker:

service docker start

 

restart UCRM:

cd /home/ucrm

sudo docker-compose up -d

 

 

Now I have my full 30Go drive.

 

 

 

 

 

 

View solution in original post


All Replies
Ubiquiti Employee
Posts: 3,704
Registered: ‎12-10-2015
Kudos: 1312
Solutions: 291

Re: Disk space full when 34Go free on /home folder

Hi, UCRM shows the disk where docker is deployed. So you can get wrong data if your /home/ucrm directory is on a different disk.  We will investigate possible improvements for this.

Emerging Member
Posts: 74
Registered: ‎02-04-2014
Kudos: 39
Solutions: 2

Re: Disk space full when 34Go free on /home folder

can I move docker from /var to /home folder?

Emerging Member
Posts: 74
Registered: ‎02-04-2014
Kudos: 39
Solutions: 2

Re: Disk space full when 34Go free on /home folder

Can we move it?

Highlighted
Ubiquiti Employee
Posts: 3,704
Registered: ‎12-10-2015
Kudos: 1312
Solutions: 291

Re: Disk space full when 34Go free on /home folder

Not sure. Maybe someone from the community knows.
Anyway, if you have 36GB free, you probably don't need to bother. In the new integrated version of UNMS & UNMS, a better detection of the disk will be implemented.

Emerging Member
Posts: 74
Registered: ‎02-04-2014
Kudos: 39
Solutions: 2

Re: Disk space full when 34Go free on /home folder

So my UCRM just crash this morning, the /var folder is full but I have 31Go avalable on my /home directory. Does anyboby had succesfully move UCRM or docker from var to /home?

Emerging Member
Posts: 74
Registered: ‎02-04-2014
Kudos: 39
Solutions: 2

Re: Disk space full when 34Go free on /home folder

I fix it.

 

So if you have the same issus move docker to a biger partition and creat a symlink:

 

Stop docker:

service docker stop

 

Move docker folder:

mv /var/lib/docker /home/docker

 

wait a couple of minutes to allow file to be transfert to the new directory/partition

 

Create symlink

 

ln -s /home/docker /var/lib/docker

 

restart docker:

service docker start

 

restart UCRM:

cd /home/ucrm

sudo docker-compose up -d

 

 

Now I have my full 30Go drive.

 

 

 

 

 

 

Reply