---
title: "Local disk"
url: https://www.daytona.com/definitions/l/local-disk
---

# Local disk

A local disk is storage physically attached to the server that a workload runs on.

A local disk is a drive inside the same server as the processors that use it, connected over PCIe rather than over a network. Cloud providers call it a local SSD or instance storage. The processors reach it directly, with nothing in between but the bus and drivers of the host. On a host that runs sandboxes as virtual machines, the hypervisor either hands the drive to one guest or splits it among several.

Because the drive belongs to one server, a local disk shares the fate of that server. A sandbox that runs as a virtual machine keeps it only while it stays on that host, and no other machine can reach its contents. Any redundancy has to come from software, such as a database that copies its writes to other servers. Some servers mirror local drives in pairs, which survives a dead drive but not a dead server.

Local disks therefore trade durability and mobility for speed. Data that must outlive the machine is copied to block storage or object storage, which live apart from any one server. Many systems use both, with the working copy on the local disk and the lasting copy in remote storage. The design question is which data can be rebuilt after a loss and which cannot.

## Related terms

- [File system](https://www.daytona.com/definitions/f/file-system.md)
- [Instance type](https://www.daytona.com/definitions/i/instance-type.md)
- [Object storage](https://www.daytona.com/definitions/o/object-storage.md)
