Results 1 to 10 of 21

Thread: File system root low disk space

Hybrid View

  1. #1
    Join Date
    May 2011
    Beans
    78

    File system root low disk space

    Hello,

    OK as I said elsewhere am having this issue on two machines with low disk space on file system root. I cannot access anything useful in disk space analyzer because it hangs showing me usage (other post). In gparted it does seem to show me that I have space in my root??

    Below are some screenshots. On this machine my Windows partition is running out of space, but why would that affect root (not the case on the other machine)? Also on this machine I am having issues with the partition getting an underscore and creating two folders under /media. Not sure if its related or if it can be fixed or matters.







    $ sudo du -hs /*
    8.5M /bin
    59M /boot
    4.0K /cdrom
    4.0K /dev
    15M /etc
    du: cannot access `/home/[omit]/WualaDrive': Permission denied
    du: cannot access `/home/[omit]/.gvfs': Permission denied
    3.5G /home
    0 /initrd.img
    0 /initrd.img.old
    283M /lib
    16K /lost+found
    215G /media
    4.0K /mnt
    122M /opt
    du: cannot access `/proc/1639/task/1639/ns/net': No such file or directory
    du: cannot access `/proc/1639/task/1639/ns/uts': No such file or directory
    du: cannot access `/proc/1639/task/1639/ns/ipc': No such file or directory
    du: cannot access `/proc/1639/ns/net': No such file or directory
    du: cannot access `/proc/1639/ns/uts': No such file or directory
    du: cannot access `/proc/1639/ns/ipc': No such file or directory
    du: cannot access `/proc/18624/task/18624/fd/4': No such file or directory
    du: cannot access `/proc/18624/task/18624/fdinfo/4': No such file or directory
    du: cannot access `/proc/18624/fd/4': No such file or directory
    du: cannot access `/proc/18624/fdinfo/4': No such file or directory
    0 /proc
    568K /root
    1.3M /run
    8.8M /sbin
    4.0K /selinux
    4.0K /srv
    0 /sys
    368K /tmp
    3.2G /usr
    912M /var
    0 /vmlinuz
    $ df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/sda5 4.9G 4.8G 0 100% /
    udev 1.9G 4.0K 1.9G 1% /dev
    tmpfs 755M 988K 754M 1% /run
    none 5.0M 0 5.0M 0% /run/lock
    none 1.9G 664K 1.9G 1% /run/shm
    /dev/sda6 212G 2.0G 200G 1% /home
    /home/cabal/.Private 212G 2.0G 200G 1% /home/[omit]
    /dev/sda2 215G 215G 0 100% /media/68D0F622D0F5F662_
    javafs 5.0G 283M 4.8G 6% /home/[omit]/WualaDrive
    Last edited by abexman; October 7th, 2012 at 08:38 PM.

  2. #2
    Join Date
    Feb 2012
    Location
    Athens/Greece
    Beans
    Hidden!
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: File system root low disk space

    Hi ,

    Can you post the results* of bellow commands

    Code:
    df -Th 
    mount 
    sudo parted -l
    *put the results between the brackets [code]Here[/code].

    Thanks

  3. #3
    Join Date
    May 2011
    Beans
    78

    Re: File system root low disk space

    Code:
    $ df -Th
    Filesystem           Type         Size  Used Avail Use% Mounted on
    /dev/sda5            ext4         4.9G  4.8G     0 100% /
    udev                 devtmpfs     1.9G  4.0K  1.9G   1% /dev
    tmpfs                tmpfs        755M  988K  754M   1% /run
    none                 tmpfs        5.0M     0  5.0M   0% /run/lock
    none                 tmpfs        1.9G  328K  1.9G   1% /run/shm
    /dev/sda6            ext4         212G  2.0G  199G   1% /home
    /home/[omit]/.Private ecryptfs     212G  2.0G  199G   1% /home/[omit]
    /dev/sda2            fuseblk      215G  215G     0 100% /media/68D0F622D0F5F662_
    javafs               fuse.javafs  5.0G  283M  4.8G   6% /home/[omit]/WualaDrive
    Code:
    $ mount
    /dev/sda5 on / type ext4 (rw,errors=remount-ro)
    proc on /proc type proc (rw,noexec,nosuid,nodev)
    sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
    none on /sys/fs/fuse/connections type fusectl (rw)
    none on /sys/kernel/debug type debugfs (rw)
    none on /sys/kernel/security type securityfs (rw)
    udev on /dev type devtmpfs (rw,mode=0755)
    devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
    tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
    none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
    none on /run/shm type tmpfs (rw,nosuid,nodev)
    /dev/sda6 on /home type ext4 (rw)
    binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
    /home/[omit]/.Private on /home/[omit] type ecryptfs (ecryptfs_check_dev_ruid,ecryptfs_cipher=aes,ecryptfs_key_bytes=16,ecryptfs_unlink_sigs,ecryptfs_sig=6e04b860f4dd2ec1,ecryptfs_fnek_sig=2e21ed71ca4f7d32)
    gvfs-fuse-daemon on /home/[omit]/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=[omit])
    /dev/sda2 on /media/68D0F622D0F5F662_ type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
    javafs on /home/[omit]/WualaDrive type fuse.javafs (rw,nosuid,nodev,user=[omit])
    Code:
    Model: ATA WDC WD5000BEVT-6 (scsi)
    Disk /dev/sda: 500GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    
    Number  Start   End    Size    Type      File system  Flags
     1      1049kB  210MB  209MB   primary   ntfs         boot
     2      210MB   231GB  231GB   primary   ntfs
     4      231GB   475GB  245GB   extended
     5      231GB   236GB  5243MB  logical   ext4
     7      236GB   245GB  8389MB  logical
     6      245GB   475GB  231GB   logical   ext4
     3      475GB   500GB  24.6GB  primary   ntfs
    
    
    Model: Linux device-mapper (crypt) (dm)
    Disk /dev/mapper/cryptswap1: 8389MB
    Sector size (logical/physical): 512B/512B
    Partition Table: loop
    
    Number  Start  End     Size    File system     Flags
     1      0.00B  8389MB  8389MB  linux-swap(v1)
    
    
    Warning: Unable to open /dev/sr1 read-write (Read-only file system).  /dev/sr1
    has been opened read-only.
    Error: /dev/sr1: unrecognised disk label

  4. #4
    Join Date
    Apr 2005
    Location
    Finland/UK
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: File system root low disk space

    4.9GB sure isn't very much for a root partition, I'd usually recommend something around 10-20GB for root. So it's not a surprise you are running low on space.

    Try uninstalling old kernel packages, cleaning apt's cache, and check sure there's nothing in root's trash directory. That should give you at least some space back.
    Last edited by mcduck; October 7th, 2012 at 10:03 PM.

  5. #5
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: File system root low disk space

    Do you have any idea what sda7 might be?

    There are 7.81 GB of "unknown" usage as far as gparted is concerned, and as it is next door to your 4.9GB root partition it would be relatively easy to delete sda7 and enlarge sda5, your root partition. However that is totally dependent on what the partition might contain.

    What does
    Code:
    sudo fdsik -l
    show please, as that may give us some clues.

  6. #6
    Join Date
    May 2011
    Beans
    78

    Re: File system root low disk space

    Crap. Had followed this install guide in trying to spec partition sizes, where they used ~5gb.
    http://www.dedoimedo.com/computers/d...-7-ubuntu.html

    For that command I get
    sudo: fdsik: command not found ??

    I think the sda7 is just leftovers. I probably did not do a very good job setting up the partition using gparted. I was a little overeager to get Ubuntu up and running. I guess I can try and redo the partition.

    Looks like I can resize using the Live CD & gparted? Assuming the partition goes OK, is that it? I won't have to repair the install after resizing root?

    http://askubuntu.com/questions/60431...root-partition

  7. #7
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,193
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: File system root low disk space

    abexman; Hi !

    "fdsik": slip of the fingers .....correct to be
    Code:
    sudo fdisk -l
    lower case "L"
    Re partitioning: Yeah, live disk (so working with non mounted partitions); delete sda7 and enlarge sda5.
    Worst that should result is having to re-install grub. If so, no big deal.

    The learning experience is worth all the effort !
    regards <==BDQ

  8. #8
    Join Date
    Feb 2012
    Location
    Athens/Greece
    Beans
    Hidden!
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: File system root low disk space

    Quote Originally Posted by ajgreeny View Post
    What does
    Code:
    sudo fdsik -l
    show please, as that may give us some clues.
    Quote Originally Posted by abexman View Post
    For that command I get
    sudo: fdsik: command not found ??
    Yes , there is a misspell there. It is
    Code:
    sudo fdisk -l
    Quote Originally Posted by abexman View Post
    Looks like I can resize using the Live CD & gparted? Assuming the partition goes OK, is that it? I won't have to repair the install after resizing root?

    http://askubuntu.com/questions/60431...root-partition
    Yes you can resize (expand) the / root partition , but carefully. DO NOT ever resize from the beginning to the end. Just expand the end of partition.
    Of course you must have space (or steel space from other partitions) and important thing is that This space must be NEXT to / root partition.

    Maybe it will need to move some space.

    IF you are not sure , the best thing is to Attach an image of Gparted here and we will see.

    Thanks

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
  •