I’m a little teapot 🫖

  • 1 Post
  • 163 Comments
Joined 1 year ago
cake
Cake day: September 27th, 2023

help-circle

  • seaQueue@lemmy.worldtoSelfhosted@lemmy.worldHDD randomly unmounting
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    2 months ago

    I’m not sure how to get the N from session history, nor how to check my session history…

    journalctl --list-boots will list all sessions stored in the journal.

    The output is from yesterday, when the device stopped working correctly.

    I’m not familiar with linux kernel, but I can see there is definitely something wrong…

    The HDD (old) is attached to a USB hub (new), I tried switching port of the hub but the same issue happened again, if I try to mount it with sudo mount /mnt/2tb, it says it is already mounted:

    Those messages tell you what’s happening, there’s an unrecoverable error on the USB bus connecting the hard drive which is causing filesystem errors when writes fail. Diagnose that, lose the hub first and directly connect the drive to the pi, then try replacing the cable that attaches the drive if the error still occurs. I’d also check with people in the rpi community in case there are any known issues with USB on your model. There may be some pi specific USB firmware things you can do to increase reliability.

    You can also try disabling UASP for the drive in case BOT transfer somehow stabilizes the connection. You’ll lose performance but that helps with some USB storage bridges.

    Some USB storage bridges are just unreliable under Linux and crash under load, your last option is to buy another drive enclosure that’s tested and known to work correctly. I went through like 5 USB/NVMe enclosures looking for one that worked properly, that whole space is a compatibility mess.




  • seaQueue@lemmy.worldtoSelfhosted@lemmy.worldHDD randomly unmounting
    link
    fedilink
    English
    arrow-up
    13
    ·
    edit-2
    2 months ago

    Don’t just look at sdb hits in the log. Open up that entire session in journalctl kernel mode (journalctl -k -bN where N is the session number in session history) and find the context surrounding the drive dropping and reconnecting.

    You’ll probably find that something caused a USB bus reset or a similar event before the drive dropped and reconnected. if you find nothing like that try switching power supplies for the HDD and/or switching USB ports until you can move the drive to a different USB root port. Use lsusb -t and swap ports until the drive is attached beneath a different root port. You might have a neighboring USB device attached to the bus that’s causing issues for other devices attached to the same root port (it happens, USB devices or drivers sometimes behave badly.)

    Always look at the context of the event when you’re troubleshooting a failure like this, don’t just drill down on the device messages. Most of the time the real cause of the issue preceded the symptom by a bit of time.




  • Basically Dems were just out of touch with the most important part of their base until it was too late.

    Which is their consistent problem every election when the prior Republican admin hasn’t made a catastrophic fuck-up.

    You can’t run on the “we’re pro labor” platform and expect the working class to show up for you when your pro labor stance hasn’t put money directly into working class pockets since the 1970s or 1980s.

    Where are the big public works programs? Where’s the massive government spending that employed millions? That’s why labor showed up for Democrats in the 1900s, when there were huge govt contracts that employed organized labor, and it’s no surprise at all that when Democrats abandoned those policies labor stopped being reliable supporters.

    You want to run a successful campaign? Talk about the massive public spending that employed hundreds of thousands during your prior admin. Talk jobs. Talk improved standard of living. Talk taxing corporations to pay for those things and voters will hand you a landslide. Democrats are so afraid of taxing corporations to pay for social spending that directly recruits voters to their cause that they’re seen as corporate stooges. And honestly, they kinda are at this point.





  • We need folks <55 to show up for every single election to get progressives elected into local, state and national positions.

    2016 is when the youth vote started reliably turning up for presidential elections. That’s great but it’s not enough to drive policy change, we need young folks participating in primaries (which they tend to sit out,) congressional elections, state elections, county elections and local elections to build real political power

    >55 still outnumber <35 by anywhere between 2:1 and 8:1 in almost every election except the presidential race. Until that changes progressive candidates don’t have a chance at local, state and national positions that act as the springboard to higher office and progressive stances aren’t a day to day political priority.

    TL;DR: The <55 vote needs to turn out in force for every election every year (plus primaries!) and vote for progressives that represent their interests. Until that happens politics will remain dominated by neoliberal and conservative homeowners who show up reliably every time.


  • The problem with accelerationism is that it almost always leads to authoritarianism rather than the glorious socialist revolution everyone wants. We don’t need a global economic crash to shift to progressive policies, we need everyone to show up to every election (not just once every 4y) and vote for progressive candidates at every level of government. You do that and suddenly progressive policies are on the menu and progressive local politicians start running for state and national posts - then you can start doing things to address poverty, income inequality, the low taxes the wealthy pay, etc.