Dustin Posted March 18, 2023 Share Posted March 18, 2023 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 Quote Link to comment
JorgeB Posted March 19, 2023 Share Posted March 19, 2023 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) Quote Link to comment
Darksurf Posted March 31, 2023 Share Posted March 31, 2023 (edited) 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, 2023 by Darksurf Quote Link to comment
Dustin Posted June 14, 2023 Author Share Posted June 14, 2023 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? Quote Link to comment
dirkinthedark Posted December 3, 2023 Share Posted December 3, 2023 @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 Quote Link to comment
dirkinthedark Posted December 3, 2023 Share Posted December 3, 2023 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 Quote Link to comment
JorgeB Posted December 4, 2023 Share Posted December 4, 2023 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. 1 Quote Link to comment
Recommended Posts
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.