Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 22 Next »

To add additional disk storage to your Charon-SSP GCP instance (for example, for storing virtual disk containers), perform the steps described below.

Contents

Steps in the GCP Storage Environment

In the GCP environment, you can, for example,

  • create a new storage volume,
  • attach an existing storage volume to your instance,
  • detach a storage volume from your instance.

These steps are shown below.

For more details, please refer to the AWS documentation

Creating a New Volume

Step 1: open the disk creation window.

As shown in the example below, select Compute Engine > Disks to get to the disk overview page. On this page click on Create Disk to open the disk creation window.


Step 2: enter the disk information in the disk creation window.

Once the disk creation window has been opened, add the required information and select the disk size and characteristics appropriate for your project. The image below shows an example:

When done with entering the information, click on Create at the bottom of the screen.

The new disk will be listed on the disk overview page:

Attaching an Existing Volume to an Instance

Once a volume has been created, you can attach it to your instance.

Step 1: open the editor for your instance.

To edit your instance,

  • select it to open the details page,
  • then click on Edit at the top of the details page.

Step 2: add disk to configuration.

In the editor window, scroll down to the disk section.

Here you can either create and add a new disk or, as shown in the image above, attach and existing disk by clicking on Attach existing disk.

  • Select your disk in the drop-down menu.
  • Adjust the other parameters as needed.
  • Click on Done to complete the configuration.

To save the changes, click on Save at the bottom of the editor window.

Detaching a Volume from an Instance

If the volume is not the root device of the instance, unmount the volume in the Charon host system before detaching it (see Charon-SSP Manager section below).

Then detach the volume from your instance:

  • Open the editor for instance.
  • Go to the disk section.
  • Select the wastebasket symbol next to the disk.
  • Save the changes by clicking on Save at the bottom of the editor page.

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.

  1. Open the Charon-SSP Manager on your local system and connect to your Charon cloud instance.
  2. Select Tools > Google Cloud > Storage Manager.
  3.  In the Storage Manager window, perform the following steps:
    1. Select the new device. 
    2. Click on the cog-wheel symbol.
    3. Only if required, select Format Volume to create a filesystem on the new device.
      Please note: This will delete all data on the volume.
    4. 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:

Once the filesystem has been mounted, the space is available to the Charon-SSP host system. After the first mount via the Storage Manager, the filesystem will be automatically mounted after a restart of the Charon host instance.


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 > Google Cloud > Storage Manager.
  • Select the volume.
  • Click on the cogwheel symbol and select Unmount the Filesystem.



  • No labels