Find the answer to your Linux question:
Results 1 to 5 of 5
I booted my laptop the other day (running openSUSE 10.3), and my x login screen told me that my HD was full. I got rid of some sludge, but still ...
  1. #1
    Just Joined!
    Join Date
    Dec 2005
    Posts
    2

    [SOLVED] Full HD problem (odd)

    I booted my laptop the other day (running openSUSE 10.3), and my x login screen told me that my HD was full. I got rid of some sludge, but still have only 2.2g free. I feel I should have more. some details:

    df -h:
    /dev/sda2 20G 17G 2.2G 89% /
    udev 1014M 120K 1013M 1% /dev
    /dev/sda3 72G 39G 30G 56% /home

    du -sh /*:
    7.4M /bin
    36M /boot
    120K /dev
    79M /etc
    38G /home
    186M /lib
    16K /lost+found
    4.0K /media
    4.0K /mnt
    207M /opt
    0 /proc
    109M /root
    9.7M /sbin
    88K /srv
    0 /sys
    124K /tmp
    5.4G /usr
    409M /var

    Okay, so the 'df' shows that there is 17G used, but adding up the results of 'du' shows me at most 7g used on this partition. Any Ideas?

  2. #2
    Linux Newbie raghaven.kumar's Avatar
    Join Date
    Mar 2008
    Location
    Bangalore, India
    Posts
    209
    If you are not using the other partitions
    unmount them
    and try du again !

    AND tell us the result.

  3. #3
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    Use df -i

    Maybe you just ran out of i-nodes.

  4. #4
    Just Joined!
    Join Date
    Dec 2005
    Posts
    2

    Solution:

    Hey guys, not care if you care about this solution or no, but I backup my virtual machines nightly over the network (rsync)..... I had been sending them over a smb mount..... which wasn't mounted at the time of one of the backups! So, files copied into a directory I couldn't see because a network share was mounted there a bootup. Thus the discrepancy between the two results.....

    Thanks raghaven!

  5. #5
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    Thanks for posting the update, good to share the knowledge

    Glad you got sorted!

Posting Permissions

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