All of lore.kernel.org
 help / color / mirror / Atom feed
* reiserfs and nfs.
@ 2002-11-25 14:26 Terje Malmedal
  2002-11-25 15:48 ` Nikita Danilov
  0 siblings, 1 reply; 15+ messages in thread
From: Terje Malmedal @ 2002-11-25 14:26 UTC (permalink / raw)
  To: linux-kernel


Hi, 

I'm nfs-exporting a reiserfs filesystem, the problem is that the
inode-number as seen from the client seems to change from time to
time. This confuses a number of programs, for instance Emacs believes
that the file changed under it when this happens.

Is this a known problem? Any known fix? I found a number of old
messages about problems with reiser and nfs, but not this
specifically.

-- 
 - Terje
malmedal@usit.uio.no

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

* Re: reiserfs and nfs.
  2002-11-25 14:26 reiserfs and nfs Terje Malmedal
@ 2002-11-25 15:48 ` Nikita Danilov
  2002-11-25 18:12   ` Terje Malmedal
  0 siblings, 1 reply; 15+ messages in thread
From: Nikita Danilov @ 2002-11-25 15:48 UTC (permalink / raw)
  To: Terje Malmedal; +Cc: linux-kernel, Reiserfs mail-list

Terje Malmedal writes:
 > 
 > Hi, 
 > 
 > I'm nfs-exporting a reiserfs filesystem, the problem is that the
 > inode-number as seen from the client seems to change from time to
 > time. This confuses a number of programs, for instance Emacs believes
 > that the file changed under it when this happens.

This problem is not known. What version of reiserfs (3.5 or 3.6) and
kernel are you using? Is there any way to reproduce this problem?

 > 
 > Is this a known problem? Any known fix? I found a number of old
 > messages about problems with reiser and nfs, but not this
 > specifically.
 > 
 > -- 
 >  - Terje
 > malmedal@usit.uio.no

Nikita.


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

* Re: reiserfs and nfs.
  2002-11-25 15:48 ` Nikita Danilov
@ 2002-11-25 18:12   ` Terje Malmedal
  2002-11-25 18:40     ` Nikita Danilov
  0 siblings, 1 reply; 15+ messages in thread
From: Terje Malmedal @ 2002-11-25 18:12 UTC (permalink / raw)
  To: Nikita; +Cc: linux-kernel, Reiserfs-List


[Nikita Danilov]
> Terje Malmedal writes:
>> 
>> Hi, 
>> 
>> I'm nfs-exporting a reiserfs filesystem, the problem is that the
>> inode-number as seen from the client seems to change from time to
>> time. This confuses a number of programs, for instance Emacs believes
>> that the file changed under it when this happens.

> This problem is not known. What version of reiserfs (3.5 or 3.6) and
> kernel are you using? Is there any way to reproduce this problem?

On the NFS-server I'm using RedHat kernel 2.4.18-10smp, according to
dmesg I'm using version 3.6 of reiser: 
reiserfs: checking transaction log (device 3a:00) ...
Using r5 hash to sort names
ReiserFS version 3.6.25

(The block device is LVM by the way)

Clients are both Linux and Solaris. 

To reproduce do something like: 
$ ls -li RMAIL
 387607 -rw-------    1 tm       4050     36635726 Nov 20 16:15 RMAIL

on the nfs-client, (obviously on a NFS-file) and wait a bit, varying
from a few minutes to many hours and the inode-number will be
different. I'm guessing the period you have to wait is dependent on
how much else is going on on the NFS-server.

I have no reason to suspect any data-corruption, md5 of file as well
as atime, ctime and mtime are unchanged.

-- 
 - Terje
malmedal@usit.uio.no

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

* Re: reiserfs and nfs.
  2002-11-25 18:12   ` Terje Malmedal
@ 2002-11-25 18:40     ` Nikita Danilov
  2002-11-26 10:12       ` Terje Malmedal
  0 siblings, 1 reply; 15+ messages in thread
From: Nikita Danilov @ 2002-11-25 18:40 UTC (permalink / raw)
  To: Terje Malmedal; +Cc: linux-kernel, Reiserfs-List

Terje Malmedal writes:
 > 
 > [Nikita Danilov]
 > > Terje Malmedal writes:
 > >> 

[...]

 > 
 > To reproduce do something like: 
 > $ ls -li RMAIL
 >  387607 -rw-------    1 tm       4050     36635726 Nov 20 16:15 RMAIL

Is RMAIL inode number constant on the server?

Nikita.

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

* Re: reiserfs and nfs.
  2002-11-25 18:40     ` Nikita Danilov
@ 2002-11-26 10:12       ` Terje Malmedal
  2002-11-26 11:11         ` Nikita Danilov
  0 siblings, 1 reply; 15+ messages in thread
From: Terje Malmedal @ 2002-11-26 10:12 UTC (permalink / raw)
  To: Nikita; +Cc: linux-kernel, Reiserfs-List


[Nikita Danilov]
> Terje Malmedal writes:
>> 
>> [Nikita Danilov]
>> > Terje Malmedal writes:
>> >> 

> [...]

>> 
>> To reproduce do something like: 
>> $ ls -li RMAIL
>> 387607 -rw-------    1 tm       4050     36635726 Nov 20 16:15 RMAIL

> Is RMAIL inode number constant on the server?

No, it is always the same as the number seen over NFS, but I've not
seen this problem when I've tried running emacs on the nfs-server
itself.

-- 
 - Terje
malmedal@usit.uio.no

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

* Re: reiserfs and nfs.
  2002-11-26 10:12       ` Terje Malmedal
@ 2002-11-26 11:11         ` Nikita Danilov
  2002-11-26 17:47           ` Terje Malmedal
  2002-11-27 19:12           ` Any information on S+tree? bmoon
  0 siblings, 2 replies; 15+ messages in thread
From: Nikita Danilov @ 2002-11-26 11:11 UTC (permalink / raw)
  To: Terje Malmedal; +Cc: Reiserfs-List

[lkml trimmed from CC list.]

Terje Malmedal writes:
 > 
 > [Nikita Danilov]
 > > Terje Malmedal writes:
 > >> 
 > >> [Nikita Danilov]
 > >> > Terje Malmedal writes:
 > >> >> 
 > 
 > > [...]
 > 
 > >> 
 > >> To reproduce do something like: 
 > >> $ ls -li RMAIL
 > >> 387607 -rw-------    1 tm       4050     36635726 Nov 20 16:15 RMAIL
 > 
 > > Is RMAIL inode number constant on the server?
 > 
 > No, it is always the same as the number seen over NFS, but I've not
 > seen this problem when I've tried running emacs on the nfs-server
 > itself.

I see following possibilities:

1. some weird mail locking protocol (is RMAIL your mail spool file?)

2. some EMACS/Rmail feature. Are you running identical Emacs
configurations on the client and server?

 > 
 > -- 
 >  - Terje
 > malmedal@usit.uio.no

Nikita.

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

* Re: reiserfs and nfs.
  2002-11-26 11:11         ` Nikita Danilov
@ 2002-11-26 17:47           ` Terje Malmedal
  2002-11-26 18:55             ` Anders Widman
  2002-11-27 19:12           ` Any information on S+tree? bmoon
  1 sibling, 1 reply; 15+ messages in thread
From: Terje Malmedal @ 2002-11-26 17:47 UTC (permalink / raw)
  To: Nikita; +Cc: Reiserfs-List


[Nikita Danilov]
> [lkml trimmed from CC list.]
> Terje Malmedal writes:
>> 
>> [Nikita Danilov]
>> > Terje Malmedal writes:
>> >> 
>> >> [Nikita Danilov]
>> >> > Terje Malmedal writes:
>> >> >> 
>> 
>> > [...]
>> 
>> >> 
>> >> To reproduce do something like: 
>> >> $ ls -li RMAIL
>> >> 387607 -rw-------    1 tm       4050     36635726 Nov 20 16:15 RMAIL
>> 
>> > Is RMAIL inode number constant on the server?
>> 
>> No, it is always the same as the number seen over NFS, but I've not
>> seen this problem when I've tried running emacs on the nfs-server
>> itself.

> I see following possibilities:

> 1. some weird mail locking protocol (is RMAIL your mail spool file?)

No, emacs gets the mail via POP3 and saves it in that file.

This also happens with normal files being edited in emacs. 

> 2. some EMACS/Rmail feature. Are you running identical Emacs
> configurations on the client and server?

Yes, both are RedHat 7.3 standard emacs, also this did not happen when
the nfs-server was a solaris-box.

-- 
 - Terje
malmedal@usit.uio.no

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

* Re: reiserfs and nfs.
  2002-11-26 17:47           ` Terje Malmedal
@ 2002-11-26 18:55             ` Anders Widman
  0 siblings, 0 replies; 15+ messages in thread
From: Anders Widman @ 2002-11-26 18:55 UTC (permalink / raw)
  To: Reiserfs-List


> [Nikita Danilov]
>> [lkml trimmed from CC list.]
>> Terje Malmedal writes:
>>> 
>>> [Nikita Danilov]
>>> > Terje Malmedal writes:
>>> >> 
>>> >> [Nikita Danilov]
>>> >> > Terje Malmedal writes:
>>> >> >> 
>>> 
>>> > [...]
>>> 
>>> >> 
>>> >> To reproduce do something like: 
>>> >> $ ls -li RMAIL
>>> >> 387607 -rw-------    1 tm       4050     36635726 Nov 20 16:15 RMAIL
>>> 
>>> > Is RMAIL inode number constant on the server?
>>> 
>>> No, it is always the same as the number seen over NFS, but I've not
>>> seen this problem when I've tried running emacs on the nfs-server
>>> itself.

>> I see following possibilities:

>> 1. some weird mail locking protocol (is RMAIL your mail spool file?)

> No, emacs gets the mail via POP3 and saves it in that file.

> This also happens with normal files being edited in emacs. 

>> 2. some EMACS/Rmail feature. Are you running identical Emacs
>> configurations on the client and server?

> Yes, both are RedHat 7.3 standard emacs, also this did not happen when
> the nfs-server was a solaris-box.



I  had  problems with NFS under Redhat 7.2 and 7.3. It works fine with
8.0 and other distributions such as LFS and Mandrake 9.

- Anders


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

* Any information on S+tree?
  2002-11-26 11:11         ` Nikita Danilov
  2002-11-26 17:47           ` Terje Malmedal
@ 2002-11-27 19:12           ` bmoon
  2002-11-27 20:25             ` Yury Umanets
  2003-01-16 10:03             ` Hans Reiser
  1 sibling, 2 replies; 15+ messages in thread
From: bmoon @ 2002-11-27 19:12 UTC (permalink / raw)
  To: Reiserfs mail-list

Hello,

I thought Reiserfs uses B+tree, but 
Reiserfs is using S+tree according to the source code.
Where can I get any information or document on this S+tree?

Thanks,

Bo

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

* Re: Any information on S+tree?
  2002-11-27 19:12           ` Any information on S+tree? bmoon
@ 2002-11-27 20:25             ` Yury Umanets
  2002-11-27 21:24               ` Yury Umanets
  2003-01-16 10:03             ` Hans Reiser
  1 sibling, 1 reply; 15+ messages in thread
From: Yury Umanets @ 2002-11-27 20:25 UTC (permalink / raw)
  To: bmoon; +Cc: Reiserfs mail-list

bmoon wrote:

>Hello,
>
>I thought Reiserfs uses B+tree, but 
>Reiserfs is using S+tree according to the source code.
>Where can I get any information or document on this S+tree?
>
>Thanks,
>
>Bo
>
>
>  
>
Read the source. Take a lot onto function search_by_key.

-- 
Yury Umanets



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

* Re: Any information on S+tree?
  2002-11-27 20:25             ` Yury Umanets
@ 2002-11-27 21:24               ` Yury Umanets
  0 siblings, 0 replies; 15+ messages in thread
From: Yury Umanets @ 2002-11-27 21:24 UTC (permalink / raw)
  To: bmoon; +Cc: Reiserfs mail-list

Yury Umanets wrote:

> bmoon wrote:
>
>> Hello,
>>
>> I thought Reiserfs uses B+tree, but Reiserfs is using S+tree 
>> according to the source code.
>> Where can I get any information or document on this S+tree?
>>
>> Thanks,
>>
>> Bo
>>
>>
>>  
>>
> Read the source. Take a lot onto function search_by_key.
>
:) I have meant take a look

-- 
Yury Umanets



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

* Re: Any information on S+tree?
  2002-11-27 19:12           ` Any information on S+tree? bmoon
  2002-11-27 20:25             ` Yury Umanets
@ 2003-01-16 10:03             ` Hans Reiser
  2003-01-16 10:40               ` any tips on optimising samba on reiserfs? darren
  1 sibling, 1 reply; 15+ messages in thread
From: Hans Reiser @ 2003-01-16 10:03 UTC (permalink / raw)
  To: bmoon; +Cc: Reiserfs mail-list

bmoon wrote:

>Hello,
>
>I thought Reiserfs uses B+tree, but 
>Reiserfs is using S+tree according to the source code.
>Where can I get any information or document on this S+tree?
>
>Thanks,
>
>Bo
>
>
>  
>
S+tree is an old name for what we use.  You might look at our 
www.namesys.com/v4/v4p1.html and www.namesys.com/v4/v4p2.html and 
www.namesys.com/v4/v4.html documentation for our latest trees.

-- 
Hans



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

* any tips on optimising samba on reiserfs?
  2003-01-16 10:03             ` Hans Reiser
@ 2003-01-16 10:40               ` darren
  2003-01-16 11:01                 ` Hans Reiser
  0 siblings, 1 reply; 15+ messages in thread
From: darren @ 2003-01-16 10:40 UTC (permalink / raw)
  To: 'Reiserfs mail-list'

Hi all,

I have been trying to setup my reiserfs/samba CIFS file server on my
LAN.

Although all my benchmarks have been showing good local read write
performance, I cannot seem to get the most of it over the network with
samba.

Anyone got any tips on how I can do this?

p.s. I have already done all the obvious optimizations like TCP_NODELAY
and using SO_SNBUF=16384 blah blah..


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

* Re: any tips on optimising samba on reiserfs?
  2003-01-16 10:40               ` any tips on optimising samba on reiserfs? darren
@ 2003-01-16 11:01                 ` Hans Reiser
  0 siblings, 0 replies; 15+ messages in thread
From: Hans Reiser @ 2003-01-16 11:01 UTC (permalink / raw)
  To: darren; +Cc: 'Reiserfs mail-list'

darren wrote:

>Hi all,
>
>I have been trying to setup my reiserfs/samba CIFS file server on my
>LAN.
>
>Although all my benchmarks have been showing good local read write
>performance, I cannot seem to get the most of it over the network with
>samba.
>
>Anyone got any tips on how I can do this?
>
>p.s. I have already done all the obvious optimizations like TCP_NODELAY
>and using SO_SNBUF=16384 blah blah..
>
>
>
>  
>
This is an area where our team is ignorant due to lack of experience, 
but I am very interested in learning from you and other users about it, 
and we are willing to tweak as needed.  Perhaps we should run netbench 
or some such to replicate your situation?  (We don't use much Windows at 
Namesys....)

-- 
Hans



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

* Re: any tips on optimising samba on reiserfs?
@ 2003-01-16 12:14 Emanuel.Quass
  0 siblings, 0 replies; 15+ messages in thread
From: Emanuel.Quass @ 2003-01-16 12:14 UTC (permalink / raw)
  To: darren; +Cc: 'Reiserfs mail-list'

[-- Attachment #1: Type: text/plain, Size: 1184 bytes --]

Hi All,

i ma working very much with reiserfs and samba, but I don't know very much 
about parameters to tune!
Can you send a list of all parameters you know to tune samba?
Thanks  in advance

        Emanuel






Hans Reiser <reiser@namesys.com>
16.01.2003 12:01

 
        An:     darren <teodarren@myrealbox.com>
        Kopie:  'Reiserfs mail-list' <Reiserfs-List@Namesys.COM>
        Thema:  Re: any tips on optimising samba on reiserfs?


darren wrote:

>Hi all,
>
>I have been trying to setup my reiserfs/samba CIFS file server on my
>LAN.
>
>Although all my benchmarks have been showing good local read write
>performance, I cannot seem to get the most of it over the network with
>samba.
>
>Anyone got any tips on how I can do this?
>
>p.s. I have already done all the obvious optimizations like TCP_NODELAY
>and using SO_SNBUF=16384 blah blah..
>
>
>
> 
>
This is an area where our team is ignorant due to lack of experience, 
but I am very interested in learning from you and other users about it, 
and we are willing to tweak as needed.  Perhaps we should run netbench 
or some such to replicate your situation?  (We don't use much Windows at 
Namesys....)

-- 
Hans





[-- Attachment #2: Type: text/html, Size: 2218 bytes --]

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

end of thread, other threads:[~2003-01-16 12:14 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-25 14:26 reiserfs and nfs Terje Malmedal
2002-11-25 15:48 ` Nikita Danilov
2002-11-25 18:12   ` Terje Malmedal
2002-11-25 18:40     ` Nikita Danilov
2002-11-26 10:12       ` Terje Malmedal
2002-11-26 11:11         ` Nikita Danilov
2002-11-26 17:47           ` Terje Malmedal
2002-11-26 18:55             ` Anders Widman
2002-11-27 19:12           ` Any information on S+tree? bmoon
2002-11-27 20:25             ` Yury Umanets
2002-11-27 21:24               ` Yury Umanets
2003-01-16 10:03             ` Hans Reiser
2003-01-16 10:40               ` any tips on optimising samba on reiserfs? darren
2003-01-16 11:01                 ` Hans Reiser
  -- strict thread matches above, loose matches on Subject: below --
2003-01-16 12:14 Emanuel.Quass

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.