* NFS and Tru64 5.0
@ 2000-03-16 5:00 bobbyit
2000-03-16 5:00 ` Serguei Patchkovskii
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: bobbyit @ 2000-03-16 5:00 UTC (permalink / raw)
Hi,
I am having this following funny behaviour.
"vi" ing a already existing file, on an NFS file system just hangs. I
verified if it writes temporary file to the /var/tmp..and it does. only
way to come out of it to do a ctrl-C and "vi" opens up with an empty
file.
I can "vi" a new (non-existent) file with no problems.
Everything was fine up until I applied the patch kit #1. Then I
uninstalled it and still the same problem.
This happens only on nfs mounted file systems. Can anyone help me in
figuring out what is happening? EVen a pointer a similar command like
truss or trace would help.
Thanks
Sent via Deja.com http://www.deja.com/
Before you buy.
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: NFS and Tru64 5.0
2000-03-16 5:00 NFS and Tru64 5.0 bobbyit
@ 2000-03-16 5:00 ` Serguei Patchkovskii
2000-03-17 5:00 ` Ric Werme
2000-04-14 4:00 ` Eric Werme - replace nospam with werme
2 siblings, 0 replies; 4+ messages in thread
From: Serguei Patchkovskii @ 2000-03-16 5:00 UTC (permalink / raw)
bobbyit@my-deja.com wrote:
: I am having this following funny behaviour.
: "vi" ing a already existing file, on an NFS file system just hangs. I
: verified if it writes temporary file to the /var/tmp..and it does. only
: way to come out of it to do a ctrl-C and "vi" opens up with an empty
: file.
Most likely, rpc.lockd (or, perhaps, rpc.statd) is dead on the server -
in which case, locking on NFS file systems won't work. Try restarting it...
/Serge.P
--
home page: http://www.cobalt.chem.ucalgary.ca/ps/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: NFS and Tru64 5.0
2000-03-16 5:00 NFS and Tru64 5.0 bobbyit
2000-03-16 5:00 ` Serguei Patchkovskii
@ 2000-03-17 5:00 ` Ric Werme
2000-04-14 4:00 ` Eric Werme - replace nospam with werme
2 siblings, 0 replies; 4+ messages in thread
From: Ric Werme @ 2000-03-17 5:00 UTC (permalink / raw)
bobbyit@my-deja.com writes:
>I am having this following funny behaviour.
>"vi" ing a already existing file, on an NFS file system just hangs. I
>verified if it writes temporary file to the /var/tmp..and it does. only
>way to come out of it to do a ctrl-C and "vi" opens up with an empty
>file.
>I can "vi" a new (non-existent) file with no problems.
>Everything was fine up until I applied the patch kit #1. Then I
>uninstalled it and still the same problem.
The details of the problem are a little tricky, but applying the
patch kit didn't break things. Rebooting did.
>This happens only on nfs mounted file systems. Can anyone help me in
>figuring out what is happening? EVen a pointer a similar command like
>truss or trace would help.
This should be fixed in the second patch kit (I don't know if that's out
or not). Your support people should be able to help out if you want them
to. The easy workaround is to shutdown NFS, do "rm /etc/sm.bak/*",
and restart NFS or reboot. The fix will be a rpc.statd that handles
notifying old servers much better than it used to.
This is a day one problem, going back to the original NFS code from Sun.
V5.0 greatly exacerbates things.
-Ric Werme
--
Ric Werme | werme@nospam.mediaone.net
http://people.ne.mediaone.net/werme | ^^^^^^^ delete
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: NFS and Tru64 5.0
2000-03-16 5:00 NFS and Tru64 5.0 bobbyit
2000-03-16 5:00 ` Serguei Patchkovskii
2000-03-17 5:00 ` Ric Werme
@ 2000-04-14 4:00 ` Eric Werme - replace nospam with werme
2 siblings, 0 replies; 4+ messages in thread
From: Eric Werme - replace nospam with werme @ 2000-04-14 4:00 UTC (permalink / raw)
bobbyit@my-deja.com writes:
>I am having this following funny behaviour.
>"vi" ing a already existing file, on an NFS file system just hangs. I
>verified if it writes temporary file to the /var/tmp..and it does. only
>way to come out of it to do a ctrl-C and "vi" opens up with an empty
>file.
>I can "vi" a new (non-existent) file with no problems.
vi locks files with flock(2). To support cluster work, we discarded the
BSD code behind flock and changed it to do fcntl(2) Posix style
locking (which works with NFS). Unfortunately, now a lot of workstations
are using NFS locking that never did before, and a lot of those get
shutdown over night or just plain disappear. NFS locking leaves notes
behind of the sort "When you next reboot, tell node xxx about that".
If you reboot and xxx is down, rpc.statd tries forever usually suffering
a sizable timeout on each try.
Fix is a new rpc.statd that is a lot more sensible about nodes that
go away, I think it's in the next patch kit. Support should be able
to get you one earlier. In the meantime, do "ls /etc/sm.bak" and
if that lists hostnames, "rm /etc/sm.bak/*" and restart NFS or reboot.
>Everything was fine up until I applied the patch kit #1. Then I
>uninstalled it and still the same problem.
Even a reboot without installing anything would have done you in.
--
<> Eric (Ric) Werme <> The above is unlikely to contain <>
<> ROT-13 addresses: <> official claims or policies of <>
<> <jrezr@mx3.qrp.pbz> <> Compaq Computer Corp. <>
<> <jrezr@zrqvnbar.arg> <> http://people.ne.mediaone.net/werme <>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-04-14 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-16 5:00 NFS and Tru64 5.0 bobbyit
2000-03-16 5:00 ` Serguei Patchkovskii
2000-03-17 5:00 ` Ric Werme
2000-04-14 4:00 ` Eric Werme - replace nospam with werme
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox