All of lore.kernel.org
 help / color / mirror / Atom feed
From: Davy Durham <pubaddr2@davyandbeth.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: ext3 issue..
Date: Thu, 28 Apr 2005 09:59:39 -0500	[thread overview]
Message-ID: <4270FA5B.5060609@davyandbeth.com> (raw)

Greetings,
   I'm having an issues with ext3.  For about 3 months the /home 
partition has had low-to-medium use/activity.. adding files, nightly log 
rotations, some mysql dbs coming and going at a slow pace..  Well, 
yesterday after I had migrated everything off of it (no files in /home 
anymore) the df output looked like this:

# uptime
 10:35:54 up 96 days, 14:22,  1 user,  load average: 0.00, 0.00, 0.00
# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/ide/host0/bus0/target0/lun0/part1
                      2.0G  483M  1.4G  26% /
/dev/ide/host0/bus0/target0/lun0/part6
                       33G  -64Z   31G 101% /home

I did notice that if I created a file (cat /dev/zero >/home/foo) of 
significant size that I could make it look normal again.. So I figure 
it's an underflow in some count.

Crazy huh?  Well, I unmounted /home and did an fsck -f  on the partition 
and remounted it.  Then everything looked okay.

---

Well today on a different server (that I have not cleaned off yet) that 
has been up and running for 6 months is saying the same thing:

# uptime
 10:39:16 up 181 days,  2:42,  2 users,  load average: 0.00, 0.00, 0.00
# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/ide/host0/bus0/target0/lun0/part1
                      2.0G  483M  1.4G  26% /
/dev/ide/host0/bus0/target0/lun0/part6
                       33G  -64Z   31G 101% /home

Now, this server is still in production.  I could bring it down for a 
brief time to fsck or reboot it, but I'd be afraid to.  du -h /home 
shows that really only 268M is used.

If I create a large file (176M) in /home it then don't underflow on the 
df, but is still incorrect.


Is this a known issue with ext3? Or ext2?  Anything I should or should 
not do about it? 


Thanks,
 Davy





BTW- df -k looks like
# df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/ide/host0/bus0/target0/lun0/part1
                       2054064    493660   1454380  26% /
/dev/ide/host0/bus0/target0/lun0/part6
                      33690964 -73786976294838186940  31971456 101% /home


             reply	other threads:[~2005-04-28 15:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-28 14:59 Davy Durham [this message]
2005-04-28 20:09 ` ext3 issue Theodore Ts'o
2005-04-28 20:55   ` Lennart Sorensen
2005-04-29 11:55     ` folkert
2005-05-03 20:38     ` Theodore Ts'o
2005-04-29  2:35   ` Davy Durham
2005-04-29 13:19     ` Lennart Sorensen
2005-05-02  1:27   ` Davy Durham
2005-05-03 12:38 ` Davy Durham
2005-05-03 12:53   ` Christopher Chan
2005-05-03 22:17   ` Darren Williams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4270FA5B.5060609@davyandbeth.com \
    --to=pubaddr2@davyandbeth.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.