Announcement

Collapse
No announcement yet.

disk space

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

    disk space

    i have now clue why my hard drive has almost completely filled up i have not done any thing... i can just be sitting looking at my available space not doing anything at all and it just keeps going down and down. yesterday when i installed kubuntu i had 19G which is not near as big as i would like cause i cant afford much more but was not expecting it to fill up over night. what am i doing to loose all of that space? all i have been doing is the stuff to try and get my wire less card running. have i done something wrong with sudo commands??
    can anyone help me with my problem

    #2
    Re: disk space

    we can try.
    obviously, your disc should not be filling up like that.
    alright.
    first off, we need some info about your system.
    we need to start a konsole.

    pls post back here the result of the following commands:

    Code:
    sudo fdisk -l
    the list of all the partitions known to the system

    Code:
    df -h
    the list of the mounted file systems, their current usage, ...

    gnu/linux is not windoze

    Comment


      #3
      Re: disk space

      There could be any number of reasons for you to have this problem. So first we need to find out where all that space is going. Open up a terminal (Launch -> System -> Konsole). Then type in the following commands.
      Code:
      cd /
      sudo du -ch | grep [0-9]G
      This command is going to take a little bit of time to run. Just as an fyi, du is 'disk usage'. -c is 'count'. -h is 'human, i.e. megabytes, gigabyets, etc'. Because gigs of space is getting used, were going to look for directories that contain gigs worth of files '[0-9]G'.

      Post that output here, and see if we can't figure out what's happening.

      Comment


        #4
        Re: disk space

        Simpler command. Open a console and type:
        Code:
        df -hTxtmpfs
        Copy and paste the output into a reply. This will show us your diskspace stats.
        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: disk space

          battey@battey-laptop:~$ sudo fdisk -l

          Disk /dev/hda: 20.0 GB, 20003880960 bytes
          255 heads, 63 sectors/track, 2432 cylinders
          Units = cylinders of 16065 * 512 = 8225280 bytes
          Disk identifier: 0xcccdcccd

          Device Boot Start End Blocks Id System
          /dev/hda1 * 1 2325 18675531 83 Linux
          /dev/hda2 2326 2432 859477+ 5 Extended
          /dev/hda5 2326 2432 859446 82 Linux swap / Solaris


          battey@battey-laptop:~$ df -h
          Filesystem Size Used Avail Use% Mounted on
          /dev/hda1 18G 17G 0 100% /
          varrun 244M 156K 244M 1% /var/run
          varlock 244M 0 244M 0% /var/lock
          udev 244M 44K 244M 1% /dev
          devshm 244M 0 244M 0% /dev/shm
          lrm 244M 38M 207M 16% /lib/modules/2.6.24-16-generic/volatile
          /dev/sda1 964M 373M 592M 39% /media/STORE'N'GO


          battey@battey-laptop:~$ cd /
          battey@battey-laptop:/$ sudo du -ch | grep [0-9]G
          du: cannot access `./proc/17831/task/17831/fd/3': No such file or directory
          du: cannot access `./proc/17831/task/17831/fdinfo/3': No such file or directory
          du: cannot access `./proc/17831/fd/3': No such file or directory
          du: cannot access `./proc/17831/fdinfo/3': No such file or directory
          1.7G ./usr

          15G ./home/battey
          15G ./home
          17G .
          17G total



          battey@battey-laptop:~$ df -hTxtmpfs
          Filesystem Type Size Used Avail Use% Mounted on
          /dev/hda1 ext3 18G 17G 0 100% /
          /dev/sda1 vfat 964M 373M 592M 39% /media/STORE'N'GO

          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~
          I tried everyones options just to have the best chance

          Comment


            #6
            Re: disk space

            Your problem is that the single partition you set up for the OS is full:
            battey@battey-laptop:~$ df -hTxtmpfs
            Filesystem Type Size Used Avail Use% Mounted on
            /dev/hda1 ext3 18G 17G 0 100% /
            /dev/sda1 vfat 964M 373M 592M 39% /media/STORE'N'GO
            For a simple fix, open a console and run the following command:
            Code:
            sudo apt-get autoclean
            followed by:
            Code:
            df -hTxtmpfs
            If the Use% doesn't go down significantly, then run:
            Code:
            sudo apt-get clean
            and then:
            Code:
            df -hTxtmpfs
            You should now have a reasonable amount of space on your HD.

            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: disk space

              battey@battey-laptop:~$ sudo apt-get autoclean
              [sudo] password for battey:
              Reading package lists... Done
              Building dependency tree
              Reading state information... Done
              battey@battey-laptop:~$ df -hTxtmpfs
              Filesystem Type Size Used Avail Use% Mounted on
              /dev/hda1 ext3 18G 17G 0 100% /
              /dev/sda1 vfat 964M 373M 592M 39% /media/STORE'N'GO
              battey@battey-laptop:~$ sudo apt-get clean
              battey@battey-laptop:~$ df -hTxtmpfs
              Filesystem Type Size Used Avail Use% Mounted on
              /dev/hda1 ext3 18G 17G 0 100% /
              /dev/sda1 vfat 964M 373M 592M 39% /media/STORE'N'GO
              battey@battey-laptop:~$

              Comment


                #8
                Re: disk space

                Well, that means you have a real space issue to deal with. The two apt-get commands: autoclean and clean deal with package files that were downloaded (and saved). Autoclean removes those packages no longer needed. Clean removes all the downloaded packages. As you have run both, and your space on /dev/hda1 has not changed (Avail is still 0 and Use% is still 100%), you are going to have to look at removing, or moving to another HD, a lot of your non-system files (files and/or folders) in your /home directory.

                Let's see just how much space in your /home directory is being used of the total on /. Open a console and type:
                Code:
                df -hTxtmpfs /home
                Copy and paste the output for review.
                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: disk space

                  hey guys i had to be away from my computer for a few days and when i got back on my problem was reversed. all of the sudden i have plenty of space on my hard drive... so not sure what happened. but thanks for all the help.

                  Comment

                  Working...
                  X