- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vi hangs on NFS mounted files
Categories
Company
Local Language
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2001 11:28 PM
10-24-2001 11:28 PM
vi hangs on NFS mounted files
I have a strange problem on 11.0
vi works fine on any of files except the NFS mounted files. I can open NFS files using cat/more. but when i used vi the screen hangs, not able to open any NFS mounted files.
can anybody help me...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 03:41 AM
10-25-2001 03:41 AM
Re: vi hangs on NFS mounted files
THe major difference 'twixt vi and cat/more etc is that vi copies the file to a temporary area (iirc /var/tmp) first, and works on that file.
Can you manually copy the file?
Is /var/tmp or /var full?
Any network problems?
HTH
dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 03:58 AM
10-25-2001 03:58 AM
Re: vi hangs on NFS mounted files
Most probably, your temporary directory (/tmp or /var/tmp) is full.
Can you edit the file(s) with other editor?
E.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 04:03 AM
10-25-2001 04:03 AM
Re: vi hangs on NFS mounted files
Are you able to vi local files?? Check
/var/tmp .
What is the size of the file you are trying
to vi? Is there a problem in vi'ing even
a small file on the NFS fs?
Have a look at your syslog.file to see
whether there any NFS error messages being
logged.
R-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 04:14 AM
10-25-2001 04:14 AM
Re: vi hangs on NFS mounted files
/tmp. /var have sufficient space, ntework is fine, system can mount NFS filesystems without any problem. and i can vi any local files except these NFS files. size of files are very small(a small c programs)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 06:36 AM
10-25-2001 06:36 AM
Re: vi hangs on NFS mounted files
Can you copy one of these
problem files to your local FS and then vi them?? Just
want to make sure, whether
the files themselves can
be accessed in total.
Also, check in glance on
what WAIT state is the vi
process hanging? That will
defintely give a clue .
HTH
raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 06:37 AM
10-25-2001 06:37 AM
Re: vi hangs on NFS mounted files
Do you have sufficient rights to edit an file with vi over NFS. UID's on files might differ.
just a wild guess.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 12:33 PM
10-25-2001 12:33 PM
Re: vi hangs on NFS mounted files
take a look a /var/preserve. Try cleaning it out.