Appearance
Disk Management ​
With the day 2 action "Manage Disks" you can easily add, edit or delete existing disks on your Managed OS VM. The following chapters explain how to do this.
Constraints ​
The following constraints apply for disks on a Managed OS VM:
| Requirement | Value |
|---|---|
| Minimum disk size | 1 GB |
| Maximum disk size | 6144 GB |
| Maximum number of disks | 10 |
| Maximum cumulated disk size | 14336 GB |
| File system (RHEL) | XFS |
| File system (Windows) | NTFS |
Use Day 2 "Manage Disks" action ​
To use the day 2 action just navigate to your VM in the portal and click on the Manage Disks action. 
Add Disk ​
Use the following procedure to add a disk to an existing VM:
- Select the VM in the portal
- Select the Manage Disks action
- Select the Add operation
- Configure the following fields and click Manage Disks
- Save and submit
| Field | Description | Required |
|---|---|---|
| Size (GB) | Disk size between 1 GB and 6144 GB | ✅ |
| Disk Label | Logical volume name (RHEL) / Disk label (Windows) | ✅ |
| Mount Point | Where the disk is mounted (RHEL) / Drive letter (Windows) | ✅ |
| Storage Reservation Policy | Storage policy for the disk | ✅ |
Both the mount point and the disk label must be unique across all disks.


The workflow automatically performs the following steps:
RHEL
- Adds the disk to the VM
- Creates the partitions
- Adds the disk to the
datavgvolume group - Creates the logical volume
- Creates the XFS file system
- Creates the entry in
/etc/fstab - Mount the new filesystem
Windows
- Adds the disk to the VM
- Initializes and partitions the disk
- Formats the disk with NTFS
- Assigns the configured drive letter
How to verify the result on the OS:
bash
# After the workflow completes, verify the result:
$ df -hP /test
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/datavg-test 5.0G 68M 5.0G 2% /test
$ cat /etc/fstab
...
/dev/mapper/datavg-test /test xfs noatime 0 0powershell
# No further configuration on the Operating System is required.
# You can verify the result with:
Get-VolumeEdit Disk ​
Use the following procedure to edit a disk on an existing VM:
- Select the VM in the portal
- Select the Manage Disks action
- Select the Edit button for the disk you want to change
- Increase the size or change the storage policy
- Save and submit

INFO
Disk 0 is reserved for the Operating System and cannot be increased, only the storage policy can be changed.
RHEL
The workflow automatically:
- Extends the disk on the VM
- Increases the logical volume
- Increases the XFS file system
You can verify the result:
bash
$ df -hP /test
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/datavg-test 10G 104M 9.9G 2% /testWindows
The workflow automatically:
- Extends the disk on the VM
- Extends the NTFS file system
No further configuration on the Operating System is required.
WARNING
It is not possible to reduce the size of a disk. Disks can only be extended.
Delete Disk ​
INFO
Disk 0 is reserved for the Operating System and cannot be deleted.
Use the following procedure to delete a disk on an existing VM:
- Select the VM in the portal
- Select the Manage Disks action
- Delete the disk you want by clicking the Delete button
- Save and submit

RHEL
The workflow automatically:
- Unmounts the disk
- Removes the entry from
/etc/fstab - Deletes the disk from the VM
You can verify the result:
bash
$ df -hP
# The deleted mount point should no longer appear in the outputWindows
The workflow automatically:
- Checks that the disk is empty before deletion
- Deletes the disk from the VM
WARNING
The disk will not be deleted if it still contains data. Make sure the disk is no longer used by the OS before proceeding.
Enable manual Disk Management ​
If you want to configure the disk on the OS yourself, you have the option to Enable manual Disk Management for a VM.
This means you do all disk operations on the OS by yourself (manage physical volumes, volume groups, logical volumes, file systems). The Manage Disks action will only add, modify or delete a disk on the Virtual Machine, but no action on the OS is executed. If the Enable manual Disk Management operation is executed once, it will be set for all future Manage Disk actions on this VM. The option can never be undone for the entire VM lifecycle!
As the disk configuration is done manually on the OS, it is possible that driveletter/mount-point and label/logical volume in the table on the "Manage Disks" window does not reflect the reality. Please carefully check on which disk you want to execute an edit or delete action.
WARNING
The Delete action with Enable Manual Disk Management is currently not working. If you want to delete a disk, please open a ticket with the support and we will delete the disk for you.

Remark: If you change the disk configuration within the Operating System, the Manage Disks action is not aware of this change. Therefore future Manage Disks actions cannot be correctly configured by the automation.
