To add additional disk storage to your Charon-SSP Azure instance (for example, for storing virtual disk containers), perform the steps described below.
Contents
Steps in the Azure Management Environment
Step 1: To start the process of adding a disk, open the disk section of your VM (from the VM details section) by clicking on Disks in the left-hand pane.
The following image shows a sample.
If no disk has been added before, only the system disk is displayed on this screen. The temporary storage disk is not shown.
To add a new disk, click on Add data disk. This will display the disk selection area. Where either an existing disk can be chosen or a new disk can be created.
Step 2: Select existing disk or start creation of a new disk.
The following sample shows the case where on existing disks are available. The drop-down menu instead offers the option Create disk.
Click on Create disk to open the disk configuration screen.
Step 3: Enter the disk configuration data.
The disk configuration screen looks similar to the sample below. Add at least the following:
- Disk name
- Resource group (same as VM)
- Disk size and type (clicking on Change size will open a window where different disk types and sizes can be selected).
Once you have filled in all the necessary data, click on Create to create the disk. This will take you back to the VM disk overview screen.
Step 4: Add the new (or selected existing) disk to your VM.
On the disk overview screen, you will see the selected (or newly created) disk. In the Data disks section, similar to the sample below:
To attach this disk to your VM, click on Save at the top of the screen.
In the Azure notification area (bell symbol at the top right of the screen) you should receive the success notifications, similar to the sample below:
Storage Manager of the Charon-SSP Manager
Mounting a Newly Attached Volume
After the volume has been attached to the instance, it must be included in the Charon-SSP host system configuration. This is achieved via the Charon-SSP Manager.
- Open the Charon-SSP Manager on your local system and connect to your Charon cloud instance.
- Select Tools > Azure Cloud > Storage Manager.
- In the Storage Manager window, perform the following steps:
- Select the new device.
- Click on the cog-wheel symbol.
- Only if required, select Format Volume to create a filesystem on the new device.
This will delete all data on the volume. - Click on the cog-wheel symbol and select Mount the Filesystem.
This will mount the new volume under /charon/storage/media/<UUID>/.
The following image shows a sample storage manager window:
Once the filesystem has been mounted, the space is available to the Charon-SSP host system.
Unmounting a Volume
To unmount a volume before perform the following steps:
- Stop all Charon instances that might use the volume that is about to be unmounted.
- In Charon Manager go to Tools > Azure Cloud > Storage Manager.
- Select the volume.
- Click on the cogwheel symbol and select Unmount the Filesystem.
When you delete a virtual machine in Azure, by default, the disks that are attached to the VM will not be deleted. If you do not require a disk anymore, delete it to avoid unnecessary cost.