Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

NFS fil copy truncated pleas help!

Hello,

I have mounterd an NFS share to my board as:

mnt -t nfs 13.1.143.56:/opt/files /mnt/nfs -n -o nolock

and tried to copy a file that is 5 MBytes into a ram disk mounted at /mnt/ramdisk wich has a capacity for 8MB.

The size of the copy file is always truncated to 4096

How can I get uClinux to copy the entire file?

Please lend me a hand?

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I had a similar problem with reading, once I set the Block size to 1k for both r and write the problem went away.

    Let me know if it helps

    --- Quote Start ---

    originally posted by carlos@Apr 14 2006, 11:15 AM

    hello,

    i have mounterd an nfs share to my board as:

    mnt -t nfs 13.1.143.56:/opt/files /mnt/nfs -n -o nolock

    and tried to copy a file that is 5 mbytes into a ram disk mounted at /mnt/ramdisk wich has a capacity for 8mb.

    the size of the copy file is always truncated to 4096

    how can i get uclinux to copy the entire file?

    please lend me a hand?

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=14382)

    --- quote end ---

    --- Quote End ---