March 18, 20233 yr I attached my log shortly after startup. I see several errors that read: "Mar 18 17:37:04 UNRAID kernel: Buffer I/O error on dev sr0, logical block #####, async page read." With various different numbers for the logical block. I attached the log. Any thoughts on what is causing these errors and how to fix it? Thanks! syslog.txt
March 19, 20233 yr Community Expert That's from an optical drive, just disconnect it if not needed (it can also be from a virtual IPMI drive, you should also be able to disable it)
March 31, 20233 yr On 3/18/2023 at 6:05 PM, Dustin said: I attached my log shortly after startup. I see several errors that read: "Mar 18 17:37:04 UNRAID kernel: Buffer I/O error on dev sr0, logical block #####, async page read." With various different numbers for the logical block. I attached the log. Any thoughts on what is causing these errors and how to fix it? Thanks! syslog.txt 200.22 kB · 1 download This is due to missing/broken UDEV rules. You can add a tweaked persistent-storage udev rule to /etc/udev/rules.d/ and reload udev to make the issue stop. to fix this, just download the rules, copy rules to server, then in unraid root terminal go to folder where rules were placed and: # mv 60-persistent-storage.rules /etc/udev/rules.d/ # udevadm control --reload-rules && udevadm trigger Now this fix isn't permanent. If you want it to be permanent, you need the user scripts plugin and set the plugin to echo the contents of that file into /etc/udev/rules.d/60-persistent-rules.storage and then run the reload commands. https://forum.makemkv.com/forum/viewtopic.php?t=25357 https://forum.manjaro.org/t/udev-persistent-persistent-storage-rules-for-dev-sr-hangs-udev/108411/2 https://github.com/systemd/systemd/pull/23127 (which was ridiculously ignored and the kernel/media blamed for udev not handling exceptions) I actually use a docker that monitors an external Bluray drive and rips discs the moment they're inserted and it texts my phone when its done so I can move on to the next one. My family loves movies and we're always digging in the bargain bin or buying movies when rental stores sell them off or go out of business. Then I put the media away after ripping it because my children liked to use them like Frisbees. So now they're only allowed to watch movies via the Plex server on their Roku. Optical Storage isn't dead! 60-persistent-storage.rules Edited March 31, 20233 yr by Darksurf
June 14, 20233 yr Author I don't have an optical drive. I do have a 3.5in floppy drive, which I never use. There is also IPMI built within the motherboard that is enabled. Since I don't have an optical drive, is it likely its caused by my floppy drive, or by IPMI?
December 3, 20232 yr @Darksurf Thank you, I'm a total noob, how do I "set the plugin to echo the contents of that file into /etc/udev/rules.d/60-persistent-rules.storage" I have the user scripts plugin and your rule set. Thank you for your time, DL
December 3, 20232 yr Ok I made a new share called systemfiles, then I use cat to copy the file at server start using user scripts. Hopefully this works #!/bin/bash echo Running Persistant Storage Rules cat /mnt/user/systemfiles/60-persistent-storage.rules > /etc/udev/rules.d/60-persistent-storage.rules udevadm control --reload-rules && udevadm trigger echo Finished
December 4, 20232 yr Community Expert Keep in mind that having this can cause issues with a future Unraid update, so any devices issues after updating try to remember disabling the script first and retesting.
December 11, 20241 yr On 12/3/2023 at 6:15 PM, dirkinthedark said: Ok I made a new share called systemfiles, then I use cat to copy the file at server start using user scripts. Hopefully this works #!/bin/bash echo Running Persistant Storage Rules cat /mnt/user/systemfiles/60-persistent-storage.rules > /etc/udev/rules.d/60-persistent-storage.rules udevadm control --reload-rules && udevadm trigger echo Finished Curious if this worked for you. I'm wondering what the symptom of this other than looking at the log.
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.