Giter VIP home page Giter VIP logo

Comments (13)

davedoc1984 avatar davedoc1984 commented on September 4, 2024

image

from retronas.

sairuk avatar sairuk commented on September 4, 2024

that looks to me like it failed to select a sector to read

which is probably the time your drive went to sleep, what is the sleep interval on your drive currently?

what OS is this? I am running a bunch of iterations on 64bit raspios and i cannot recreate this error with shufyet

if you are on 32bit raspios this is determined by the tools at compilation time. I'll have a think about what I can do with this in the meantime

https://www.gnu.org/software/coreutils/faq/coreutils-faq.html#Value-too-large-for-defined-data-type

from retronas.

sairuk avatar sairuk commented on September 4, 2024

I've pushed a fix for this, raspios has not compiled shuf with large file support

e7dcb08

You should be able to rerun the installer and start and stop the services to test it out

from retronas.

sairuk avatar sairuk commented on September 4, 2024

@davedoc1984 have you had a chance to test if these changes correct the "Value to large" error?

from retronas.

davedoc1984 avatar davedoc1984 commented on September 4, 2024

Not sure what I need to do? I now have symlinks issues where none of them are working e.g. PS3, PS2 etc which were working previously.

from retronas.

sairuk avatar sairuk commented on September 4, 2024

I see you've opened a new issue, please restrict that conversation to that issue.

I need to know for this issue if reinstalling the hdparm service and stop/starting it allows it to run without error for you

from retronas.

davedoc1984 avatar davedoc1984 commented on September 4, 2024

I have tried reinstalling HDPARM and this hasn't solved the problem.

from retronas.

sairuk avatar sairuk commented on September 4, 2024

thanks, please confirm you did the following on the hdparm screen

  • Install
  • Stop
  • Start

Show me the output of the service as you have done previously, so we can attempt to troubleshoot further.

Noting we need to work with your setup to come up with a solution since yours are currently the only reports of this issue and I cannot reproduce it here.

from retronas.

davedoc1984 avatar davedoc1984 commented on September 4, 2024

Confirmed I did Install, Stop and Start.

This is what I now see on the HDPARM Service

image

from retronas.

sairuk avatar sairuk commented on September 4, 2024

OK so the service is running successfully on your system with the changes I made, looks like I have something to tweak in the counter output.

If reading from the drive is still not preventing the drive from spinning down then my only option is to change the read interval on the timer and see if that helps which is currently every 3-5 minutes

So i'm not going to commit code changes until we've tested it on your system

Please do the following so we can decrease the interval reads are done to the drive to between 30s - 1m

sed -i 's/3m/30s/' /usr/lib/systemd/system/hdparm.timer
sed -i 's/2m/30s/' /usr/lib/systemd/system/hdparm.timer
systemctl daemon-reload
systemctl start hdparm.timer
systemctl start hdparm.service

This should make the service find and read a sector on a smaller intervale

from retronas.

davedoc1984 avatar davedoc1984 commented on September 4, 2024

Fail I am afraid

image

from retronas.

sairuk avatar sairuk commented on September 4, 2024

service works ok, as to your hdd i dont see there is anything more RetroNAS can reasonably do. We're issuing a read operation every minute and its still problematic. what drive model is it?

from retronas.

sairuk avatar sairuk commented on September 4, 2024

If 30-45s interval reads from the drive don't keep it awake there is nothing more than we can do from the RetroNAS side we're going to close this off.

I suggest you try a different enclosure and/or hdd until you find something that works for you or contact the manufacturer about how to correctly disable sleep for whatever drive it is.

from retronas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.