27
Thumb drive heating up (self.selfhosted)
submitted 5 months ago by mfat to c/selfhosted@lemmy.world

I'm booting openwrt off a usb c thumb drive connected to a fanless Celeron mini pc. The pc is cool but the thumb drive is so hot i can't touch it.

Any ideas?

all 18 comments
sorted by: hot top controversial new old
[-] empireOfLove2@lemmy.dbzer0.com 49 points 5 months ago* (last edited 5 months ago)

Don't use a thumb drive, use an external hard/solid state drive or install an internal drive. Even an aliexpress 64gb ssd for $10 is better than any thumbdrive. Thumbdrive's flash and controllers are not designed for OS level continuous writes and will die very quickly.

If you must use a thumb drive, add some kind of air flow over it, and disable all logging features in openWRT to reduce writes as much as possible.

[-] SGG@lemmy.world 14 points 5 months ago* (last edited 5 months ago)

My guess is log files are being written to it? Might want to install a proper drive internally and redirect log storage. With less activity the USB drive should not heat up anywhere near as much.

[-] mfat 5 points 5 months ago* (last edited 5 months ago)

Thanks yeah I have a lot of services and Docker containers running on the device. I’ll try disabling logging.

[-] SGG@lemmy.world 13 points 5 months ago

If you have docker containers and other stuff all on that USB drive I'd really reccomend getting it all off that USB (not just logging) and onto a proper drive of some kind. USB thumb sticks are not reliable long term storage, you will wake up to find the drive failing one day and good chance you lose everything on it with little to no warning.

[-] K3can@lemmy.radio 2 points 5 months ago

Another option would be to redirect logs to a ramdisk. That's what I'm doing on a RPI to try to minimize writes on the sd card. The biggest downside is that you lose your logs when you power off the device, but if the alternative is not having logs at all, I think it's still a better option.

Of course, installing a proper drive is still the best solution.

[-] mfat 1 points 5 months ago

Great odea. Any guides/howtos you can share?

[-] K3can@lemmy.radio 2 points 5 months ago
[-] catculation@lemmy.zip 13 points 5 months ago

It's normal. Some thumb drive heats a lot but it will continue to work.

[-] lemmyvore@feddit.nl 3 points 5 months ago

I wouldn't call it normal. It's the norm because the market is flooded with crappy drives using JMicron chips. Buy something with a Realtek or Asmedia chip and it will work fine without getting hot.

[-] Shurimal@kbin.social 5 points 5 months ago

How does one find out what chips are in what USB sticks? Manufacturers don't make this information available. At best you just find read and write speeds, usually just the max possible read speed and nothing else.

[-] teawrecks@sopuli.xyz 3 points 5 months ago

It's normal for it to heat up under load, but it's not normal for it to be under load 24/7 indefinitely.

[-] MangoPenguin@lemmy.blahaj.zone 11 points 5 months ago* (last edited 5 months ago)

Pretty normal tbh, a lot of those thumb drives get very hot. Probably not great for its lifespan though.

Best bet is install an SSD if you have a spot for an M.2 or 2.5" drive inside.

[-] jet@hackertalks.com 9 points 5 months ago

Attach a heat sink to the thumb drive, point a fan at it, etc.

[-] cloudless@lemmy.cafe 8 points 5 months ago

Add some thermal paste and liquid cooling. Liquid nitrogen might help.

[-] MMK21@programming.dev 5 points 5 months ago

As others have said, thumb drives are generally designed for lighter loads than running an OS, so yours probably just doesn't have enough of a heat-spreading design to keep it cool.

To help you investigate what's causing the thumb drive to be accessed so much, the iostat -d -x 1 will tell you what its percentage utilisation is (rightmost column). You can then use sudo iotop to see what processes are using the drive.

In the long run though, I'd definitely recommend switching over to a cheap SATA SSD, especially since your mini PC will likely let you install one internally somewhere. In my experience, your system will probably feel snappier too!

[-] NullGator@lemmy.ca 2 points 5 months ago

UNRAID is designed to run off a USB drive, they have recommendations on what USBs to buy on their site, might be worth a gander. You should be able to write all the info on your current USB to the new one without having to reconfigure anything.

[-] Decronym@lemmy.decronym.xyz 1 points 5 months ago* (last edited 5 months ago)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
RPi Raspberry Pi brand of SBC
SATA Serial AT Attachment interface for mass storage
SBC Single-Board Computer
SSD Solid State Drive mass storage

3 acronyms in this thread; the most compressed thread commented on today has 6 acronyms.

[Thread #777 for this sub, first seen 1st Jun 2024, 13:35] [FAQ] [Full list] [Contact] [Source code]

this post was submitted on 31 May 2024
27 points (90.9% liked)

Selfhosted

40298 readers
1135 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