LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 01-28-2004, 08:05 AM   #1
tsiuser
LQ Newbie
 
Registered: Jan 2004
Posts: 3

Rep: Reputation: 0
101% disk usage on an empty disk


I have a 240 GB disk (3-80GB disk striped) in vxWorks. vxWorks exports this disk as /raid0. I have a linux box that nfsMounts the disk. If the disk is entirely empty and I do a df -k, the results come back 101% used. If I start writing to the disk, it will come back with the correct % full. I'm not sure how much I have to write to the disk in order for it to report the correct % used. A df -k also displays a HUGE negative number under the used column. If I do a df -h, the used column is -1.0Y??? How can I get df to display the correct information.....when the disk is empty 0%.....

Thanks,
Keith
 
Old 01-28-2004, 05:11 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,590

Rep: Reputation: 188Reputation: 188
"How can I get df to display the correct information.....when the disk is empty 0%....."

Try writing a file to the disk and then deleting the file. Maybe that will finish initializing the usage information on the disk.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 01-28-2004, 06:12 PM   #3
tsiuser
LQ Newbie
 
Registered: Jan 2004
Posts: 3

Original Poster
Rep: Reputation: 0
I tried copying a file with size of about 2.5 Meg. When the file was there, the % used displayed 1% when a df -k was done. I then deleted the file and it went back to the negative numbers and also the 101% used when I did a df -k
 
Old 01-28-2004, 07:24 PM   #4
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,590

Rep: Reputation: 188Reputation: 188
I would call this problem a bug in df. You could report it to:

bug-coreutils@gnu.org

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
  


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
Installing linux on empty hard disk lngmn7 Linux - Networking 4 04-15-2005 07:24 AM
LQ disk usage student04 LQ Suggestions & Feedback 4 10-24-2004 10:35 PM
Disk Usage karan101 Linux - Software 8 10-17-2004 04:59 AM
101% disk used on an empty disk tsiuser Linux - Networking 1 01-29-2004 02:33 PM
Disk Usage LinuxTiro Linux - Newbie 6 09-03-2003 10:12 PM


All times are GMT -5. The time now is 08:58 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration