Modify Data Storage Configuration

Modify Local Storage Configuration

If you have added local storage, you can modify the local storage configuration as needed based on your business scenarios, including basic and advanced configurations.

Modify Basic Configuration

If you only need to modify the name and description of the local storage, you can click Action > Edit Name and Description on the target local storage page to make the changes.

Modify Advanced Configuration

If you want to modify the advanced configuration information for local storage, including the storage over-provisioning ratio and hard disk pre-allocation strategy, you can follow these steps:

  1. Navigate to the target local storage page.
  2. Enter the Advanced Settings sub-page.
  3. Click Edit.

ZSvirt supports modifying the following advanced configurations for local storage:

  • Data Storage Overcommit Ratio: Used to control the allocatable space of data storage for virtual machines.

    Calculation formula: Data storage allocatable capacity = [(actual capacity - reserved capacity) × over-provisioning ratio] - (threshold capacity + sum of all hard disks allocated to virtual machines + snapshots + image cache + migration cache)

  • Disk Preallocation Policy: Used to set the hard disk pre-allocation strategy in data storage. The default is none.

    • none: Does not use pre-allocation strategy. With this strategy, files are dynamically allocated the required space as needed.
    • metadata: Only pre-allocates the space required for file metadata, without allocating any space for the data. With this strategy, the required storage space for the hard disk is dynamically allocated as data is written.
    • falloc: Pre-allocates the required space for the file but does not immediately erase the corresponding data on the physical device. Erasure occurs when the virtual machine first writes data to the hard disk.
    • full: Pre-allocates the required space for the file.

On this page