[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: strange vim startup/loading error



Marc Wiatrowski wrote:


On Fri, 2006-04-21 at 16:45 -0400, Marc Wiatrowski wrote:


There seems to be size limit, maybe number of lines.. characters
bytes, not sure in reference to the swap file creation? If

I generate
a test file with on the RHEL 4 U3 box with vim 6.3.82 (RH

6.3.046-0.40E.7)

perl -e 'for (my $i=0; $i <= 3509; $i++) { print "This is

just one line of text.\n" }' >

test.txt

and then vim test.txt

I get:

E295: Read error in swap file
E316: ml_get: cannot find line 1
Hit ENTER or type command to continue

Can anyone else reproduce this?

No, I'm running Update 2, but vim-common is the same version you list.
I created your test.txt file and I have no problems opening it.



Ok I've narrowed it down some more.  The file is in an nfs mounted directory
when I get the error.  If I move it to a local disk, no error.  Move it back
and the error comes back. If I mount with nfsvers=2, no error, mount with nfsvers=3 and I get the error. noacl, nolock, tcp, udp... didn't seem to make a difference. I also disable SELinux which made no difference. The NFS server is running RHEL 3 U5

thanks,
marc



Maybe your quota are exceeded? what does "quota -v" report?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]