Disks & Partitions
The foundation of local storage in Vapor is the raw block devices attached to the host.
Viewing Disks
Navigate to Storage > Disks to view all detected block devices. The list includes:
- Device Path (e.g.,
/dev/sda,/dev/nvme0n1) - Size and Type (HDD, SSD, NVMe)
- Current usage and partition layout.
Formatting and Mounting
If you add a new, unformatted disk to the system, you can initialize it directly from Vapor:
- Select the new disk from the Disks list.
- Click Format.
- Choose the desired filesystem (ext4, xfs, btrfs).
- Once formatted, you can Mount the filesystem to a specific directory path on the host.
WARNING
Formatting a disk is a destructive operation. All existing data on the block device will be permanently erased.
Once a disk is formatted and mounted, that mount point can be used to create a Directory Storage Pool for Virtual Machines.