View previous topic :: View next topic |
Author |
Message |
thegrind n00b
Joined: 22 Sep 2024 Posts: 11
|
Posted: Sun Oct 20, 2024 4:56 am Post subject: Is Gentoo bad for a microSD |
|
|
I have a microSD on a Rpi5. I am looking to compile a kernel and headless chromium. Will all this emerging and compiling really chew up my card? I bought a better performing but I'd like to move it over after I'm done with some heavy compiling/emerging. Thoughts? |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3655 Location: Rasi, Finland
|
Posted: Sun Oct 20, 2024 6:08 am Post subject: |
|
|
I'd maybe use an USB stick to store Portage temporary files (PORTAGE_TMPDIR). _________________ ..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1693 Location: Germany
|
|
Back to top |
|
|
pa4wdh l33t
Joined: 16 Dec 2005 Posts: 880
|
Posted: Sun Oct 20, 2024 9:20 am Post subject: |
|
|
I have been running a Raspberry Pi 2 based NTP server since 2016 running Gentoo from a microSD card. It's biggest compile job is gcc (running the job from disk and using lots of swap because it only has 1GB of memory). So far i've replaced the SD card twice, but never because it failed. I usually get low on space for the rootfs and wait for nice discounts on cards.
Now it has a 128GB Samsung card i bought for about 20 euros using f2fs as a filesystem. As far as i know sdcards don't have smart-like functions so i can't tell how much has been read/written on the card. _________________ The gentoo way of bringing peace to the world:
USE="-war" emerge --newuse @world
My shared code repository: https://code.pa4wdh.nl.eu.org
Music, Free as in Freedom: https://www.jamendo.com |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6061 Location: Removed by Neddy
|
Posted: Sun Oct 20, 2024 10:56 am Post subject: |
|
|
Things have improved but the old trope still exists (but is still something to be mindful of)... >100,000writes means you are likely to face physical failure before bit failure.
Gentoo and linux does increase the number of writes but there are some things you can do to prolong it
1. disable atime
2. disable logging - or selectively
3. use a non-journaled FS (or use FSFS)
4. use gentoo binhost _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
|