Pi NAS
Bura's Homelab — Raspberry Pi 4B NAS Server
Hardware
| Model | Raspberry Pi 4 Model B (4GB) |
| SoC | BCM2711 — Cortex-A72 (4 cores, 2.0 GHz) |
| Memory | 4 GB LPDDR4 |
| OS | Debian 13 (Trixie) — aarch64 |
| Kernel | — |
| Uptime | — |
| Load | — |
| Temperature | — |
| Throttled | — |
| Voltage | — |
Storage
SSD — Boot Drive /dev/sda
| Model | — |
| Capacity | — |
| Used | — |
| Available | — |
| Mount | / (rootfs) |
Health—
Temp—
Power-On—
Reallocated—
Wearout—
HDD — NAS Storage /dev/sdb
| Model | — |
| Capacity | — |
| Used | — |
| Available | — |
| Mount | /mnt/nas (label: OLD MAN) |
| State | — |
Health—
Temp—
Power-On—
Reallocated—
Load Cycles—
Network
NAS Access
Web GUI (FileBrowser)
| Tailnet | <tailnet-host>:8080 |
| Admin | withheld |
| Container | nas-gui (filebrowser/filebrowser) |
| Backend | 127.0.0.1:8080 (localhost only) |
| Protocol | HTTP via tailscale serve (encrypted by WireGuard) |
SMB (Samba)
| Host | \\<nas-host> (LAN) or over Tailscale |
| Container | nas-samba (crazymax/samba) |
| Network | host mode |
Samba Users
| admin | UID 1003 | withheld | Full access: Admin |
| Cherry | UID 1004 | withheld | Private: Cherry_Private |
| FAMILY | UID 1005 | withheld | Private: FAMILY_Private |
| KAMAL | UID 1006 | withheld | Private: KAMAL_Private |
| Shared | Family_Shared — all users R/W |
Docker Containers
Docker Compose Stacks
Monitoring Stack
Prometheus
| Access | <tailnet-host>:9090 |
| Retention | 30 days |
| Scrape Interval | 15s (60s for sensors) |
Grafana
| Access | <tailnet-host>:3001 |
| Login | withheld |
Exporters
| Node Exporter | :9100 |
| BMP280 (temp/pressure) | :8001 |
| SDS011 (PM2.5/PM10) | :8000 |
Power & Maintenance
HDD Spin-Down
| Standby Timer | 10 min idle (hdparm -S 120) |
| APM | 127 (allow spin-down) |
| Applied via | systemd service + udev rule |
| Current State | — |
SMART Monitoring
| Schedule | Every Sunday 3am (systemd timer) |
| Last Report | — |
| Report Path | ~/smart-reports/ |
| Continuous Polling | Disabled (was keeping HDD active) |
Swap & Memory
| Swap | — |
| ZRAM | 2 GB, zstd compression |
Configuration
FileBrowser Settings
{
"port": 80,
"address": "",
"database": "/database/filebrowser.db",
"root": "/srv"
}
Samba Config
HDD Power (systemd service)
/etc/systemd/system/hdd-powermanage.service
/etc/udev/rules.d/99-hdd-powermanage.rules
fstab
UUID=<nas-partition-uuid> /mnt/nas ext4 defaults,noatime,nofail 0 2
Prometheus Config
global:
scrape_interval: 15s
evaluation_interval: 15s
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']
- job_name: 'node_exporter'
static_configs:
- targets: ['node_exporter:9100']
- job_name: 'sds011'
static_configs:
- targets: ['sds011_exporter:8000']
- job_name: 'bmp280'
static_configs:
- targets: ['bmp280_exporter:8001']
Monitoring Compose
NAS Compose