this post was submitted on 05 Jul 2023
20 points (88.5% liked)

Selfhosted

60831 readers
740 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, I was having some problems with my NAS.

Setup:

-Raspberry Pi 400 with Raspbian 64-bit installed on an SD card. -External 3.5" 8TB Seagate HDD connected via USB, encrypted with LUKS and formatted to ext4. (External Storage Drive One Touch HDD 8TB) -UPS to protect from electrical problems. (bought after first corruption) -Running SMB/SSH services.

All components have less than 1 year

My problem occurs every few weeks/days with the superblock on the HDD. It has a tendency to corrupt itself. I tried formatting it again, but it didn't fix the problem. I scanned it for bad sectors and couldn't find any. I also tried to access SMART, but for some reason, I can't access it. I guess it's a limitation of the external case.

Right now, I'm thinking of removing the encryption to reduce the possibilities of corruption.

top 2 comments
sorted by: hot top controversial new old
[–] Dougedey@lemmy.ca 6 points 3 years ago

Super basic, but check the quality of your power supplies, it’s not going to be a smoking gun, but a good quality, stable power supply is worth investing in

[–] x3i@lemmy.x3i.tech 1 points 3 years ago

You're on the right track regarding SMART, most USB-cases do not support it (I think they cannot even since it needs direct SATA connection?). You should definitely check these values though, so connecting it to some desktop machine through SATA and then checking the values would be my advice. No need for any file system access to do this, so no decryption necessary.