Problem with NFS, everything freeze
Regards. I've got a problem with nfs. There are 2 servers. A and B. On server A I export one dir and start nfsd, portmap, mountd. On server B in mount A's exported dir. I begin to copy approxymately 40Mb up to A from B. At 30Mb the copy brokens and everything freeze on server B. B replyes to ping but nothing else. I waited 8 hours but nothing happened. I had to ask a restart for server B. For the most part it always happens. But why? Server A, B is OpenBSD 3.6 but I tried with 3.6-3.5 and the way around. They always freeze. I feel so uneasy..:/ The mount option was: serverA:/dir/ /mnt/nfsnfs rw 0 0 How can I avoid the feeze? I want to use nfs, to omit scp ( daily mail backups, sys backups and so on ) -- Adam Papai D i g i t a l Influence E-mail: [EMAIL PROTECTED] Phone: +36 30 33-55-735
Re: Problem with NFS, everything freeze
are you running pf? are you scrubbing on an interface? On Wed, Jul 27, 2005 at 08:00:27AM +0200, Adam Papai wrote: Regards. I've got a problem with nfs. There are 2 servers. A and B. On server A I export one dir and start nfsd, portmap, mountd. On server B in mount A's exported dir. I begin to copy approxymately 40Mb up to A from B. At 30Mb the copy brokens and everything freeze on server B. B replyes to ping but nothing else. I waited 8 hours but nothing happened. I had to ask a restart for server B. For the most part it always happens. But why? Server A, B is OpenBSD 3.6 but I tried with 3.6-3.5 and the way around. They always freeze. I feel so uneasy..:/ The mount option was: serverA:/dir/ /mnt/nfsnfs rw 0 0 How can I avoid the feeze? I want to use nfs, to omit scp ( daily mail backups, sys backups and so on ) -- Adam Papai D i g i t a l Influence E-mail: [EMAIL PROTECTED] Phone: +36 30 33-55-735
Re: Problem with NFS, everything freeze
Steven Manos said: are you running pf? are you scrubbing on an interface? On server A there I use: scrub in all but not more special rules. On server B I didn't use scrub, only some pass in rulez for ssh/smtp -- Adam Papai D i g i t a l Influence E-mail: [EMAIL PROTECTED] Phone: +36 30 33-55-735
Re: Problem with NFS, everything freeze
hey, yep, i made the same mistake first up too... from the pf users guide One reason not to scrub on an interface is if one is passing NFS through PF. Some non-OpenBSD platforms send (and expect) strange packets -- fragmented packets with the do not fragment bit set, which are (properly) rejected by scrub. This can be resolved by use of the no-df option. Another reason is some multi-player games have connection problems passing through PF with scrub enabled. Other than these somewhat unusual cases, scrubbing all packets is highly recommended practice. On Wed, Jul 27, 2005 at 09:06:02AM +0200, Adam Papai wrote: Steven Manos said: are you running pf? are you scrubbing on an interface? On server A there I use: scrub in all but not more special rules. On server B I didn't use scrub, only some pass in rulez for ssh/smtp -- Adam Papai D i g i t a l Influence E-mail: [EMAIL PROTECTED] Phone: +36 30 33-55-735
Re: Problem with NFS, everything freeze
Steven Manos said: hey, yep, i made the same mistake first up too... And did your system freeze as well like mine? Thanks anyway. I'll try this at home with 2 test NFS servers. ( of course with 2 openbsd ) I hope it will work. If not, I'll be sad. -- Adam Papai D i g i t a l Influence E-mail: [EMAIL PROTECTED] Phone: +36 30 33-55-735