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

Selfhosted

40037 readers
624 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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

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

Questions? DM the mods!

founded 1 year 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.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year 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.