LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-26-2012, 01:15 PM   #1
daisychick
Member
 
Registered: Nov 2006
Location: Texas
Distribution: ubuntu 12.04 LTS
Posts: 154

Rep: Reputation: 0
df -h showing negative hdd space


Can anyone think of a reason that df -h would show negative hdd space?
Code:
user@SVR1:/$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             1.6T  261G  1.3T  18% /
none                  127G  260K  127G   1% /dev
none                  127G  164K  127G   1% /dev/shm
none                  127G  420K  127G   1% /var/run
none                  127G     0  127G   0% /var/lock
none                  127G     0  127G   0% /lib/init/rw
/dev/sdb1              19T -676G   19T   -  /sandbox
 
Old 07-26-2012, 01:59 PM   #2
Sydney
Member
 
Registered: Mar 2012
Distribution: Scientific Linux
Posts: 147

Rep: Reputation: 36
Are dynamic VM disk images on /dev/sdb1?

Last edited by Sydney; 07-26-2012 at 02:00 PM.
 
Old 07-30-2012, 01:14 PM   #3
daisychick
Member
 
Registered: Nov 2006
Location: Texas
Distribution: ubuntu 12.04 LTS
Posts: 154

Original Poster
Rep: Reputation: 0
no. at the time, there was only 43 mb worth of data on that drive.
 
Old 07-30-2012, 03:13 PM   #4
eyanu
Member
 
Registered: Jul 2012
Location: kampala,Uganda
Distribution: backtrack
Posts: 87

Rep: Reputation: Disabled
Ok, when you create a partition, there is some space that is allocated to root some % don't think it goes beyond 10%. You see negative value because you are using part of that space. You can use
Quote:
du -hcs /dev/sdb1
and get to the bottom of it, also read the man page of tunefs look for
Quote:
Specify the percentage of space held back from normal users; the
minimum free space threshold. The default value used is 8%.
Note that lowering the threshold can adversely affect performance
but be carefull from here on, don't have to remind you to back up, coz with great power comes great responsibility.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
when running traffic Idle Time showing negative value. ujjwalk Linux - Virtualization and Cloud 0 04-13-2012 02:10 AM
user need to increase space to run a program its showing not enough space svani Red Hat 4 04-16-2010 05:04 AM
Backtrack 2 not showing HDD ? rustyman1 Linux - Laptop and Netbook 11 07-15-2007 11:16 AM
My NTFS HDD is not showing in openSUSE 10.2? The Dew Linux - General 1 02-04-2007 02:03 PM
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 04:58 PM


All times are GMT -5. The time now is 08:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration