Announcement

Collapse
No announcement yet.

help! hda3 is reporting false usage.

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

    help! hda3 is reporting false usage.

    Hello.

    I have three partitions

    /dev/hda1 - /
    /dev/hda3 - /home
    /dev/hda4+5 - extended+swap.

    I originally had kubuntu installed.. and then, I re-partitioned hda3 last night, and re-installed kubuntu on it. The kubuntu installer picked up "17gb" used - the rest of the 80gb was free. however, gparted does not report the same.

    Here are some outputs:

    Code:
    wastedfluid@fluid:~$ df
    Filesystem      1K-blocks   Used Available Use% Mounted on
    /dev/hda1       10317828  2745840  7571988 27% /
    varrun         452132    104  452028  1% /var/run
    varlock         452132     0  452132  0% /var/lock
    procbususb       452132    100  452032  1% /proc/bus/usb
    udev          452132    100  452032  1% /dev
    devshm         452132     0  452132  0% /dev/shm
    lrm           452132   33788  418344  8% /lib/modules/2.6.20-16-generic/volatile
    /dev/hda3       60460000 18240032 42219968 31% /home
    wastedfluid@fluid:~$
    I don't understand.

    Here's a screenshot.

    See:


    http://img207.imageshack.us/my.php?i...apshot3bh1.png



    http://img122.imageshack.us/my.php?i...apshot4mg7.png


    Could it be something in my profile (/home/wastedfluid) ?

    I do mount /dev/hda3/ as /home, so when i re-installed the OS - perhaps it's showing old statistics? I have no idea.

    Thanks for any help you can provide!

    #2
    Re: help! hda3 is reporting false usage.

    Open a console (as root) and type:
    Code:
    fdisk -l
    Post 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


      #3
      Re: help! hda3 is reporting false usage.

      Code:
      wastedfluid@fluid:~$ sudo fdisk -l
      Password:
      
      Disk /dev/hda: 100.0 GB, 100030242816 bytes
      255 heads, 63 sectors/track, 12161 cylinders
      Units = cylinders of 16065 * 512 = 825280 bytes
      
        Device Boot   Start     End   Blocks  Id System
      /dev/hda1  *      1    1305  10482381  83 Linux
      /dev/hda3      1306    11841  84630420  83 Linux
      /dev/hda4      11842    12161   2570400  5 Extended
      /dev/hda5      11842    12161   2570368+ 82 Linux swap / Solaris
      wastedfluid@fluid:~$
      Thanks your reply.

      Comment


        #4
        Re: help! hda3 is reporting false usage.

        Okay, I'll have to admit that I'm not sure there is a problem, but ....

        Open another console and type:
        Code:
        pg /etc/fstab
        and post that also. Comparing the results of fdisk -l and fstab will be helpful.
        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: help! hda3 is reporting false usage.

          Code:
          wastedfluid@fluid:~$ pg /etc/fstab
          # /etc/fstab: static file system information.
          #
          # <file system> <mount point>  <type> <options>    <dump> <pass>
          proc      /proc      proc  defaults    0    0
          # /dev/hda1
          UUID=1cba446e-d76c-4a0e-8d5d-f474a246bd05 /        ext3  defaults,errors=remount-ro 0    1
          # /dev/hda3
          UUID=2255b7c2-1e32-4dc7-ab34-253c6c39390b /home/     ext3  defaults    0    2
          # /dev/hda5
          UUID=aa4d2bb8-3044-4d38-8223-16929b553eeb none      swap  sw       0    0
          /dev/hdb    /media/cdrom0  udf,iso9660 user,noauto   0    0
          wastedfluid@fluid:~$
          Code:
          wastedfluid@fluid:~$ sudo fdisk -l
          
          Disk /dev/hda: 100.0 GB, 100030242816 bytes
          255 heads, 63 sectors/track, 12161 cylinders
          Units = cylinders of 16065 * 512 = 8225280 bytes
          
            Device Boot   Start     End   Blocks  Id System
          /dev/hda1  *      1    1305  10482381  83 Linux
          /dev/hda3      1306    11841  84630420  83 Linux
          /dev/hda4      11842    12161   2570400  5 Extended
          /dev/hda5      11842    12161   2570368+ 82 Linux swap / Solaris
          wastedfluid@fluid:~$
          Code:
          Filesystem      1K-blocks   Used Available Use% Mounted on
          /dev/hda1       10317828  2944316  7373512 29% /
          varrun         452132    104  452028  1% /var/run
          varlock         452132     0  452132  0% /var/lock
          procbususb       452132    96  452036  1% /proc/bus/usb
          udev          452132    96  452036  1% /dev
          devshm         452132     0  452132  0% /dev/shm
          lrm           452132   33788  418344  8% /lib/modules/2.6.20-16-generic/volatile
          /dev/hda3       60460000 18337856 42122144 31% /home
          wastedfluid@fluid:~$
          There's definitely a problem. It's reporting false usage information.

          Once again - thanks for your reply!

          Comment


            #6
            Re: help! hda3 is reporting false usage.

            Well, this entry in your fstab seems (to me) to suggest what may be going on:
            # /dev/hda3
            UUID=2255b7c2-1e32-4dc7-ab34-253c6c39390b /home/ ext3 defaults 0 2
            In a *normal* installation, your home partition would be shown as /home

            You said that your repartitioned /dev/hda3 which is your /home directory. So what you did was to repartition the partition that was created for your /home directory for your first kubuntu installation. After doing so, you say you reinstalled kubuntu on it. In effect, you have a kubuntu installation inside of an existing kubuntu installation, using part of your repartitioned /home directory to do so. I'm not sure that is what you intended, but it appears that is what you accomplished.

            Some one else with more experience in repartitioning existing partitions on an already installed and working system may be able to look at this and confirm or suggest an alternate explanation. So, keep a watch on this post. I know that others will read this and put in their thoughts.
            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: help! hda3 is reporting false usage.

              Ok, this might be why...

              I had Kubuntu installed previously.

              My original drive setups were 25gb for (hda1) /, and 57gb for /home (hda3)

              After realizing how stupid that was, I re-sized my drives; 10gb for /(hda1), and 80gb for /home(hda3)

              I then re-installed Kubuntu.

              I think the problem is, when I didn't format hda3.. and kept my entire "wastedfluid" directory.. with all my settings, that Kubuntu (KDE) saved the settings from the LAST install. Because, 57.7gb(which is what it's showing as..) USED to be how large my drive was. Now, it's 80gb.. and it's not updated.

              Now, why it's showing 40gb used.. beats the crap out of me.

              Any idea how to fix this mess?

              Comment

              Working...
              X