linux and nfs issues
Regarding this post from the mailing list archives:
Quoted 17 lines · Dan Oglesby
Quoted 15 lines · Hendrik Visage
Quoted 2 lines · Redeeman
i have read that nfs dont work with reiserfs, but even though that, i made an export, and it works just perfect, is it dangoures somehow?
Several moons ago, there were problems with reiserfs and NFS, as reiserfs didn't (still don't?) have the notion of inodes, which is used in NFS for filehandle information. there were a quick work around which didn't work that well, but the current 2.4.x kernels and Reiserfs 3.6
works sofar without troubles.
Quoted 11 lines
Quoted 2 lines
Hendrik
I export several ReiserFS filesystems via NFS, and have had no issues accessing or manipulating data via NFS. This is with kernel 2.4.21 and ReiserFS 3.6.
--Dan
The described problems were more like years ago than moons ago, however, there were some kernels a few moons ago that had NFS problems not due to reiserfs code just to keep things in a nice state of chaos for the users.....
Signature · 54 lines
Hans We have noticed some serious issues with out linux based nfs server with a reiser 3.6 partition on raid 1. From the logs it appears like a nfs locking issue. Jan 19 11:25:29 liszt-06/liszt-06 kernel: vs-13075: reiserfs_read_inode2: dead inode read from disk [30626 747337 0x0 SD]. This is likely to be race with knfsd. Ignore Jan 19 11:29:51 liszt-06/liszt-06 kernel: vs-13075: reiserfs_read_inode2: dead inode read from disk [30626 765040 0x0 SD]. This is likely to be race with knfsd. Ignore Jan 19 11:31:47 liszt-06/liszt-06 kernel: vs-13075: reiserfs_read_inode2: dead inode read from disk [30626 30908 0x0 SD]. This is likely to be race with knfsd. Ignore Jan 19 12:14:55 liszt-06/liszt-06 kernel: vs-13075: reiserfs_read_inode2: dead inode read from disk [30626 663906 0x0 SD]. This is likely to be race with knfsd. Ignore The box has only been hosting mail queues for out postfix based cluster and it has been running the 2.4.21 kernel when the above issue happened. Now I understand from the kernel change logs that there have been many changes to knfsd that could have been the cause of this issue, however I cannot confirm that, so could I ask if anyone on this list knows if this is a known issue and if it has been resolved in a more recent kernel and if so which one. Thanks in advance, kind regards - RL -- MSN:[email protected] |"All that is etched in stone Yahoo:admroblaz AIM:admroblaz |is truly only scribbled in ICQ:66324927 |sand" - RL Jabber:[email protected] |Join Eff http://www.eff.org e-mail:[email protected]|Take care all - Rob Laz -- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. Any offers or quotation of service are subject to formal specification. Errors and omissions excepted. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of edNET or lightershade ltd. Finally, the recipient should check this email and any attachments for the presence of viruses. edNET and lightershade ltd accepts no liability for any damage caused by any virus transmitted by this email. -- -- Virus scanned by edNET.
Hello Robert,
Well, you don't tell if this is a problem for you. Is the server working fine though ?
As the log say, you can safely ignore this.
We have this warning logged for months, and everything's been working fine here.
Thanks,
Philippe
On Thu, 29 Jan 2004 11:42:49 +0000
Robert Lazzurs <[email protected]> wrote:
| We have noticed some serious issues with out linux based nfs server with | a reiser 3.6 partition on raid 1. From the logs it appears like a nfs | locking issue. | | Jan 19 11:25:29 liszt-06/liszt-06 kernel: vs-13075: | reiserfs_read_inode2: dead inode read from disk [30626 747337 0x0 SD]. | This is likely to be race with knfsd. Ignore
Quoted 8 lines · Philippe Gramoullé
Hello Robert,
Well, you don't tell if this is a problem for you. Is the server working fine though ?
As the log say, you can safely ignore this.
We have this warning logged for months, and everything's been working fine here.
Sorry, I should have made that more clear. Yes, we are having issues, this is what I have seen on the clients from postfix.
Jan 28 11:03:35 liszt-01/liszt-01 postfix/smtp[31184]: fatal: update
queue file active/4/D/4DF43CE6AD: Stale NFS file handle
However I have to be honest and say that I cannot relate directly the above error to the kernel error I posted........however I can say for sure that it is an NFS issue.
Thanks, kind regards - RL
Signature · 5 lines
MSN:[email protected] |"All that is etched in stone Yahoo:admroblaz AIM:admroblaz |is truly only scribbled in ICQ:66324927 |sand" - RL Jabber:[email protected] |Join Eff http://www.eff.org e-mail:[email protected]|Take care all - Rob Laz
Hello,
Well, i'd advise you to upgrade to latest kernel if you can.
Then if you can't i'd advise you not to put the postfix mail queue over NFS, but over local and fast disks.
Besides the problems you described, this is quite a performance hit even for a moderate busy server.
And to quote Postfix author:
"Couple years ago I talked with someone at WebTV. They ran Postfix queues on top of NFS. As a result of their experience I added one NFS workaround to Postfix. However, NFS is not a perfect emulation of a local disk, and strange things can happen occasionally.
Wietse
"
He said he tried to put every trick to make postfix play nice with NFS.
Depending of your application, you may not switch the postfix queues to local disks, in which case i don't really know what's the best for you.
Thanks,
Philippe
On Thu, 29 Jan 2004 12:41:51 +0000
Robert Lazzurs <[email protected]> wrote:
| Sorry, I should have made that more clear. Yes, we are having issues, | this is what I have seen on the clients from postfix. | | Jan 28 11:03:35 liszt-01/liszt-01 postfix/smtp[31184]: fatal: update | queue file active/4/D/4DF43CE6AD: Stale NFS file handle | | However I have to be honest and say that I cannot relate directly the | above error to the kernel error I posted........however I can say for | sure that it is an NFS issue. | | Thanks, kind regards - RL
Quoted 5 lines · Philippe Gramoullé
Hello,
Well, i'd advise you to upgrade to latest kernel if you can.
Then if you can't i'd advise you not to put the postfix mail queue over NFS, but over local and fast disks.
Well the reason that we run the queues over NFS is because we have many mail application servers for redundancy, however if we host the mail q's locally then when we loose an app server we loose the mail.
Quoted 2 lines
Besides the problems you described, this is quite a performance hit even for a moderate busy server.
To be honest that is not the bottleneck in the system, our current load is about 300000 messages a day and we have found that just one PIII server with 256Mb ram can take the messages in, spam scan, virus scan and deliver the messages to NFS hosted maildir in under 1 second.
Quoted 6 lines
And to quote Postfix author:
"Couple years ago I talked with someone at WebTV. They ran Postfix queues on top of NFS. As a result of their experience I added one NFS workaround to Postfix. However, NFS is not a perfect emulation of a local disk, and strange things can happen occasionally.
I have taken this up with the postfix list, if this is the case then the decision is clear, either postfix handles the situation better or we have to use another MTA in our situation.
Take care - RL
Signature · 5 lines
MSN:[email protected] |"All that is etched in stone Yahoo:admroblaz AIM:admroblaz |is truly only scribbled in ICQ:66324927 |sand" - RL Jabber:[email protected] |Join Eff http://www.eff.org e-mail:[email protected]|Take care all - Rob Laz