Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

May 28 16:27:44 Tower kernel: CIFS: __readahead_batch() returned 4/15

Featured Replies

Where are these messages in the log coming from. 

Yes, this is probably from SMBv1.

They completely fill the log after a while.

Any way to shut these off?

Looks like they are informational.

 

Thanks

 

Dennis

I am experiencing the same issue as well...

Unraid complains about syslog being full and all I see is:

 

May 29 01:02:34 kernel: CIFS: __readahead_batch() returned 925/1024
May 29 01:03:23 kernel: CIFS: __readahead_batch() returned 421/1024
May 29 01:03:42 kernel: CIFS: __readahead_batch() returned 573/1024
May 29 01:04:15 kernel: CIFS: __readahead_batch() returned 337/1024
May 29 01:04:48 kernel: CIFS: __readahead_batch() returned 415/1024
May 29 01:05:07 kernel: CIFS: __readahead_batch() returned 825/1024
May 29 01:05:27 kernel: CIFS: __readahead_batch() returned 201/1024
May 29 01:05:30 kernel: CIFS: __readahead_batch() returned 11/1024
May 29 01:05:37 kernel: CIFS: __readahead_batch() returned 61/1024

 

I have mounted two SMB volumes from my Synology to the Unraid server so I can transfer the files across.

Is there any way to stop SMB/CIFS from adding informational logs in the syslog?

  • Author

What version of SMB is being used on the Synology?

 

If you unmount the SMB share and remount it, the Log will show you the negotiation that goes on in the process.

 

My DroboFS is old enough that it is still using SMBv1.  When a shere there mounts, the log shows it started with SMB latest and then negotiates down until it gets to SMB v1.

 

Hope this helps shed some light.

 

Dennis

Thank you for the reply!

 

Synology is configured to use minimum SMB2 with large MTU and max SMB3.

 

Synology reports that it is using SMB3

User [unraid] from [...] via [CIFS(SMB3)] accessed shared folder [...]

  • Author

Large MTU might be your issue

  • 5 months later...
On 5/30/2023 at 7:41 PM, ThanasisPolitis said:

Thank you for the reply!

 

Synology is configured to use minimum SMB2 with large MTU and max SMB3.

 

Synology reports that it is using SMB3

User [unraid] from [...] via [CIFS(SMB3)] accessed shared folder [...]

 

Have you found a fix? I am facing the same problem with an attached Synology as well.

  • 2 weeks later...
On 5/30/2023 at 11:42 PM, DWomack said:

Large MTU might be your issue

Interesting, could you elaborate, please?

I am seeing this the first time today (I checked back for the last 6 months), although there are no new SMB exports or mounts and unraid has been updated to the latest stable version a while ago.

 

The time it started to appear in the logs seems to coincide with when a macbook started to backup to unraid using TimeMachine (which is using an SMB disk share). The macbook does this once every day, so I wonder why I didn't see this log entry earlier.

 

Next day I saw that the flurry of this message ended when a backup of a SMB share ended that is hosted on a TrueNAS VM and mounted on unraid using Unassigned Devices in /mnt/remotes. This would mean these messages are actually coming from the SMB client on unraid.

 

No idea why this would happen now and not earlier, no idea how to solve it.

 

Edited by murkus

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.