Cloning Virtual Disks - Oracle X6-2-HA Deployment And User's Manual

Database appliance
Hide thumbs Also See for X6-2-HA:
Table of Contents

Advertisement

Example 12-9
This example displays information for the virtual disk named myvdisk1:
# oakcli show vdisk myvdisk1
Resource: myvdisk_vdiskrepo

Cloning Virtual Disks

Use the oakcli clone vdisk command to create clones of virtual disks on Oracle
Database Appliance Virtualized Platforms.
The command oakcli clone vdisk defines the size of the virtual disk, the shared
repository in which that disk is created, defines the unique name for that disk within
that shared repository, and defines if the disk is used for one virtual machine, or can
be shared by multiple virtual machines.
The name of the vdisk you create is defined by the command oakcli clone vdisk
name, where name is the name of the vdisk you create. Identify the repository in which
you create the vdisk by using the -repo reponame option, where reponame is the name
of the repository where the original vdisk is located. Use the option -src
sourcevdiskname, where sourcevdiskname is the name of the virtual disk that you are
cloning. Add the option -h to display help for this command.
Note:
Once the virtual disk is attached to a virtual machine, the system
administrator should perform normal disk addition tasks for the given
operating system to make the newly added storage available to the virtual
machine.
Syntax
oakcli clone vdisk name -repo reponame -src sourcevdiskname [-h]
Example 12-10
This example clones a virtual disk named my_vdisk2 from an existing virtual disk
named vdisk1 that is stored in the repository named vrepo1:
oakcli clone vdisk my_vdisk2 -repo vrepo1 -src vdisk1
Example of Displaying Information for a Single Vdisk
Name
:
myvdisk_vdiskrepo
RepoName
:
vdiskrepo
Size
:
10G
Type
:
local
VmAttached
:
0
Example of Cloning a Virtual Disk
How to Manage Virtual Disks in Shared Repositories
Chapter 12
12-14

Advertisement

Table of Contents
loading

Table of Contents