How Longhorn works

Longorn implements distributed block storage using containers and microservices. It creeates a dedicated storage controller for each block device volume and synchronously replicates the volume across multiple replicas stored on multiple nodes. The storage controller and replicas are themselves orchestrated using Kubernetes.

For more info, see this blog post on the Rancher blog.