Virtual Machines (VPS / VM)
Disk Type | Human Readable | Use Case | Code |
---|---|---|---|
ide0 - ide3 | IDE (Integrated Drive Electronics) interface for attaching storage. You can use any number from 0 to 3, eg. ide2 is a valid value for disk | Used for compatibility with older OSs. Slower than SCSI/VirtIO. | ide0 |
scsi0 - scsi30 | SCSI (Small Computer System Interface) storage interface. You can use any number from 0 to 30, eg. scsi3 is a valid value for disk. | Recommended for most VM storage due to better performance and advanced features like discard/trim. | scsi0 |
virtio0 - virtio15 | VirtIO (Paravirtualized I/O) storage interface. You can use any number from 0 to 15, eg. virtio4 is a valid value for disk. | Offers the best performance for Linux-based VMs as it directly communicates with the hypervisor. | virtio0 |
sata0 - sata5 | SATA (Serial ATA) interface for storage. You can use any number from 0 to 5, eg. sata5 is a valid value for disk. | Used for compatibility with operating systems that may not support SCSI/VirtIO. | sata0 |
efidisk0 | EFI Disk for storing UEFI firmware settings. | Required for UEFI boot instead of legacy BIOS. | efidisk0 |
tpmstate0 | TPM (Trusted Platform Module) State Disk. | Stores TPM data for encryption (e.g., Windows BitLocker, Secure Boot). | tpmstate0 |
Containers (LXC / CT)
Disk Type | Human Readable | Use case | Code |
---|---|---|---|
rootfs | Root filesystem of the LXC container. | Primary storage for the container’s OS. Cannot be detached. It can only be increased. | rootfs |
mp0 - mp255 | Mount points for additional storage. You can use any number from 0 to 255, eg. mp2 is a valid value for disk. It requires a mount point location inside the container, eg. /home/AllHugeFiles | Used to attach extra storage, such as additional ZFS, LVM, or directory-based volumes. | mp0 |