SMB and NFS uploading problem Raspberry pi 5

  • Hi everyone,

    I'm experiencing a lot of issues with Samba and the NFS server.

    For example, when only Samba is enabled, I occasionally run into an annoying issue:


    The upload basically drops to 0 for a long time, then start again.

    Most of the times it will just get stuck at zero:


    Sometimes I will get Input / Output errors (fixable restarting the raspberry):


    I tried configuring Samba with only sync mode, but it made things even worse...


    ALSO when aborting the transfer, OMV will not load anymore the Disk section, loading the disks infinitly... then OMV will not be avaiable:

    (sorry it is in italian, it says "can't reach the website").
    And so I have to reboot.


    When I use NFS, it's even worse!

    On Windows (I tested both 10 and 11), I can successfully map the network HDD. Uploading very small files (just a few KB) works fine, but when I try uploading larger files (even as small as 40 MB), I always get a semaphore timeout error (0x80070079).


    So I thought maybe is HDD is gone, but when I analyze the HDD using SMART:

    Code
     sudo smartctl -a /dev/sda

    I get a good output, no error in sectors:

    Important values:Reallocated_Sector_Ct is 0

    Current_Pending_Sector is 0

    Offline_Uncorrectable is 0


    The only strange values are:

    Raw_Read_Error_Rate is 56997494
    Command_Timeout is 11828521077523

    Seek_Error_Rate is 89781432

    So I think the HDD is in good conditions...


    My goal is to make at least one of the protocols work.

    I don't get where I'm wrong, can somebody help me? Thanks!

  • Tizfaver

    Added the Label OMV 7.x
  • Tizfaver

    Changed the title of the thread from “Samba and NFS not working on Raspberry pi 5” to “SMB and NFS uploading problem Raspberry pi 5”.
  • Finally arrived the new HDD Sata to USB and I don't have anymore this problem.

    This Sata to USB adapter is now working for me: this


    Moving 6GB of files with new adapter:


    So if anyone has this problem try changing the adapter. This worked for me.

  • Tizfaver

    Added the Label resolved

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!