Disk space. Error show disk no space ..-

Discussions about using Linux guests in VirtualBox.
Post Reply
tecin21
Posts: 1
Joined: 16. Nov 2021, 19:54

Disk space. Error show disk no space ..-

Post by tecin21 »

I have a problem with the file system
I have Virtualbox installed on a host machine. with ubuntu Desktop.
I run a vm with ubuntu server. Suddenly the vm says it has no disk space

Code: Select all

df -sh
Filesystem Size Used Avail Use% Mounted on
tmpfs 198M 1.1M 197M 1% / run
/ dev / mapper / ubuntu - vg-ubuntu - lv 15G 15G 0 100% /
tmpfs 990M 0 990M 0% / dev / shm
tmpfs 5.0M 0 5.0M 0% / run / lock
Even deleting more than 1 G of files, it still gives the same answer, it shows 100 disk busy
The space occupied by the files does not match what the df command or the du command gives
a different figure from the real one .-
MySQL is not running nor can it start nor can I install tools to help diagnose.
Any idea?
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Disk space. Error show disk no space ..-

Post by mpack »

tmpfs means a RAMdisk does it not? In which case trying to modify it is pointless. It also explains the small volume size.

Most likely you have booted from a liveCD. Install Ubuntu to the virtual hard disk and all will be well.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Disk space. Error show disk no space ..-

Post by scottgus1 »

I suspect it's this one:
/ dev / mapper / ubuntu - vg-ubuntu - lv 15G 15G 0 100% /
I may be wrong though.

I'm no Linux guru, but if that report is for the VM's disk, then you can make the disk bigger, see How to resize a Virtual Drive.
tecin21 wrote:Even deleting more than 1 G of files, it still gives the same answer, it shows 100 disk busy
Why the VM's OS does not show a gig of empty disk space when you delete a gig of data is puzzling. Unless the data went into the Linux version of the Recycle Bin.

The disk file on the host does not get smaller when data is removed from the VM's OS.
Post Reply