How to add hard drives (OVS) and how to manage them?
Posted by on 05.09.2012 10:25
In the OVS (Oktawave Volume Storage) tab, you can create hard drives that are connected to one or more instances.
Remember that if you want to create a shared disk, you need to ensure adequately clustered file system, such as GFS2 or OCFS. If you do not, you lose your data. Shared drives can be used to build e.g. database clusters.
To manage your hard drives, select the Services tab on the OVS subpage.
You will see a list of already created drives. Their viewing helps you determine whether to display all the drives, system drives (with the installed operating system) or non-system drives (no system).
The icons on the left side of the list define the status of the drive. Green indicates that the disk is in use, connected to the specific instance and running, and red, that the disk is not connected to any instance or that there is a technical problem.
To add a new drive, click the Add button above the list.
While creating a new drive, you must specify its name, the class of performance (for example Tier 1, 2, 3, 4 or 5) and the required space (in gigabytes). If you want the drive to be shared, select Shared.
Then decide to which Oktawave instance it is to be connected (it may remain unconnected to any) and how the charges will be billed for its use - in a "pay-as-you-go" (in proportion to use) or a "monthly fee" model.
To create a drive, click Add.
Drive settings can be changed at any time by clicking the button on the right of the list. Thus you can change the size of a new disk (to larger one).
The windows of all settings available in the stage of creating will be activated again. Changes can either confirmed or cancelled.
When editing the drive setting is not active, use a cross on the right side of the drive to remove it.
Removing of the drive needs to be confirmed every time.
Information about the drives connected to an instance can also be found by editing the settings of the instance (subpage Oktawave | Services | OCI | Edit OCI instance). If the instance is connected to more than one drive, then click the blue plus to view the list of drives.
To add or remove drives connected to a given instance, go to instance panel to edit the settings.
In the panel you will see a list of drives connected to the instance. If you created the drives, which are not yet connected, you will see a field Add. After clicking it you will see a list of available drives. In order to add a new drive, select it and click the button to the right of the list.
Here you can also disconnect the drive from the instance by clicking the "X".
If you want to learn how to mount a new drive in the operating system, please read this tutorial.