---
title: VM Drives
slug: vm-drives
createdAt: 2026-01-01T21:30:12.614Z
---

# Add a Drive to a VM

1. From the **Top Menu**, click **Virtual Machines** -> **List**
2. Select the desired VM
3. From the left menu, click **View**
4. From the left menu, click **Drives**
5. From the left menu, click **New**
6. Set **Name** to the desired name

   :::hint{type="info"}
   When **Name** is not specified, the system will automatically name drives in the order they are created (e.g. **drive\_x**) where **x** is an integer starting at 0. For drives that will be used as a "Golden Image", it's recommended to give the drive a name for easier selection when creating non-persistent drives.
   :::
7. The **Read Only** option can be useful for a drive that should not be modified, such as on a VM restore that is used to recovery data.
8. Select **Media** type
   - **Disk (default)** - empty disk; emulates typical SSD/HDD device.
   - **CD-ROM** - emulates CD-ROM device; read-only; associated \*.iso file simulates inserted CD media; typically used for installing OS or other software.
   - **Clone Disk** - create a duplicate of an existing disk from the same cluster.
   - **EFI Disk** - this drive type is auto-generated and handled by the system; there should never be a need to manually create a drive of this type.
   - **Import Disk** - allows selection of a standard format disk file (e.g. raw, vmdk, qcow, vhd(x), etc.).
   - **Non-Persistent** - allows for a drive that does not maintain changes between boots; each time the VM is started, the non-persistent drive reverts back to the \*.raw file image (an existing disk drive in the cluster) to which it is referenced.&#x20;

:::Paragraph{indent="3"}
A typical use for the non-persistent drive would be maintaining a "golden image" OS install where all updates and modifications can be made centrally; this is particularly useful for solutions, such as VDI, where a consistent installation needs to be maintained for many virtual machines.
:::

9. Select **Interface**
   - **Virtio-SCSI&#x20;**<font color="#2166AE">**(recommended)**</font> - Provides a para-virtualized SCSI device; with high performance, while still maintaining standard command set, device passthrough, and device naming within guest OS. There is built-in support in most Linux distros, but not standard in default Windows installations.
   - **Virtio (Legacy)** - It can be used for good I/O performance with the tradeoff being that some native SCSI features, such as TRIM are not supported.
   - **Virtio-SCSI (Dedicated Controller)** - Provides a para-virtualized SCSI device with its own controller. This option is not typically needed due to KorGrid's 100% NVMe architecture.
   - **LSI \*** - LSI, native VMware options provided for compatibility, where needed.
   - **SATA (AHCI)** - Option only applies to VMs with a Q35 Machine Type.
   - **IDE** - Option only applies to VMs with a PC (i440FX) Machine Type.
10. Set **Disk Size**

:::Paragraph{indent="2"}
ℹ️ This option only applies when **Media** type is **Disk**.
:::

11. Select **Media File**

:::Paragraph{indent="2"}
ℹ️ This option only applies when **Media** type is **CD-ROM**, **Clone Disk**, **Import Disk**, or **Non-Persistent**
:::

:::Paragraph{listStyleType="disc" indent="2"}
For **CD-ROM** - Select ISO file from the dropdown list.
:::

:::Paragraph{listStyleType="disc" listStart="2" indent="2"}
For **Clone Disk** - Select RAW file from the dropdown list.
:::

:::Paragraph{listStyleType="disc" listStart="3" indent="2"}
For **Import Disk** - Select disk image from the dropdown list. Supported file types are raw, qcow, qcow2, vhd, vhdx, and vmdk.
:::

:::Paragraph{listStyleType="disc" listStart="4" indent="2"}
For **Non-Persistent Disk** - Select RAW file from the dropdown list displaying all existing KorGrid drives in the cluster.
:::

:::hint{type="info" indent="2"}
See [Media Images](https://docs.korgrid.com/media-images) for instructions on uploading ISO files and/or disk images to the vSAN.
:::

12. Set **Description**

:::Paragraph{indent="2"}
ℹ️ Optional, but recommended when there will be more than one drive.
:::

13. The **Asset** field can be used to define a unique identifier for the drive (e.g. OS, Data Drive, etc.)
14. The **Discard** option is enabled by default, and is typically recommended to keep enabled, as it allows storage space to be recovered from deleted files.
15. Select **Optimize** **For**
    - **General Usage** **(default)** - 64 KB chunks, with read-ahead.
    - **Large Files&#x20;**<font color="#2166AE">**(recommended)**</font> - up to 1 MB chunks.
16. Click **Submit**

***

# Remove a Drive from a VM

:::hint{type="info"}
A drive must be **offline** before it can be deleted. Drives can be taken offline by powering off the virtual machine or using hotplug (when enabled).
:::

::::Tabs
:::Tab{title="Hotplug Method"}
1. From the **Top Menu**, click **Virtual Machines** -> **VM Drives**
2. Select the desired drive
3. From the left menu, click **Hotplug**
4. Click **Yes** to confirm
5. Select the desired drive
6. From the left menu, click **Delete**
7. Click **Yes** to confirm
:::

:::Tab{title="Power Off Method"}
1. From the **Top Menu**, click **Virtual Machines** -> **List**
2. Select the desired VM
3. From the left menu, click **Power Off**
4. Click **Yes** to confirm
5. Select the desired VM
6. From the left menu, click **View**
7. From the left menu, click **Drives**
8. Select the desired drive
9. From the left menu, click **Delete**
10. Click **Yes** to confirm
:::
::::

***

# Modify a VM Drive

:::hint{type="info"}
- Once a drive has been created, the **Media** type can't be modified.
- Drives can't be reduced in size, only increased.
- Modifications involving the drives size or interface type will likely require corresponding modifications within the guest OS.
:::

1. From the **Top Menu**, click **Virtual Machines** -> **VM Drives**
2. Select the desired drive
3. From the left menu, click **Edit**
4. Modify fields as desired
5. Click **Submit**

***

# Erase Data on a Drive

:::hint{type="danger"}
**Caution&#x20;**&#x73;hould be used when erasing a drive. Erasing a crucial drive can render a VM unusable. Take special care to ensure an erase operation is being applied to the intended drive on the intended VM. A temporary VM snapshot should be taken prior to erasing the drive, to allow a fallback if needed.
:::

:::hint{type="info"}
The virtual machine must be **powered off** before a drive can be erased.
:::

1. From the **Top Menu**, click **Virtual Machines** -> **VM Drives**
2. Select the desired drive
3. From the left menu, click **Erase**
4. Click **Yes** to confirm
