1827812 Members
1855 Online
109969 Solutions
New Discussion

Re: NFS Error

 
SOLVED
Go to solution
Peter Clarke
Regular Advisor

Re: NFS Error

Version 2.4.20-9smp
GNU/Linux
Bojan Nemec
Honored Contributor

Re: NFS Error

Peter,

Tests which cames me first in mind. On Linux:

dd if=/dev/zero of=test.huge bs=10M count=300

This will produce a ~ 3GB file filled with zeros (bs * count). Keep block size (bs) high for speed.

On VMS I am not shure if this will work (I have no NFS to test) but you can try. Create a fdl for a huge sequential file and invoke a CREATE/FDL command. This will allocate the space (but how NFS handles allocation?).

The fdl is something like this:
FILE
ALLOCATION size_in_512_blocks
ORGANIZATION sequential


Substitute size_in_512_blocks with testing size (try first with a small size to see if works)

Bojan
Peter Clarke
Regular Advisor

Re: NFS Error

ok that created a 3GB on the Linux machine without a problem!!
Bojan Nemec
Honored Contributor

Re: NFS Error

Peter,

If you have enough space on VMS try to copy the created file to it and back. Do this over NFS.

Bojan
faris_3
Valued Contributor

Re: NFS Error

Hi,

The OpenVMS NFS client uses NFS V2 so the
size of the files is limited to 2 GB

See
http://h18000.www1.hp.com/info/SP4646/SP4646PF.PDF

page 3.

How did you solve the initial permission
problems ?

/HF
Peter Clarke
Regular Advisor

Re: NFS Error

3GB file copies to and from the alpha using NFS with no problems....
faris_3
Valued Contributor

Re: NFS Error

Which version of TCPIP are you using ?

From VMS nfs client to VMS nfs server
my file is truncated to 2GB.
faris_3
Valued Contributor

Re: NFS Error

By the way with NFS V2 the limit is
either 2 Gb or 4 Gb depending on the size
field being considered as signed or unsigned.

Peter Clarke
Regular Advisor

Re: NFS Error

Version 5.4
I am using vms client and a Linux server.

But is the limit was 4GB then why when copying a 14GB file would i only recieve 1.41GB surely i should get 4GB??

faris_3
Valued Contributor

Re: NFS Error

I can't reply for your Linux.

Regarding TCPIP for OpenVMS there was a change from 5.0a to 5.1 in the nfs SERVER :
because of support of NFSv3, the NFS V2 code was put back to only support files of 2GB to be RFC compliant.
faris_3
Valued Contributor

Re: NFS Error

I did a test from VMS TCPIP 5.4 to VMS TCPIP
5.4 : file size is limited to 2 Gigabytes.
(4194304 blocks)

Server side :
-----------

NFS SERVER 5.4 ECO2> copy nl: test.dat /alloc=10000000

NFS SERVER 5.4 ECO2> dir /size test.dat

Directory DKA0:<000000>
TEST.DAT;1 *******
Total of 1 file, 10000025 blocks.

NFS SERVER 5.4 ECO2> dump/block=(start:4194305,count:1) test.dat/alloc

Dump of file DKA0:<000000>TEST.DAT;1 on 12-OCT-2004 18:02:41.19
File ID (23812,9,0) End of file block 10000025 / Allocated 10000025

Virtual block number 4194305 (00400001), 512 (0200) bytes

E0DC97C1 A78F39EC BE0DD97C 1BB2F837 65F06ECB E0DD97C1 BB2F8376 5F06ECBE >l._v./;A.]`Knpe7x2.|Y.>l9.'A.\` 000000
(...)


Client side :
-----------

NFS CLIENT 5.4 ECO2> dir /size test.dat

Directory DNFS7:

TEST.DAT;1 4194304

Total of 1 file, 4194304 blocks.
NFS CLIENT 5.4 ECO2> dir /size=alloc test.dat

Directory DNFS7:

TEST.DAT;1 *******

Total of 1 file, 10000025 blocks.
NFS CLIENT 5.4 ECO2> dump/block=(start:4194304,count:1) test.dat

Dump of file DNFS7:TEST.DAT;1 on 27-MAR-2005 02:35:29.55
File ID (63,14496,0) End of file block 4194304 / Allocated 10000025

Virtual block number 4194304 (00400000), 512 (0200) bytes

30251F1C 2C7F28EE F36FE816 DFD0EAD7 EFF381FD CE63A79F FC06BE99 780307BE ¾..x.¾.ü.§cà ý.óïà êà à .èoóî(.,..%0 000000
(...)

NFS CLIENT 5.4 ECO2> dump/block=(start:4194305,count:1) test.dat/alloc %DUMP-E-READERR, error reading DNFS7:TEST.DAT;1 -SYSTEM-W-DEVICEFULL, de
faris_3
Valued Contributor

Re: NFS Error

I did a test from VMS TCPIP 5.4 to VMS TCPIP
5.4 : file size is limited to 2 Gigabytes.
(4194304 blocks)

Server side :
-----------

NFS SERVER 5.4 ECO2> copy nl: test.dat /alloc=10000000

NFS SERVER 5.4 ECO2> dir /size test.dat

Directory DKA0:<000000>
TEST.DAT;1 *******
Total of 1 file, 10000025 blocks.

NFS SERVER 5.4 ECO2> dump/block=(start:4194305,count:1) test.dat/alloc

Dump of file DKA0:<000000>TEST.DAT;1 on 12-OCT-2004 18:02:41.19
File ID (23812,9,0) End of file block 10000025 / Allocated 10000025

Virtual block number 4194305 (00400001), 512 (0200) bytes

E0DC97C1 A78F39EC BE0DD97C 1BB2F837 65F06ECB E0DD97C1 BB2F8376 5F06ECBE >l._v./;A.]`Knpe7x2.|Y.>l9.'A.\` 000000
(...)


Client side :
-----------

NFS CLIENT 5.4 ECO2> dir /size test.dat

Directory DNFS7:

TEST.DAT;1 4194304

Total of 1 file, 4194304 blocks.
NFS CLIENT 5.4 ECO2> dir /size=alloc test.dat

Directory DNFS7:

TEST.DAT;1 *******

Total of 1 file, 10000025 blocks.
NFS CLIENT 5.4 ECO2> dump/block=(start:4194304,count:1) test.dat

Dump of file DNFS7:TEST.DAT;1 on 27-MAR-2005 02:35:29.55
File ID (63,14496,0) End of file block 4194304 / Allocated 10000025

Virtual block number 4194304 (00400000), 512 (0200) bytes

30251F1C 2C7F28EE F36FE816 DFD0EAD7 EFF381FD CE63A79F FC06BE99 780307BE ¾..x.¾.ü.§cà ý.óïà êà à .èoóî(.,..%0 000000
(...)

NFS CLIENT 5.4 ECO2> dump/block=(start:4194305,count:1) test.dat/alloc %DUMP-E-READERR, error reading DNFS7:TEST.DAT;1 -SYSTEM-W-DEVICEFULL, de
Lawrence Czlapinski
Trusted Contributor

Re: NFS Error

faris_3
Valued Contributor

Re: NFS Error

Yes but for the moment TCPIP for OpenVMS
does not have a NFS V3 *client*
/HF