A while ago I"ve faced with a problem on VPS - there were no free space! I couldn't login into admin panel installed there. SSH was not working too.
The only thing that was wroking was FTP server which helped me to connect and free some space deleting non used files. After that operation I've finally logged in.
So, be patient to the free space available on your server and have a couple of entrances there.
One of the solution to prevent the situation like this is to have a dummy file which can be deleted in such critical moments to free up the space.

To create a file fileed with random numbers use command:

head -c 1G </dev/urandom >myfile

If you head command didn't recognize G option in size - use bytes:

head -c 1073741824 </dev/urandom >myfile

If head command doesn't recognize -c options use dd command:

dd bs=1024 count=1048576 </dev/urandom >myfile

 

Another case is to create file with openssl program

openssl rand -out myfile "1073741824"

Update previous variant but fill file with base64 symbols

openssl rand -base64 -out myfile "1073741824"

Add new comment

The content of this field is kept private and will not be shown publicly.
  • No HTML tags allowed.
  888888ba          dP  888888ba   8888ba.88ba   d8888888P 
88 `8b 88 88 `8b 88 `8b `8b .d8'
a88aaaa8P' 88 88 88 88 88 88 .d8'
88 88 88 88 88 88 88 .d8'
88 88. .d8P 88 .8P 88 88 88 d8'
dP `Y8888' 8888888P dP dP dP Y8888888P

Enter the code depicted in ASCII art style.