Skip to content

标签:NAS

Where Does Docker Data Actually Live? Backing Up by Layer

Containers are easy to rebuild — provided you know where the data lives. Three classes need different handling. Separate the three data classes Named volumes: database files under docker volumes; back up /var/lib/docker/volumes with restic; Bind mounts: host directories mapped in compose — just include them in file backups; In-app exports: for MariaDB/PostgreSQL, dump first; […]

阅读全文 →

KVM on RK3588: When a VM Is Actually Worth It

Docker shares the host kernel; KVM gives you a complete one. Specific kernel versions, modules or hard isolation are KVM territory. The container/VM boundary Enable virtualization: confirm /dev/kvm exists; RK3588 supports ARM virtualization extensions; Reserve memory: fixed allocations per VM; on 8 GB units run one 2-4 GB light VM at most; Typical uses: an […]

阅读全文 →

Implementing 3-2-1 for Photos: From Phone to Offsite

Manual backups always lapse. A finished photo pipeline should be invisible: shoot, and multiple copies exist. Automation is the point Copy one: phone → NAS via Immich auto-backup, syncing instantly on Wi-Fi; Copy two: NAS → USB disk with daily restic incrementals to a permanently attached drive; Copy three: offsite — cloud object storage or […]

阅读全文 →

Fan Curve Tuning: Finding Quiet and Cool at Once

Don’t begin with a clever algorithm — build three basic curves (quiet, balanced, performance) and let the user choose by context. Start with three curves Start point: begin spinning at 45-50C; full stop below that is what real quiet means; Slope: use three or four segments between start and full load to avoid hunting from […]

阅读全文 →

Planning a 12-Camera NVR: Is One RK3588 Enough?

How many cameras one RK3588 handles depends on three numbers: bitrate, retention days and whether detection runs. Do the math first. Calculate storage before buying hardware Storage formula: Mbps × 10800 ÷ 8 = GB per camera per day — 2 Mbps × 12 cameras ≈ 32 GB/day; Compute split: NPU runs detection while CPU […]

阅读全文 →

btrfs Snapshots and Rollback: An Undo Button for Your Home Server

A btrfs snapshot is copy-on-write on the same disk — not an offsite backup. But for failed upgrades and broken configs, it’s the fastest undo available. Snapshots aren’t backups, but they rescue fast Always snapshot before upgrades: snapper create -d before-upgrade, then snapper rollback if it fails; Clean up on a schedule: snapshots slow down […]

阅读全文 →

USB Drive Enclosures for Expansion: When It Works and When to Walk Away

USB enclosures aren’t forbidden — position them as secondary storage and choose hardware carefully. Workable with conditions Self-powered only: bus-powered enclosures with 3.5″ drives will drop disks; Chipsets: ASM1153E/JMS578 bring UASP and TRIM passthrough with good Linux behavior; Right roles: backup targets and cold archives, yes; live databases or RAID members, no. The danger of […]

阅读全文 →

Does a NAS Need an NVMe Cache? The Measured Answer May Surprise You

Home NAS IO (large sequential files) yields little from read caching. NVMe usually shines in a dedicated role instead. Cache isn’t a speed dial Read cache: not worth it — RAM already serves as the read cache; sequential large files gain almost nothing; Write cache helps: bursting SMB writes (phone photo backup) land on NVMe […]

阅读全文 →