Choosing storage for the service I am running
My storage setup gives me several choices: local SSD, SSD-backed iSCSI from TrueNAS, HDD-backed iSCSI, and S3-compatible object storage through Garage. Getting to that mix has been part of learning what different services actually need.
I want enough building blocks to make a sensible choice for each service. Sending everything to the fastest disks would waste capacity and money. Sending everything to shared storage would add a network and NAS dependency even where the application can manage independent copies itself.
TrueNAS is my network-attached storage server (NAS). iSCSI presents its remote storage as a disk-like block device; Garage exposes objects through the S3 API instead. Solid-state drives (SSDs) favour low-latency access, while hard disks (HDDs) give me more capacity for the cost.
If you're choosing storage, I'd start with what the application actually needs to do and what happens when it loses its disk. The list of available storage systems can wait.
Starting with the application
A database doing frequent small reads and writes has different requirements from an application keeping large uploaded objects. I need to consider latency, random I/O, capacity, and the interface the application expects.
An application expecting a filesystem can't automatically use S3 instead. Nor does presenting an iSCSI volume to several machines make its filesystem safe for concurrent writers. The interface has to fit the application's access pattern.
A shared Network File System (NFS) directory is another option where concurrent file access is appropriate. That is how Immich accesses its photo library. Its PostgreSQL database has a different job and can make a different storage choice.
Letting PostgreSQL manage its copies
CloudNativePG, the Kubernetes operator that manages my PostgreSQL databases, is a particularly useful example. PostgreSQL can replicate database changes between instances, which lets each instance use its own local storage rather than making them depend on one shared volume.
I use local-path storage on SSD-backed nodes for database workloads where I want many input/output operations per second (IOPS) and low latency. That avoids putting the NAS network path into each storage operation. Actual performance still depends on the disk, filesystem, workload, and contention; local-path is a provisioning choice, not a performance guarantee.
The benefit is that database-aware replication can provide another copy on another node while each instance gets local storage performance. If a node fails, an eligible surviving standby can be promoted. The lost local volume does not have to move to that standby first.
That choice still needs appropriate replica placement, a replication policy, capacity to rebuild a lost replica, and tested failover. A node-local volume remains tied to its node, and replication does not protect against every unwanted change. I need backups as well as another current database copy.
The choices divide responsibility like this:
PostgreSQL -> local SSD -> database-managed replication
Block data -> NAS SSD or HDD -> shared storage dependency
Objects -> Garage -> NAS metadata and object volumes
Each still needs an appropriate independent recovery path.
Those divisions do not create physical distance. Almost everything I store shares one building, much of it one room, so the data-loss cases still apply across storage choices.
Matching the other building blocks
For services that need persistent block storage without managing their own replicated data, TrueNAS provides SSD-backed and HDD-backed iSCSI options. SSD is useful for more latency-sensitive or random-I/O-heavy work. HDD gives me a capacity-oriented option where the workload can tolerate its access characteristics.
Both depend on the NAS and the network reaching it. Moving a volume away from an application's node changes that failure boundary; it does not remove it. The actual choice needs to account for where the workload can run and what happens during a NAS outage.
Garage provides another interface for applications that support object storage. It sits on top of storage itself rather than forming a fourth kind of disk. In this setup its metadata uses SSD-backed storage and its object blocks use HDD-backed storage. That is the same principle applied inside one service: different kinds of data can justify different backing storage.
Keeping these choices costs maintenance, so I want a small collection I understand, including its recovery paths. Match the application, know which layer keeps copies, and account for what can still fail. Simplifying shared storage leaves room for local database disks without adding another storage platform for every application.