Link to home
Start Free TrialLog in
Avatar of ggRM7865
ggRM7865

asked on

Linux Ubuntu - Volume "boot" has only 0 bytes disk space remainig

Hello,
this morning our intranet site running in Apache is not openiong. When I login Ubuntu I see the message "The volume boot has only 0 bytes space" . Well I guess that is an issue....
This problem started when we uploaded few company pics to the site.
I need to fix this problem obviously but  my Linux admin is not around these days and I am not a Linux guru....so before I make some irreversible damage I am asking you:
As this box is a VM running on a Esxi 6.0 server, will increasing his HD space resolve the problem ?
If I want to free up some space by removing unused files, as the message suggests, which directory should I go?

thank you for your help.
ASKER CERTIFIED SOLUTION
Avatar of Brian Benson
Brian Benson

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rindi
Increasing the size of the virtual disk alone wouldn't help, as that space wouldn't automatically get used by your OS, you'd also have resize your partition.

use

sudo apt-get autoremove to remove old unneeded versions of the kernel and other programs that are no longer needed which gotreplaced by newer versions with updates. This may get you working again.
You need to shutdown the server, use VMWare to increase the disk size (another 50% at least), if the disk is the root or boot disk then you need to boot from the Ubuntu Live CD to run gparted to resize the disk otherwise boot the server up and then use the gparted tool to resize the data partition to access the extra space added.
Avatar of Dr. Klahn
Dr. Klahn

As rindi says, increasing the drive size is a solution only if the partition size is mangled to match it.  This is not as simple as it sounds, because the number and location of inodes is driven by the partition size.  A tool such as Partition Magic can do it, but don't attempt it unless and until you have a full and complete backup of the system.  If there is any issue, unexpected bad blocks or even a power failure, you would end up with a completely corrupt drive.

To recover a relatively small amount of space, look in /var/log.  Most of the log files here can be deleted.  Any old logs that have been gzipped (.gz extension) can surely be deleted.  Unfortunately, if the reason the system ran out of drive space is recorded in the current logs, deleting them will also destroy your traceback to why the problem occurred.
Avatar of ggRM7865

ASKER

Thank you all for your replaying...
it seems like the only solution to have the web site working is to free some space in boot folder which is now at "0" space left.
Attached is a list of files in boot. How can I tell which file can be removed?
Thank you....
12-30-2016-2-19-19-PM.jpg
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial