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

Thread: disk full

  1. #1
    Join Date
    Jun 2009
    Location
    Timisoara, Romania
    Posts
    190

    Exclamation disk full

    hello all,

    As I logged in to my OpenSuse today I noticed a messaged in GUI that said that I have / partition full.
    How can I find what process or ... what happened because yesterday I had a lot of disk space.Is there a log file for this?

    Thanks!

  2. #2

    Default Re: disk full

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    First, find out what is actually full, and post the output from:

    df -h

    Good luck.





    ionpetrache wrote:
    > hello all,
    >
    > As I logged in to my OpenSuse today I noticed a messaged in GUI that
    > said that I have / partition full.
    > How can I find what process or ... what happened because yesterday I
    > had a lot of disk space.Is there a log file for this?
    >
    > Thanks!
    >
    >

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.9 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iQIcBAEBAgAGBQJKXKGsAAoJEF+XTK08PnB5z20QAJt9jq95SNx1+psjpXvsJ0VZ
    ngtyofW3wEjsu5N5P5uu4uQEfZSmcqj1am0fBztrcc6ba4WMXMXUxJ45d6rA2iAX
    EIzCp4Oes/EcK5GrkVB2tqpKXnw100kXPj03NJP+oxKYj/6rzQKaTXmK/WWon63P
    D37eYs3z11wPY0H1L1OSnjocR0sKfnw5DDZeu6BbujyprQ0X54ftlj+nCkU4qR/0
    nSTL57nDEL/31DUuLV5cvjC21nvlFPSSguhsakfEeT7e1yxG10IJ/k0qBvQmpAB6
    s0/vyjZYpd22isUeIiUpew5YgWkJv/4h2lbOPgHI6eLQmIT8JVT1QVVV5cvUTosD
    s6s7yGwmIAI5Rz8wheKtG5ZiYzHtXp3pTa7zGqaGr67gvyu6p84zM3LFB9HrlKzF
    pjNKTKnNR7DnvMagbKUHUeWWu0yzRhpsOy3wUOQe7SLsPh1dwG98VAzml1SwFakX
    WA9gTW/YMdQHG6DmwaPgRFN5V6mF0+khGXEIEBNABgzFngGzpag0lrL1zYZf/ixv
    /EApHGNvvK/qguStuRHmMogvmfzRKq8Nf1VvA4jt0ZPhaDu4Vl8oKWvnyFIiaufl
    IQA3vu6eG1Oil9bevLsJzfi7ZimixR6iAUgVPdRSSL4B6Z2Qvqvn0SKCBeSGG1sN
    RtNO7ZXMKRBJNZ1lckrE
    =zbNR
    -----END PGP SIGNATURE-----

  3. #3
    brassy NNTP User

    Default Re: disk full

    and, if it is full it is (i GUESS) a runaway log file...look in
    /var/log for a monster file or more..

    or, it might actually be full because of a hardware problem in which
    much of the drive became inaccessible...

    --
    brassy

  4. #4
    Join Date
    Jun 2009
    Location
    Timisoara, Romania
    Posts
    190

    Default Re: disk full

    The output of df -h is:

    Filesystem Size Used Avail Use% Mounted on
    /dev/sda3 14G 14G 0 100% /
    udev 125M 56K 125M 1% /dev
    /dev/sda2 23G 198M 22G 1% /home



    Quote Originally Posted by ab@novell.com View Post
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    First, find out what is actually full, and post the output from:

    df -h

    Good luck.


    ionpetrache wrote:
    > hello all,
    >
    > As I logged in to my OpenSuse today I noticed a messaged in GUI that
    > said that I have / partition full.
    > How can I find what process or ... what happened because yesterday I
    > had a lot of disk space.Is there a log file for this?
    >
    > Thanks!
    >
    >

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.9 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - Enigmail: A simple interface for OpenPGP email security

    iQIcBAEBAgAGBQJKXKGsAAoJEF+XTK08PnB5z20QAJt9jq95SNx1+psjpXvsJ0VZ
    ngtyofW3wEjsu5N5P5uu4uQEfZSmcqj1am0fBztrcc6ba4WMXMXUxJ45d6rA2iAX
    EIzCp4Oes/EcK5GrkVB2tqpKXnw100kXPj03NJP+oxKYj/6rzQKaTXmK/WWon63P
    D37eYs3z11wPY0H1L1OSnjocR0sKfnw5DDZeu6BbujyprQ0X54ftlj+nCkU4qR/0
    nSTL57nDEL/31DUuLV5cvjC21nvlFPSSguhsakfEeT7e1yxG10IJ/k0qBvQmpAB6
    s0/vyjZYpd22isUeIiUpew5YgWkJv/4h2lbOPgHI6eLQmIT8JVT1QVVV5cvUTosD
    s6s7yGwmIAI5Rz8wheKtG5ZiYzHtXp3pTa7zGqaGr67gvyu6p84zM3LFB9HrlKzF
    pjNKTKnNR7DnvMagbKUHUeWWu0yzRhpsOy3wUOQe7SLsPh1dwG98VAzml1SwFakX
    WA9gTW/YMdQHG6DmwaPgRFN5V6mF0+khGXEIEBNABgzFngGzpag0lrL1zYZf/ixv
    /EApHGNvvK/qguStuRHmMogvmfzRKq8Nf1VvA4jt0ZPhaDu4Vl8oKWvnyFIiaufl
    IQA3vu6eG1Oil9bevLsJzfi7ZimixR6iAUgVPdRSSL4B6Z2Qvqvn0SKCBeSGG1sN
    RtNO7ZXMKRBJNZ1lckrE
    =zbNR
    -----END PGP SIGNATURE-----

  5. #5
    brassy NNTP User

    Default Re: disk full

    ionpetrache wrote:
    > The output of df -h is:
    >
    > Filesystem Size Used Avail Use% Mounted on
    > /dev/sda3 14G 14G 0 100% /
    > udev 125M 56K 125M 1% /dev
    > /dev/sda2 23G 198M 22G 1% /home
    >


    i know you did as AB said, and i know that AB knows a LOT more about
    this than i do, and i know that s/he will come to work in a few hours,
    but:

    all i can tell from above is that, in fact, your hard drives partition
    sda3 is full...and, that sda3 is where the root directory (/) is mounted..

    do, the following in a terminal, post the results back here and maybe
    AB can zero in on the monster:

    Code:
    su     [and supply root password when requested, then]
    cd / && du -cks * | sort -rn | head -11
    depending on magic, it might take several minutes for that to
    run....during that time not much seems to happen, but it is...so, be
    patient...

    AB, over to you!

    --
    brassy

  6. #6
    Join Date
    Jun 2009
    Location
    Timisoara, Romania
    Posts
    190

    Default Re: disk full

    The output of the command is:

    cd / && du -cks * | sort -rn | head -11
    du: cannot access `proc/13114/task/13114/fd/4': No such file or directory
    du: cannot access `proc/13114/task/13114/fdinfo/4': No such file or directory
    du: cannot access `proc/13114/fd/4': No such file or directory
    du: cannot access `proc/13114/fdinfo/4': No such file or directory
    14081484 total
    9958596 var
    3109840 usr
    833604 opt
    72572 lib
    43460 etc
    26368 home
    9844 boot
    9800 root
    9340 sbin
    7568 bin

  7. #7
    brassy NNTP User

    Default Re: disk full

    ionpetrache wrote:
    > The output of the command is:
    >
    > cd / && du -cks * | sort -rn | head -11
    > du: cannot access `proc/13114/task/13114/fd/4': No such file or
    > directory
    > du: cannot access `proc/13114/task/13114/fdinfo/4': No such file or
    > directory
    > du: cannot access `proc/13114/fd/4': No such file or directory
    > du: cannot access `proc/13114/fdinfo/4': No such file or directory
    > 14081484 total
    > 9958596 var
    > 3109840 usr
    > 833604 opt
    > 72572 lib
    > 43460 etc
    > 26368 home
    > 9844 boot
    > 9800 root
    > 9340 sbin
    > 7568 bin
    >


    ok...in my first note to you i mentioned it was probably a runaway
    log...and, since logs are in var, the above point toward that
    also...do this

    Code:
    sudo ls -ahoRS /var/log | head
    and give the root password when challenged...

    then post the results back here...i guess we will find something like
    zypper.log, messages or firewall is filled with something that may or
    may not be important AND your log rotate needs to be adjusted, and
    maybe whatever is being reported to the log needs attention...

    hopefully, someone smarter than me can help you with that..

    --
    brassy

  8. #8
    Join Date
    Jun 2009
    Location
    Timisoara, Romania
    Posts
    190

    Default Re: disk full

    ls -ahoRS /var/log | head
    /var/log:
    total 9.4G
    -rw-r----- 1 root 9.4G Jul 14 08:45 firewall-20090714
    -rw-r----- 1 root 8.6M Jul 14 13:38 firewall-20090714.bz2
    -rw-r----- 1 root 4.8M Jul 15 13:16 firewall
    -rw-r----- 1 root 2.5M Jul 13 13:25 firewall-20090713.bz2
    -rw-r----- 1 root 1.6M Jul 11 13:22 firewall-20090711.bz2
    -rw-r----- 1 root 1.3M Jul 15 08:49 zypper.log
    -rw-r----- 1 root 936K Jul 15 14:46 messages
    -rw-r----- 1 root 766K Jul 15 14:46 warn


    yes, seems to be a firewall log but why such a big file???and how can I make a size limit on log files ...or I should make a script to delete files in /var/log day by day?

  9. #9
    Join Date
    Jun 2009
    Location
    Timisoara, Romania
    Posts
    190

    Default Re: disk full

    Thanks a lot for the information!

  10. #10
    Join Date
    Jun 2008
    Location
    /dev/belgium
    Posts
    1,946

    Default Re: disk full

    in Yast firewall settings, you can turn off firewall logging

    I wonder why logrotate hasn't rotated your logs

Page 1 of 2 12 LastLast

Posting Permissions

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