Find the answer to your Linux question:
Results 1 to 4 of 4
hello, i have a problem, when i check my hardisk with : df -h i get the following Filesystem Size Used Avail Use% Mounted on /dev/sda3 147G 139G 485M 100% ...
  1. #1
    Just Joined!
    Join Date
    Aug 2008
    Posts
    2

    Question hd shows almost full, but there should be enough spacce

    hello,

    i have a problem, when i check my hardisk with :

    df -h

    i get the following

    Filesystem Size Used Avail Use% Mounted on
    /dev/sda3 147G 139G 485M 100% /
    udev 998M 60K 998M 1% /dev
    /dev/sda1 99M 14M 81M 15% /boot

    but there should be much much more space, because i have almost no files on the drive

    But When i do :

    du -sh i get the information that there is only 3.5 gb in use

    du -sh /

    3.5G /

    does anybody have an idea on the problem and why the hd is so full ?

    i'ts bugging me for hours now !

    gr,

    vincent

  2. #2
    Just Joined! denniscox's Avatar
    Join Date
    Aug 2008
    Location
    Austin, Texas
    Posts
    27

    blocks?

    Do a "df -k" and post the results. I doubt it since you mentioned you had didn't have a lot of files on the drive but you could be out of inodes.

  3. #3
    Just Joined!
    Join Date
    Aug 2008
    Posts
    2
    when i do the df -k, i get the following


    hosting01:~ # df -k
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/sda3 153226660 144957888 485280 100% /
    udev 1021496 60 1021436 1% /dev
    /dev/sda1 101086 13471 82396 15% /boot


    when i do du -kh


    hosting01:~ # df -kh
    Filesystem Size Used Avail Use% Mounted on
    /dev/sda3 147G 139G 472M 100% /
    udev 998M 60K 998M 1% /dev
    /dev/sda1 99M 14M 81M 15% /boot


    when i do the "du -kh /"

    3.5G /
    could it be that i might have restart the server to get the free space allocated ?

    all tips are welcome

  4. #4
    Just Joined! denniscox's Avatar
    Join Date
    Aug 2008
    Location
    Austin, Texas
    Posts
    27
    Okay - if you look at the df -k you see the problem. How much do you know about filesystems?

    Basically, you need more 1k-blocks. Do you have a lot of small files being used?

Posting Permissions

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