[Samba] Upgraded to Ubuntu 22.04 LTS. Kernal Panic when transferring large numbers of files from windows machine to samba-share

Jeremy Allison jra at samba.org
Thu May 5 17:36:01 UTC 2022

On Thu, May 05, 2022 at 10:32:09AM -0700, Mathew Moore via samba wrote:
>Hi All,  new to the maillist.   Any assistance appreciated.  Please advise
>if I should send this elsewhere :)
>System: Samba domain member, samba-share.  ext4 filesystem, MDADM raid 6.
>~400TB. 128GB  mem.
>System was stable on Ubuntu 20.04.  Unstable following upgrade to
>22.04  (kernel
>version 5.15)
>To reproduce kernel error,  copy thousands of files (~1tb of data) to
>samba-share from any windows computer.  Kernel error thrown,  smbd process
>is unresponsive and cannot be killed, file transfer stops,  the mounted
>drive freezes (directory operations including ls,mv,cp on the mount are not
>possible) and the system needs to be hard-rebooted.  Quite an unhappy
>outcome :)
>I cannot reproduce the error copying via nfs or copying files on the drive
>Single files or small transfers proceed without error.
>Filesystem passes fsck.
>Any assistance would be appreciated, I'm way out of my depth here :)
>Happy to assist in tracking this down. Pls let me know.
>Kernel error and smb.conf follows.......

Kernel errors in ext4 can't be fixed directly in Samba
I'm afraid. You'll need to report this to the Linux
kernel mailing lists. When you get the kernel error
can you get a stack backtrace to see what smbd was
doing at the time ?

More information about the samba mailing list