public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* LVM, NFS, Reiser and ext3
@ 2003-01-06  9:47 Derek Fountain
  2003-01-06 10:21 ` Oleg Drokin
  0 siblings, 1 reply; 3+ messages in thread
From: Derek Fountain @ 2003-01-06  9:47 UTC (permalink / raw)
  To: linux-kernel

Running SuSE 8.1 with their 2.4.19 kernel on a single CPU i386 box.

I have an volume group consisting of 2 IDE based physical volumes and one SCSI 
based one. I created a logical volume of 5GB, put a Reiser file system on it, 
and exported it using kernel NFS. I then had an NFS client (another SuSE 8.1 
box) write data to it. The result was quickly disasterous. Piles of errors 
from reiserfs, resulting in a fs which fsck couldn't deal with.

I reformatted with ext3 and tried again. Several gigabytes of seemingly 
correctly written NFS transfers later, I'm seeing errors on read like:

Jan  6 16:26:47 beetle kernel: EXT3-fs error (device lvm(58,0)): ext3_readdir: 
bad entry in directory #229383: rec_len is too small for name_len - 
offset=504, inode=229395, rec_len=36, name_len=36

and lots and lots of:

Jan  6 16:29:34 beetle kernel: attempt to access beyond end of device
Jan  6 16:29:34 beetle kernel: 3a:00: rw=0, want=629932036, limit=5242880

Is there reason to believe that LVM, NFS and jouralling file systems don't get 
along?

-- 
Australian Linux Technical Conference 2003: http://www.linux.conf.au/

Explain to your boss the benefits of you going...

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

* Re: LVM, NFS, Reiser and ext3
  2003-01-06  9:47 LVM, NFS, Reiser and ext3 Derek Fountain
@ 2003-01-06 10:21 ` Oleg Drokin
  2003-01-07  8:59   ` Derek Fountain
  0 siblings, 1 reply; 3+ messages in thread
From: Oleg Drokin @ 2003-01-06 10:21 UTC (permalink / raw)
  To: Derek Fountain; +Cc: linux-kernel

Hello!

On Mon, Jan 06, 2003 at 09:47:53AM +0000, Derek Fountain wrote:

> correctly written NFS transfers later, I'm seeing errors on read like:
> Jan  6 16:26:47 beetle kernel: EXT3-fs error (device lvm(58,0)): ext3_readdir: 
> bad entry in directory #229383: rec_len is too small for name_len - 
> offset=504, inode=229395, rec_len=36, name_len=36
> and lots and lots of:
> Jan  6 16:29:34 beetle kernel: attempt to access beyond end of device
> Jan  6 16:29:34 beetle kernel: 3a:00: rw=0, want=629932036, limit=5242880
> Is there reason to believe that LVM, NFS and jouralling file systems don't get 
> along?

No.
Looks like there is something with your hardware.
Does corruption go away if you use physical volumes without LVM (try each volume
of three)?

Bye,
    Oleg

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

* Re: LVM, NFS, Reiser and ext3
  2003-01-06 10:21 ` Oleg Drokin
@ 2003-01-07  8:59   ` Derek Fountain
  0 siblings, 0 replies; 3+ messages in thread
From: Derek Fountain @ 2003-01-07  8:59 UTC (permalink / raw)
  To: Oleg Drokin; +Cc: linux-kernel

On Monday 06 January 2003 10:21, you wrote:
> Hello!
>
> On Mon, Jan 06, 2003 at 09:47:53AM +0000, Derek Fountain wrote:
> > correctly written NFS transfers later, I'm seeing errors on read like:
> > Jan  6 16:26:47 beetle kernel: EXT3-fs error (device lvm(58,0)):
> > ext3_readdir: bad entry in directory #229383: rec_len is too small for
> > name_len - offset=504, inode=229395, rec_len=36, name_len=36
> > and lots and lots of:
> > Jan  6 16:29:34 beetle kernel: attempt to access beyond end of device
> > Jan  6 16:29:34 beetle kernel: 3a:00: rw=0, want=629932036, limit=5242880
> > Is there reason to believe that LVM, NFS and jouralling file systems
> > don't get along?
>
> No
> Looks like there is something with your hardware
> Does corruption go away if you use physical volumes without LVM (try each
> volume of three)?

Yes. It's been running like that for 3 years 24x7 on a 2.2 kernel. Not a 
hiccup. I've made the three PVs back into normal reiserfs disks and they're 
now running happily again.

-- 
Australian Linux Technical Conference 2003: http://www.linux.conf.au/

Explain to your boss the benefits of you going...

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

end of thread, other threads:[~2003-01-07  7:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-06  9:47 LVM, NFS, Reiser and ext3 Derek Fountain
2003-01-06 10:21 ` Oleg Drokin
2003-01-07  8:59   ` Derek Fountain

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