this post was submitted on 14 Jul 2026
12 points (92.9% liked)

Selfhosted

60831 readers
882 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

Hi guys! I've been self hosting for a while and been using am 2 tb HDD I bought on aliexpress two years ago to host movies and series.. I bought a second drive to separate them and organize my media.

For 2 months everything went awesome but suddenly I started getting IO errors from my old drive. specially when I download and watch a movie at the same time.

Is my drive going die or could it be something else?

Dmesg showed these messages

[345778.390949] sd 0:0:0:0: [sda] tag#23 access beyond end of device

I/O error, dev sda, sector 3833662344 op 0x0:(READ) flags 0x3000 phys_seg 1 prio class 2

The weird part is the sda device stops showing unless I turn the PC off and take the sata cables from it and restart the PC. Then I can watch movies for a while before getting this error again... Regular reboot does not work.

top 16 comments
sorted by: hot top controversial new old
[–] frongt@lemmy.zip 27 points 6 days ago* (last edited 6 days ago) (1 children)

2 tb HDD I bought on aliexpress

Well there's the first red flag. Who's it made by? Have you verified the capacity with one of those verifier tools? Fake ones will report a huge capacity while having very little, and writes past it just disappear. The error you're seeing certainly sounds like that kind of behavior.

[–] HumbleBragger@piefed.social 2 points 6 days ago (1 children)

Yeah I suspected that too. Specially after downloading a lot of movies at once but I haven't used any tools besides fsck and fdisk and they read 1.8 Tb..I'll look into that to make surr.. Thanks!

[–] non_burglar@lemmy.world 13 points 6 days ago

You have already identified the problem in the logs.

You have a fake drive with firmware that says 1.8tb but are actually much lower.

access beyond end of device

This means an inode is mapped to a non-existing sector. Get your money back, if you still can.

[–] irmadlad@lemmy.world 8 points 6 days ago (1 children)

At this point, I would treat it as a failing drive and have a solid back up of the data.

The weird part is the sda device stops showing unless I turn the PC off and take the sata cables from it and restart the PC

That is the weird part. Almost like some intermittent power or connection glitch. Is this an internal drive or external in an enclosure? When you say the 'sda stops showing' does it disappear completely from lsblk? Does the drive have any SMART capabilities?

[–] HumbleBragger@piefed.social 2 points 6 days ago

Yeah.. I'll make a backup from the more important movies but most of them can be downloaded again thankfully.

It's an internal sata drive powered by the PC PSU .. I have an old dock station I used to connect an old HDD to.my pi..I'll try to use it and mount the drive using USB port to see if the problem is electrical. I've suspected the PSU could be the issue and I don't know the exact power it provides. Lsblk shows the sda drive..fdisk -l does not since I unmounted the device. I've just installed smartools but I'm getting a fail inquiry message so I can't really tell.

[–] Onomatopoeia@lemmy.cafe 3 points 6 days ago

Don't buy any kind of drive from aliexpress.

Shop here: https://diskprices.com/ and even then pay attention to the source.

[–] NaibofTabr@infosec.pub 4 points 6 days ago* (last edited 6 days ago) (2 children)

More specifics are needed for a support request. Provide the baseline specifications please.

What OS are you using? What is the make and model of the drive? Is it internal or external? USB? SATA? SAS? NVMe? A PCIe adapter? Is this a desktop, laptop, NAS, server, NUC, Raspberry Pi with an expansion board?

For all we know you're using a refurbished and relabeled SAS drive plugged into an adapter on an eSATA port on a 10 year old motherboard sitting in a cardboard box.

Are you familiar with SMART? Have you done any diagnostics?

[–] HumbleBragger@piefed.social 2 points 6 days ago

I'm not quite familiar with smart but right now I'm getting a fail inquiry message. I'm 200km from my home so I'll have to try using smartctl again on Saturday and see what I can find out..thanks for the direction!

[–] HumbleBragger@piefed.social 2 points 6 days ago

Sorry .. It's an internal sata WD purple plugged directly in the mobo (Brazilian crappy brand from China) LGA 1155...desktop I'm running Debian 13..the OS is on an mvme drive. I have another WD 2tb drive and a seagate 1tb drive too..both connected to the sata ports.

[–] solrize@lemmy.ml 1 points 6 days ago (1 children)

Try smartctl -a on the drive (install smartmontools if needed), to see the error counts. Yeah, back up your stuff, which you should do anyway.

[–] HumbleBragger@piefed.social 1 points 6 days ago

Just tried that but I'm getting a fail inquiry message.. I'll try to unplug the cables again once I get home for the weekend and try smartctl again to see if I can find something out

[–] cmnybo@discuss.tchncs.de 1 points 6 days ago (1 children)

Have you tried using a different SATA cable. I had one go bad and the drive started throwing all kinds of errors.

[–] HumbleBragger@piefed.social 1 points 6 days ago

Yeah I changed the sata cable..same error though

[–] Onomatopoeia@lemmy.cafe 1 points 6 days ago (1 children)

You have backups or replicants of your data, right?

[–] HumbleBragger@piefed.social 1 points 6 days ago

I don't actually.. I deleted because I had to back up my immich library recently =[