this post was submitted on 19 May 2026
36 points (97.4% liked)

Selfhosted

59343 readers
976 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.

  7. No low-effort posts. This is subjective and will largely be determined by the community member reports.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

I'm running a Ubuntu server on my old laptop with an external HDD connected to it. The external HDD is powered independently from the laptop, as it is plugged into the wall.

During a power outage, my laptop remains operational due to its battery, but the HDD shuts down. When power is restored, my laptop does not automatically remount the HDD, and I have to reboot the system manually to access it.

Does anyone know how I can resolve this issue?

Edit: Not sure if this added context changes anything, but this is the HDD I'm using. It's a 3.5" HDD that gets its power directly from the wall.

you are viewing a single comment's thread
view the rest of the comments
[–] feannag@sh.itjust.works 6 points 12 hours ago (2 children)

Wouldn't that just mount the HDD when the server boots? I think the issue is re-mounting it while the server remains up, hence the systemd service. But maybe I don't understand fstab fully.

[–] klankin@piefed.ca 1 points 4 hours ago

I think you can use the service to remount using the fstab entries/options. (Like "mount /dev/disk/by-uuid/XXX" and it'll automatically apply the options and mountpoint)

Arguably cleaner depending on your setup

[–] happy_wheels@lemmy.blahaj.zone 1 points 8 hours ago

I wanted to provide feedback for THIS part only. :) not for OPs issue. I would have responded to OPs post if that were the case....