Announcement

Collapse
No announcement yet.

Something gobbled root

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Something gobbled root

    OK the other day i ran df and got this

    Code:
    ka9qlq@dittohead:~$ df
    Filesystem     1K-blocks   Used Available Use% Mounted on
    /dev/sdb1      20807184 19354776  403768 98% /
    varrun         998752   204  998548 1% /var/run
    varlock        998752    4  998748 1% /var/lock
    udev          998752    92  998660 1% /dev
    devshm         998752    0  998752 0% /dev/shm
    lrm          998752  39976  958776 5% /lib/modules/2.6.24-21-rt/volatile
    /dev/sdb2      49636212 30909956 16204856 66% /home
    /dev/sda5      153834820  131220 145889188 1% /mnt/storage1
    /dev/sdc5      151731104  131220 145433820 1% /mnt/storage2
    /dev/sdb3       6693980  146028 6210588 3% /mnt/sdb3
    /dev/sdd2      948743276 339155472 561773948 38% /mnt/sdd2
    Every program I use to see what's eating all that space [it's a 20gb partition] says your only using 5.2 gigs. I ran

    Code:
     sudo touch /forcefsck
    to force fsck and rebooted nada. I was using Midnight Commander to copy 100 gigs and it crashed so I'm thinking maybe it caused something to not quite deleted but isn't listed anywhere. I'm tring to post a screen cap of filelight to use for reference.
    Ideas anyone?
    Thanks
    Attached Files
    Thanks
    Alvin ARS ka9qlq
    Kubuntu 12.04 on a AMD X2 6000+ Asus M3A78-CM 4 GB RAM ATI Radeon 3100 256MB & 2 TB SATA HD
    Just believing there IS a God won't get you to Heaven.
    Accepting Jesus as your Lord and master is the only way!
    http://www.4laws.com/laws/languages.html
    http://www.godssimpleplan

    #2
    Re: Something gobbled root

    Open a console and type:
    Code:
    sudo apt-get autoclean
    sudo apt-get autoremove
    sudo apt-get clean
    df -hTxtmpfs
    See if things have improved.
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: Something gobbled root

      Code:
      ka9qlq@dittohead:~$ sudo apt-get autoclean
      [sudo] password for ka9qlq:
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      ka9qlq@dittohead:~$ sudo apt-get autoremove
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      The following packages were automatically installed and are no longer required:
       linux-headers-2.6.24-19-generic libadplug0c2a linux-headers-2.6.24-19
      The following packages will be REMOVED:
       libadplug0c2a linux-headers-2.6.24-19 linux-headers-2.6.24-19-generic
      0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
      After this operation, 68.8MB disk space will be freed.
      Do you want to continue [Y/n]? y
      (Reading database ... 258858 files and directories currently installed.)
      Removing libadplug0c2a ...
      Removing linux-headers-2.6.24-19-generic ...
      Removing linux-headers-2.6.24-19 ...
      Processing triggers for libc6 ...
      ldconfig deferred processing now taking place
      ka9qlq@dittohead:~$ sudo apt-get clean
      ka9qlq@dittohead:~$ df -hTxtmpfs
      Filesystem  Type  Size Used Avail Use% Mounted on
      /dev/sdb1   ext3   20G  19G 568M 98% /
      /dev/sdb2   ext3   48G  30G  16G 66% /home
      /dev/sda5   ext3  147G 129M 140G  1% /mnt/storage1
      /dev/sdc5   ext3  145G 129M 139G  1% /mnt/storage2
      /dev/sdb3   ext3  6.4G 143M 6.0G  3% /mnt/sdb3
      /dev/sdd2   ext3  905G 324G 536G 38% /mnt/sdd2
      This is crazy....but thanks for posting so fast
      Thanks
      Alvin ARS ka9qlq
      Kubuntu 12.04 on a AMD X2 6000+ Asus M3A78-CM 4 GB RAM ATI Radeon 3100 256MB & 2 TB SATA HD
      Just believing there IS a God won't get you to Heaven.
      Accepting Jesus as your Lord and master is the only way!
      http://www.4laws.com/laws/languages.html
      http://www.godssimpleplan

      Comment


        #4
        Re: Something gobbled root

        Well, that eliminates downloaded packages as the culprit. Do you by chance, have Strigi activated?
        Windows no longer obstructs my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #5
          Re: Something gobbled root

          No, don't know how to use it.
          Thanks
          Alvin ARS ka9qlq
          Kubuntu 12.04 on a AMD X2 6000+ Asus M3A78-CM 4 GB RAM ATI Radeon 3100 256MB & 2 TB SATA HD
          Just believing there IS a God won't get you to Heaven.
          Accepting Jesus as your Lord and master is the only way!
          http://www.4laws.com/laws/languages.html
          http://www.godssimpleplan

          Comment


            #6
            Re: Something gobbled root

            Open a console and type:
            Code:
            sudo ls -allRS / | more
            This will be slow, in that you will be presented files, is size order (largest to smallest) in each directory, beginning with /, a page at a time. You can look for very large files and note the name(s) of each (write them down exactly). Let me know what you find.
            Windows no longer obstructs my view.
            Using Kubuntu Linux since March 23, 2007.
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment


              #7
              Re: Something gobbled root

              I piped that to a txt file

              Code:
               sudo ls -allRS / > /home/ka9qlq/lstext.txt
              and it's 33.6 MEGAbyts!!!!!!! I don't see anything big so far. I really don't want to reinstall
              Thanks
              Thanks
              Alvin ARS ka9qlq
              Kubuntu 12.04 on a AMD X2 6000+ Asus M3A78-CM 4 GB RAM ATI Radeon 3100 256MB & 2 TB SATA HD
              Just believing there IS a God won't get you to Heaven.
              Accepting Jesus as your Lord and master is the only way!
              http://www.4laws.com/laws/languages.html
              http://www.godssimpleplan

              Comment


                #8
                Re: Something gobbled root

                You won't need to reinstall. Just identify the file(s) that you suspect are hogging up your root directory. It/they should be fairly easy to spot, as it/they will be few and very large. Once you believe you have identified the culprit(s), post the name(s) here for some investigation.
                Windows no longer obstructs my view.
                Using Kubuntu Linux since March 23, 2007.
                "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                Comment


                  #9
                  Re: Something gobbled root

                  I'm wondering why Kdirstat doesn't show 19 gb of files though I think what ever is hogging 14 gb there it's not a regular file. Look at this screen cap and do the math
                  Thanks
                  Attached Files
                  Thanks
                  Alvin ARS ka9qlq
                  Kubuntu 12.04 on a AMD X2 6000+ Asus M3A78-CM 4 GB RAM ATI Radeon 3100 256MB & 2 TB SATA HD
                  Just believing there IS a God won't get you to Heaven.
                  Accepting Jesus as your Lord and master is the only way!
                  http://www.4laws.com/laws/languages.html
                  http://www.godssimpleplan

                  Comment


                    #10
                    Re: Something gobbled root

                    I've got to question which drive you are looking at. Your initial report:
                    ka9qlq@dittohead:~$ df -hTxtmpfs
                    Filesystem Type Size Used Avail Use% Mounted on
                    /dev/sdb1 ext3 20G 19G 568M 98% /
                    /dev/sdb2 ext3 48G 30G 16G 66% /home
                    /dev/sda5 ext3 147G 129M 140G 1% /mnt/storage1
                    /dev/sdc5 ext3 145G 129M 139G 1% /mnt/storage2
                    /dev/sdb3 ext3 6.4G 143M 6.0G 3% /mnt/sdb3
                    /dev/sdd2 ext3 905G 324G 536G 38% /mnt/sdd2
                    Shows a 20G root partition on sdb1 (2nd HD, 2nd partition). But your screen shot identifies a 5.09G root partition. Can you explain?
                    Windows no longer obstructs my view.
                    Using Kubuntu Linux since March 23, 2007.
                    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                    Comment


                      #11
                      Re: Something gobbled root

                      sdb1 is / or root [long story but it's correct] and running Kdirstat shows 5.09 gb of files on it I don't think it lists free space
                      thanks
                      Thanks
                      Alvin ARS ka9qlq
                      Kubuntu 12.04 on a AMD X2 6000+ Asus M3A78-CM 4 GB RAM ATI Radeon 3100 256MB & 2 TB SATA HD
                      Just believing there IS a God won't get you to Heaven.
                      Accepting Jesus as your Lord and master is the only way!
                      http://www.4laws.com/laws/languages.html
                      http://www.godssimpleplan

                      Comment


                        #12
                        Re: Something gobbled root

                        It's got to be some kind of lost files that ls wont show........right?
                        Thanks
                        Alvin ARS ka9qlq
                        Kubuntu 12.04 on a AMD X2 6000+ Asus M3A78-CM 4 GB RAM ATI Radeon 3100 256MB & 2 TB SATA HD
                        Just believing there IS a God won't get you to Heaven.
                        Accepting Jesus as your Lord and master is the only way!
                        http://www.4laws.com/laws/languages.html
                        http://www.godssimpleplan

                        Comment


                          #13
                          Re: Something gobbled root

                          ls -all shows all files, even hidden ones within the selected directory. The R (recursive) beginning at / shows all files in the filesystem tree on the drive/partition you are running the command on. If you don't see/can't account for any file(s) that might be the culprit(s), then look in the trash bin. If the trash bin says it's empty, it might not actually be.
                          Windows no longer obstructs my view.
                          Using Kubuntu Linux since March 23, 2007.
                          "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                          Comment


                            #14
                            Re: Something gobbled root

                            OK as an experiment I used to mc to copy "/" to another 20 gb partition I just happened to have. I didn't copy

                            /home
                            /proc
                            /sys
                            /media
                            /mnt

                            then I ran df

                            Code:
                            ka9qlq@dittohead:~$ df
                            Filesystem      1K-blocks   Used Available Use% Mounted on
                            /dev/sdb1       20807184 19166840  591704 98% /
                            varrun         998752    200  998552  1% /var/run
                            varlock         998752     4  998748  1% /var/lock
                            udev          998752    84  998668  1% /dev
                            devshm         998752     0  998752  0% /dev/shm
                            lrm           998752   39976  958776  5% /lib/modules/2.6.24-21-rt/volatile
                            /dev/sdb2       49636212 30981832 16132980 66% /home
                            /dev/sda5      153834820  131220 145889188  1% /mnt/storage1
                            /dev/sdc5      151731104  131220 145433820  1% /mnt/storage2
                            /dev/sdb3       6693980  146028  6210588  3% /mnt/sdb3
                            /dev/sdd2      948743276 340083124 560846296 38% /mnt/sdd2
                            /dev/sdd1       20321312  6391520 12905652 34% /mnt/sdd1
                            notice sdb1 and sdd1? it copied about 6.3 gig's of files which is what should be on sdb1. Something really screwy is going on.

                            Question if I do reinstall is there a way to list everything I have installed since I installed Kubuntu? I want to bring everything back as is if possible like "apt-get install
                            • "
                              Thanks
                            Thanks
                            Alvin ARS ka9qlq
                            Kubuntu 12.04 on a AMD X2 6000+ Asus M3A78-CM 4 GB RAM ATI Radeon 3100 256MB & 2 TB SATA HD
                            Just believing there IS a God won't get you to Heaven.
                            Accepting Jesus as your Lord and master is the only way!
                            http://www.4laws.com/laws/languages.html
                            http://www.godssimpleplan

                            Comment


                              #15
                              Re: Something gobbled root

                              Reinstalled problem fixed
                              Thanks
                              Alvin ARS ka9qlq
                              Kubuntu 12.04 on a AMD X2 6000+ Asus M3A78-CM 4 GB RAM ATI Radeon 3100 256MB & 2 TB SATA HD
                              Just believing there IS a God won't get you to Heaven.
                              Accepting Jesus as your Lord and master is the only way!
                              http://www.4laws.com/laws/languages.html
                              http://www.godssimpleplan

                              Comment

                              Working...
                              X