Repository navigation
Disk ve güç sağlığı uyarısı / Disk and power health warnings - #17
Merged
Merged
Conversation
6 saatte bir /library diskine bakar: salt okunura düşme, ext4 hata kaydı, SMART arızası, NVMe aşınması, %95 doluluk ve Raspberry Pi düşük voltajı. Sorun varsa ana sayfanın üstünde kırmızı uyarı.
Owner
|
Teşekkürler, SSD'nin sessizce ölmesi en büyük korkularımdan biriydi açıkçası. Pi'de gerçek Thanks, the SSD dying silently was one of my biggest worries to be honest. I'll try it on the Pi with real |
Owner
This was referenced Nov 6, 2026
8 of 76 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Disk ve güç sağlığı uyarısı. Afette SSD bozulursa bütün arşiv gider; uyarı erken gelirse içerik başka bir diske kopyalanabilir.
scripts/disk-health.sh6 saatte bir (ve açılıştan 5 dakika sonra) çalışır. Sorun varsa ana sayfanın en üstünde kırmızı uyarı çıkar:vcgencmd get_throttled). Elektrik kesintisinde pil ya da zayıf güç kaynağıyla çalışırken disk bozulmasının en sık nedeni.SMART için
smartmontoolskurulur; bazı USB adaptörlerinin arkasındaki diskler SMART vermez, o zaman bu kontrol sessizce atlanır (yanlış alarm yok).Test: Debian 13 + Internet-in-a-Box sanal makinesinde gerçek kurulum; salt okunur ve dolu disk sahte bir diskle, SMART arızası ve düşük voltaj sahte
smartctl/vcgencmdile denendi. Gerçek Pi 5'tevcgencmdçıktısı denenmedi.Disk and power health warnings. If the SSD dies in a disaster the whole archive is gone; an early warning gives time to copy it.
scripts/disk-health.shruns every 6 h (and 5 min after boot) and shows a red warning at the top of the homepage when:vcgencmd get_throttled), the usual cause of corruption when running on a battery or weak supply.Installs
smartmontools; disks behind USB adapters without SMART are skipped silently (no false alarms).Tested in a Debian 13 + IIAB VM with a fake full/read-only disk and fake
smartctl/vcgencmd. Not tested on a real Pi 5.Firewall (Proxy34)