|
|
|
|
|
|
| Author |
Message |
Sanjay Govindjee *nix forums beginner
Joined: 06 Feb 2005
Posts: 1
|
Posted: Sun Feb 06, 2005 2:38 am Post subject:
NFS errors linking large executables
|
|
|
I have a snap server and operating as a NFS file server.
I mount the snap partitions on the following machines: a Fedora Core 2 box,
a Fedora Core 3 box, and a box running RedHat 7.1. The core 2 and 3 boxes
are running relatively upto date kernels. The RedHat 7.1 box is running
an original kernel.
The NFS file system work 99% of the time. However on the Fedora Core 2
and 3
boxes I experience errors when linking large programs. When I link
large programs
and write the executable directly to the NSF partion the executable will
not run (core dumps, won't even get past _start() ); I'll call this case
a. If I
take the same object files (which reside) on the snap server and
direct the linker's output to the local hard drive, then
the executable works fine; I'll call this case b. I can even move
the executable from case b to the NFS partition and it still works fine.
If I diff the executables I see that about 40 bytes in case a
(out of 2MB) in the executable are zero compared to what is present in
case b.
[The overall sizes of the executable from case a and b are identical.]
I do not see this problem when using my older RedHat 7.1 box.
I have tired to increase the rsize and wsize parameters in /etc/fstab as
well as
trying both nsf client versions 2 and 3. The error is present in all cases.
When I try compiling smaller programs things work fine on all three boxes.
The snap server is running SnapOS version 4.0.837. The Core 2 box is
running
kernel 2.6.9-1.6_FC2smp, the Core 3 box is running 2.6.10-1.741_FC3, and
the RedHat
box is running kernel 2.4.2-2.
Any help, suggestions, etc would be most welcome.
-sanjay |
|
| Back to top |
|
 |
Michael Heiming *nix forums Guru
Joined: 19 Feb 2005
Posts: 1423
|
Posted: Sun Feb 06, 2005 8:21 am Post subject:
Re: NFS errors linking large executables
|
|
|
In comp.os.linux.networking Sanjay Govindjee <sanjay01@pacbell.net>:
[..]
| Quote: | I have a snap server and operating as a NFS file server.
|
Never heard.
| Quote: | I mount the snap partitions on the following machines: a Fedora Core 2 box,
a Fedora Core 3 box, and a box running RedHat 7.1. The core 2 and 3 boxes
are running relatively upto date kernels. The RedHat 7.1 box is running
an original kernel.
The NFS file system work 99% of the time. However on the Fedora Core 2
and 3
boxes I experience errors when linking large programs. When I link
large programs
and write the executable directly to the NSF partion the executable will
not run (core dumps, won't even get past _start() ); I'll call this case
a. If I
[..] |
| Quote: | I have tired to increase the rsize and wsize parameters in /etc/fstab as
well as
trying both nsf client versions 2 and 3. The error is present in all cases.
When I try compiling smaller programs things work fine on all three boxes.
|
Dunno if this is related, however have some problems with FC3
doing only nfs v2, which as expected can't use files >2GB. Nfs v3
doesn't work at all for unknown reasons, nfs v4 should, but
requires some setup (kdc/etc) had no time until now setting up
and it's not clear to me if the nfs-utils are nfsv4 aware at all.
--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry@urvzvat.qr | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 171: NOTICE: alloc: /dev/null: filesystem full |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Fri Jan 09, 2009 8:58 am | All times are GMT
|
|
Personal Car Finance | Free Ringtones | Xecuter 3 Mod Chip | Bad Credit Loan | Bad Credit Loan
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|