Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: small clarification

...

These steps are shown below.

For more details, please refer to the AWS documentation.

Div
classpagebreak



Creating a New Volume

StepDetails
Open the Volumes configuration from the EC2 dashboard

Image RemovedImage Added

This will open the volume overview screen.

Create a new volume

Click on the Create Volume button on top of the volume overview screen.

Image RemovedImage Added

This will open the volume creation window.


Select 

  • Volume type
  • Volume size
  • Availability zone ( (warning) Must Please note: must be the same as the Charon-SSP AWS instance!)
  • Optionally, encrypt the device and/or add a name tag.

Then click on Create Volume.

Image RemovedImage Added


You will receive a confirmation window. Close it to return to the volume overview screen where you should now see the new volume.


Div
classpagebreak


Attaching an Existing Volume to an Instance

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

StepDetails
Attach the volume to your instanceIn the volumes overview screen, check that your volume has the state available. Right-click on it and select Attach Volume. This will open a small input screen.

Image RemovedImage Added

Select the instance to which the volume is to be attached. Optionally, you can change the device name that will be presented to the Charon-SSP AWS instance.

Click on Attach to confirm the configuration and to attach the volume to the instance.

The status of the volume in the volume overview screen will change from available to in-use.

Verify success in the instance description

Go to the instance overview list and select your instance. In the description storage tab at the bottom, you will see that the instance now has two block devices.

Image RemovedImage Added

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 :

  • Stop all Charon instances that might use the volume that is about to be detached.
  • In Charon Manager go to Tools > AWS Cloud > Storage Manager.
  • Select the volume.
  • Click on the cogwheel symbol and select Unmount the Filesystem.

(see Steps on the Charon-SSP Host System below).

Then detach the volume from your instance:

  • Go to the Elastic Block Store volumes list.
  • Select the volume to be detached.
  • Use the menu Actions > Detach volume.
Div
classpagebreak

...


Steps on the Charon-SSP

...

Host System

Mounting a Newly Attached Volume Using the Storage Manager (AL Images only)

After the volume has been attached to the instance, it must be included in the Charon-SSP host system configuration. This On a Charon-SSP AL instance, this is achieved via the Charon-SSP Manager.

  1. Open the Charon-SSP Manager on your local system and connect to your AWS Charon cloud instance.
  2. Select Tools > AWS 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.
      (warning) This 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:

Image Removed

(warning) Note that the Image Added

Please note: The device on the host system is called /dev/xvdf (XEN virtual block device). This is equivalent to an /dev/sdf volume shown in AWS.

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.

Div
classpagebreak


Mounting a Newly Attached Volume Manually

Include Page
PDC:__Include: Charon-SSP Manual Mounting of New Disk Device v4.2.x
PDC:__Include: Charon-SSP Manual Mounting of New Disk Device v4.2.x

Unmounting a Volume

If the volume is not the root device of the instance, unmount the volume before detaching itTo unmount a volume before perform the following steps:

  • Stop all Charon instances that might use the volume that is about to be detached.unmounted.
  • On host systems based on AL images:
    • In Charon Manager go to Tools > AWS Cloud > Storage Manager.
    • Select the volume.
    • Click on the cogwheel symbol and select Unmount the Filesystem.
  • On other systems:
    • Use the command # umount <device-path> or # umount <mount-point>
    • To make this permanent, remove the corresponding entry in /etc/fstab.


Div
classpagebreak


Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc