public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* ext3fs corruption problem?
@ 2001-12-27 11:06 Igor Briski
  2001-12-27 19:34 ` Andrew Morton
  0 siblings, 1 reply; 3+ messages in thread
From: Igor Briski @ 2001-12-27 11:06 UTC (permalink / raw)
  To: linux-kernel


I've noticed several files missing in last few days and this 
also started happening:

webmail1 [/space/cwmail/mail/n_z1/f6/jejka74_Pmail_Ixxx_Ixx/2] # ls -la
total 32
drwx--S---    2 www-data www-data     4096 Nov 25 22:47 .
drwx--S---    5 www-data www-data     4096 Dec 26 14:48 ..
-rw-r--r--    1 www-data www-data     1011 Nov 25 22:47 index.dat
-rw-r--r--    1 www-data www-data 18446744069414584903 Nov 23 22:25 m_0.dat
-rw-r--r--    1 www-data www-data      583 Nov 23 22:39 m_1.dat
-rw-r--r--    1 www-data www-data      583 Nov 23 22:39 m_2.dat
-rw-r--r--    1 www-data www-data      479 Nov 25 17:20 m_3.dat
-rw-r--r--    1 www-data www-data      613 Nov 25 22:47 m_4.dat

Details:

webmail1 [~] # uname -a
Linux webmail1.xxxxx.xx 2.4.16-pre1 #1 SMP Mon Nov 26 13:02:35 CET 2001 i686
unknown

webmail1 [~] # mount  
/dev/sda2 on / type ext2 (rw,errors=remount-ro,errors=remount-ro)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda3 on /home type ext2 (rw)
/dev/sda4 on /space type ext3 (rw,data=journal)

webmail1 [~] # uptime
 11:58am  up 3 days, 49 min,  1 user,  load average: 0.16, 0.24, 0.32

webmail1 [~] # df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/sda2              2885812    914012   1825208  33% /
/dev/sda3              1921188    118712   1704884   7% /home
/dev/sda4            135152264  76508056  57271136  57% /space

(/dev/sda4 is a RAID-5 array with 5 disks, 36GB each on a ICP-VORTEX
controller).


And when mounted as ext2, the file stays the same:

webmail1 [/space/cwmail/mail/n_z1/f6/jejka74_Pmail_Ixxx_Ixx/2] # ls -la
total 32
drwx--S---    2 www-data www-data     4096 Nov 25 22:47 .
drwx--S---    5 www-data www-data     4096 Dec 26 14:48 ..
-rw-r--r--    1 www-data www-data     1011 Nov 25 22:47 index.dat
-rw-r--r--    1 www-data www-data 18446744069414584903 Nov 23 22:25 m_0.dat
-rw-r--r--    1 www-data www-data      583 Nov 23 22:39 m_1.dat
-rw-r--r--    1 www-data www-data      583 Nov 23 22:39 m_2.dat
-rw-r--r--    1 www-data www-data      479 Nov 25 17:20 m_3.dat
-rw-r--r--    1 www-data www-data      613 Nov 25 22:47 m_4.dat

I've successfully removed the file while mounted as ext2 (haven't tried it
when the partition was mounted as ext3). 

-- 
        v
Igor Briski - igor.briski@iskon.hr

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ext3fs corruption problem?
  2001-12-27 11:06 ext3fs corruption problem? Igor Briski
@ 2001-12-27 19:34 ` Andrew Morton
  2002-01-04 14:56   ` Igor Briski
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Morton @ 2001-12-27 19:34 UTC (permalink / raw)
  To: Igor Briski; +Cc: linux-kernel

Igor Briski wrote:
> 
> I've noticed several files missing in last few days and this
> also started happening:
> 
> webmail1 [/space/cwmail/mail/n_z1/f6/jejka74_Pmail_Ixxx_Ixx/2] # ls -la
> total 32
> drwx--S---    2 www-data www-data     4096 Nov 25 22:47 .
> drwx--S---    5 www-data www-data     4096 Dec 26 14:48 ..
> -rw-r--r--    1 www-data www-data     1011 Nov 25 22:47 index.dat
> -rw-r--r--    1 www-data www-data 18446744069414584903 Nov 23 22:25 m_0.dat

There was a truncate problem which could allow this.  It was fixed
in 2.4.17.  Deleting the file and running fsck will clean it up.

Could you please fsck the filesystems, see what it says?

Also, please check the logs for any errors or warnings from the
filesystem and from RAID.

Thanks.

-

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ext3fs corruption problem?
  2001-12-27 19:34 ` Andrew Morton
@ 2002-01-04 14:56   ` Igor Briski
  0 siblings, 0 replies; 3+ messages in thread
From: Igor Briski @ 2002-01-04 14:56 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

On Thu, Dec 27, 2001 at 11:34:17AM -0800, Andrew Morton wrote:

> > I've noticed several files missing in last few days and this
> > also started happening:
> > 
> > webmail1 [/space/cwmail/mail/n_z1/f6/jejka74_Pmail_Ixxx_Ixx/2] # ls -la
> > total 32
> > drwx--S---    2 www-data www-data     4096 Nov 25 22:47 .
> > drwx--S---    5 www-data www-data     4096 Dec 26 14:48 ..
> > -rw-r--r--    1 www-data www-data     1011 Nov 25 22:47 index.dat
> > -rw-r--r--    1 www-data www-data 18446744069414584903 Nov 23 22:25 m_0.dat
> 
> There was a truncate problem which could allow this.  It was fixed
> in 2.4.17.  Deleting the file and running fsck will clean it up.
>
> Could you please fsck the filesystems, see what it says?

Fsck found no errors. 

> Also, please check the logs for any errors or warnings from the
> filesystem and from RAID.

None found. Anyway, I've compiled 2.4.17. and it looks ok now. I've mounted
/space partition as ext3, data=writeback and found no errors in the last few
days. I'm keeping an eye on it... 

-- 
Igor Briški -- igor.briski@iskon.hr 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-01-04 14:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-27 11:06 ext3fs corruption problem? Igor Briski
2001-12-27 19:34 ` Andrew Morton
2002-01-04 14:56   ` Igor Briski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox