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

Thread: Disk full

  1. #1
    Join Date
    Mar 2018
    Beans
    6

    Disk full

    Hi.. Guys.. I mounted second harddrive over a folder more than once.. Now my disk says it's full.. Df says only 16gb of 400gb used... I tried bind mount but cannot seem to find what is taking up the space..

  2. #2
    Join Date
    Dec 2017
    Location
    RockyMts
    Beans
    1,167

    Re: Disk full

    Hello

    Its not your /boot full of old kernels?
    Code:
    df -h /boot
    https://help.ubuntu.com/community/RemoveOldKernels

  3. #3
    Join Date
    Mar 2018
    Beans
    6

    Re: Disk full

    Nope
    . Cleaned that out...

  4. #4
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Disk full

    Have you emptied trash?
    And if using sudo , emptied root's trash which can be difficult to do?

    Post this:

    df -H

    https://sites.google.com/site/easyli...sproject/clean
    Do yourself a favor and avoid bleachbit.
    Updates, backups, delete old kernels - TheFu in Forums
    http://blog.jdpfu.com/2011/06/24/sys...-for-linux-pcs
    https://help.ubuntu.com/community/RemoveOldKernels
    RecoverLostDiskSpace
    https://help.ubuntu.com/community/RecoverLostDiskSpace


    # check sizes of
    Partition sizes
    df -Th | grep sd| sort
    Inodes:
    df -i
    cd / or cd /home
    sudo du -hc --max-depth=1
    Shows just /
    sudo du -hx --max-depth=1 / 2> /dev/null
    to also see hidden in /root folder
    sudo du -sh /root/.[A-z]* /root/*
    #check for large files:
    sudo du -h --max-depth=1 / | grep '[0-9]G\>' # folders larger than 1GB
    sudo find / -name '*' -size +1G # files larger than 1GB
    sudo -H nautilus /root/.local/share/Trash/files # Be sure to enable viewing of hidden files.


    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  5. #5
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,616
    Distro
    Ubuntu

    Re: Disk full

    What do you mean by
    I mounted second harddrive over a folder more than once
    Please clarify this.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  6. #6
    Join Date
    Mar 2018
    Beans
    6

    Re: Disk full

    2 hardrives.. Sda which the maindrive and a second harddrive Sdb... Mounted sdb1 partion onto media folder.. Media/hardrive2... Ran rsync to copy changes from sda to sdb1 via folder media/hardrive2 mounted folder... Rsync would complete and the Ubuntu os would unmount hardrive2 folder...Then we would remount media/hardrive2... However we were not aware that when we remount the old mount was still there and the rsync files were copied into hardrive2 folder... The os overlays or 'hides' the first folder and writes to the second folder.. This is what I suspect has taken up the space.. Based on my reading... I have tried mount - - bind which did show one folder under mrdia/hardrive2 mount with info on it.. Which I unmount... However the hard drive sda says still full.... I suspect that remount multiple times cause multiple overlays.. Which I cannot seem to locate in media/hardrive2 via bind mount... Please help
    Last edited by vee123; March 2nd, 2018 at 05:08 AM.

  7. #7
    Join Date
    Mar 2018
    Beans
    6

    Re: Disk full

    hi emptied trash and tried all commands...these files seem to be hidden by the mount command ...tried mount --bind folder one hidden folder..but there are more that i cannot find...

    Code:
    df -h
    Filesystem      Size  Used Avail Use% Mounted on
    /dev/sda1       451G  451G     0 100% /
    none            4,0K     0  4,0K   0% /sys/fs/cgroup
    udev            7,8G  4,0K  7,8G   1% /dev
    tmpfs           1,6G  844K  1,6G   1% /run
    none            5,0M     0  5,0M   0% /run/lock
    none            7,8G     0  7,8G   0% /run/shm
    none            100M     0  100M   0% /run/user
    overflow        1,0M  8,0K 1016K   1% /tmp
    Last edited by QIII; March 2nd, 2018 at 05:42 AM. Reason: code tags added

  8. #8
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,616
    Distro
    Ubuntu

    Re: Disk full

    post the mount commands used.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  9. #9
    Join Date
    Mar 2018
    Beans
    6

    Re: Disk full

    Code:
    sudo mount /dev/sdb1 /media/hardrive2
    .
    Last edited by QIII; March 2nd, 2018 at 05:42 AM. Reason: quote tags --> code tags

  10. #10
    Join Date
    Dec 2007
    Beans
    12,521

    Re: Disk full

    Please use code tags!

Page 1 of 2 12 LastLast

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
  •