Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: The volume "Filesystem Root" has only XXX MB disk space available.

  1. #1
    Join Date
    Mar 2006
    Location
    Rumplestiltskin, Cal.
    Beans
    Hidden!
    Distro
    Ubuntu 18.04 Bionic Beaver

    The volume "Filesystem Root" has only XXX MB disk space available.

    Check if Already Posted asks for different search terms. I'm not computer literate enough to know any.

    Code:
    mark@Lexington:~$ df -h
    Filesystem      Size  Used Avail Use% Mounted on
    . . . 
    /dev/sda1        20G   18G  556M  98% /
    Ubuntu Tweak shows 195 meg can be cleaned. This msg. has been popping up for about two weeks.

    What needs doing? I used to see 12g out of 20g used.
    Attached Images Attached Images
    AMD FX-6300, 8gig ddr3, MSI 970 Gaming, 256G WD blue SSD, GeForce GT710, HP LJ Pro M277-fdw

  2. #2
    Join Date
    Jun 2014
    Beans
    5,919

    Re: The volume "Filesystem Root" has only XXX MB disk space available.

    If you don't clean some files up it will soon be unable to function. You can find large files to remove with simple commands such as the one below which finds all files over 50MB. If you have data files you don't need, remove them. You might check for old log files under /var/log.

    find / -size 50M

  3. #3
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: The volume "Filesystem Root" has only XXX MB disk space available.

    At the Grub boot menu you can select Advanced options for Ubuntu and then select a recovery mode kernel and at the recovery menu select clean - try to make free space. That will run both the clean command and the autoremove command.

    You might want to prepare for resizing that partition and increasing its size as you need a larger / partition. Do you have a separate /home partition? do you store data files on a separate partition? Either of these methods will prevent the Ubuntu partition from filling up.

    Regards.
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  4. #4
    Join Date
    Mar 2006
    Location
    Rumplestiltskin, Cal.
    Beans
    Hidden!
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: The volume "Filesystem Root" has only XXX MB disk space available.

    By the Numbers:

    Following this Recover Lost Disk Space, I performed the following commands in the order given in this Help document. When I got to lost+found:

    `lost+found` Folders
    Each ext2/3/4 partition will contain a lost+found folder. This folder contains corrupted files discovered by the system during an fsck check.

    How to Find It:

    You can run the following to locate each lost+found folder and, optionally, see the size of each folder:

    Code:
    sudo find / -name `lost+found` | sudo xargs du -h
    What I did was:
    Code:
    sudo find / -name `lost+found` | sudo xargs du -h > ~lostfiles.txt
    That returns a lot of files, too many, files. Over 67,000 lines of filenames appear. Is there a way to remove "lost" files with a command line string? I tried:

    Code:
    mark@Lexington:/$ locate lost+found
    /lost+found
    /usr/sbin/mklost+found
    /usr/share/man/man8/mklost+found.8.gz
    mark@Lexington:/$ cd /lost+found
    bash: cd: /lost+found: Permission denied
    mark@Lexington:/$ sudo cd /lost+found
    [sudo] password for mark: 
    sudo: cd: command not found
    no joy.

    Next using gksudo nautilus to look inside the lost+found directory is confusing. It is empty, at least gksudo nautilus and +h, shows no objects in it.

    I tried to find the lost+found directory to do this:

    https://www.howtoforge.com/community...irectory.4450/

    Code:
    cd /path/to/lost+found
    rm -fr *
    but cannot get to that directory (folder).

    The 'puter is starting to run erratically now, anybody got a clue as to how to delete the files in lost+found?
    AMD FX-6300, 8gig ddr3, MSI 970 Gaming, 256G WD blue SSD, GeForce GT710, HP LJ Pro M277-fdw

  5. #5
    Join Date
    Mar 2006
    Location
    Rumplestiltskin, Cal.
    Beans
    Hidden!
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: The volume "Filesystem Root" has only XXX MB disk space available.

    Your advice finds files in my /home at 50+M, but the problem is in root or /

    Thanks.
    AMD FX-6300, 8gig ddr3, MSI 970 Gaming, 256G WD blue SSD, GeForce GT710, HP LJ Pro M277-fdw

  6. #6
    Join Date
    Mar 2006
    Location
    Rumplestiltskin, Cal.
    Beans
    Hidden!
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: The volume "Filesystem Root" has only XXX MB disk space available.

    Quote Originally Posted by grahammechanical View Post
    At the Grub boot menu you can select Advanced options for Ubuntu and then select a recovery mode kernel and at the recovery menu select clean - try to make free space. That will run both the clean command and the autoremove command.

    You might want to prepare for resizing that partition and increasing its size as you need a larger / partition. Do you have a separate /home partition? do you store data files on a separate partition? Either of these methods will prevent the Ubuntu partition from filling up.

    Regards.
    I had run:

    sudo apt-get clean
    sudo apt-get autoclean
    sudo apt-get autoremove

    prior to asking for help, this forum.

    Yes, /home is a separate partition.

    Code:
    mark@Lexington:~$ df -h
    Filesystem      Size  Used Avail Use% Mounted on
    
    /dev/sda1        20G   19G     0 100% /
    
    /dev/sda2       890G  166G  680G  20% /home
    I had used Ubuntu Tweak to remove old kernels prior to asking for help, this forum. It showed only 150± Meg to free. Two weeks ago, the / had 12 of 20 gig in use, 8 gig free. Something isn't adding up.

    Thanks.
    AMD FX-6300, 8gig ddr3, MSI 970 Gaming, 256G WD blue SSD, GeForce GT710, HP LJ Pro M277-fdw

  7. #7
    Join Date
    Mar 2011
    Location
    U.K.
    Beans
    Hidden!
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: The volume "Filesystem Root" has only XXX MB disk space available.

    Perhaps run df -i to check inodes?

    http://www.ivankuznetsov.com/2010/02...of-inodes.html

    And another suggestion .. run System Tools > Disk Usage Analyser

    It will take some time to render a picture of diskusage.
    Last edited by dragonfly41; February 16th, 2016 at 09:21 PM. Reason: and run Disk Usage Analyser

  8. #8
    Join Date
    Mar 2006
    Location
    Rumplestiltskin, Cal.
    Beans
    Hidden!
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: The volume "Filesystem Root" has only XXX MB disk space available.

    Code:
    mark@Lexington:~$ df -i
    Filesystem       Inodes  IUsed    IFree IUse% Mounted on
    udev             495046    525   494521    1% /dev
    tmpfs            505986    578   505408    1% /run
    /dev/sda1       1281120 347611   933509   28% /
    DU Analyzer runs and makes a bar chart but how does that help me solve this (becoming a) crisis?
    AMD FX-6300, 8gig ddr3, MSI 970 Gaming, 256G WD blue SSD, GeForce GT710, HP LJ Pro M277-fdw

  9. #9
    Join Date
    Mar 2011
    Location
    U.K.
    Beans
    Hidden!
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: The volume "Filesystem Root" has only XXX MB disk space available.

    Actually Disk Usage Analyser does not allow inspection of root folder. Sorry about that. It is useful for /home inspection.

    It is a matter of inspecting root folder to see where the space is taken up.

    You have used gksu nautilus. You can use Nautilus to look through the contents of computer > /root.

    What I use as a GUI (and it is a personal choice) is Krusader file manager (krusader is in Ubuntu Software Centre) although some say it comes with too much kde baggage.

    Krusader > Tools > Start Root Mode Krusader allows inspection of root folder. Hidden files can be enabled by
    View > Show Hidden Files.

  10. #10
    Join Date
    Mar 2006
    Location
    Rumplestiltskin, Cal.
    Beans
    Hidden!
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: The volume "Filesystem Root" has only XXX MB disk space available.

    Does this help anybody to advise me what to do?

    Code:
    mark@Lexington:~$ sudo du -s -h -x /*
    [sudo] password for mark: 
    9.7M	/bin
    91M	/boot
    4.0K	/cdrom
    4.0K	/dev
    97M	/etc
    165G	/home
    0	/initrd.img
    333M	/lib
    3.7M	/lib32
    4.0K	/lib64
    16K	/lost+found
    8.0K	/media
    4.0K	/mnt
    604M	/opt
    0	/proc
    22M	/root
    1.4M	/run
    13M	/sbin
    4.0K	/selinux
    4.0K	/srv
    0	/sys
    1.1G	/test4.img
    4.0K	/tmp
    6.8G	/usr
    9.6G	/var
    0	/vmlinuz
    AMD FX-6300, 8gig ddr3, MSI 970 Gaming, 256G WD blue SSD, GeForce GT710, HP LJ Pro M277-fdw

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •