Oracle Audio Technologies E10898-02 ユーザーズマニュアル

ページ / 88
Oracle VM Server Repositories
7-2
Oracle VM Server User’s Guide
The format of this file is:
uuid
 
options
The 
uuid
 parameter is the UUID (Universally Unique Identifier) of the repository and 
must match the UUID of the repository in the /etc/ovs/repositories file. The 
options
 
parameter is list of mount options, as they would appear if the volume were mounted 
with 
mount -o opt1,opt2,opt3
. The mount options will be used exactly as listed 
in the file until the end of the line.
7.1.3 Adding a Repository
You can add a file system or shared virtual disk as a repository using the 
makerepo
 
script. The script takes the parameters:
/usr/lib/ovs/ovs-makerepo 
source
 
shared
 
description
The 
source
 parameter is the block device or NFS path to the file system to be added. 
The 
shared
 parameter sets whether the file system is to be shared between 
computers. Enter a 
1
 to have the file system shared, or a 
0
 to make it non-shared. The 
description
 parameter is the text displayed in Oracle VM Manager.
The 
makerepo
 script identifies the file system or shared virtual disk as a repository 
and updates the repository configuration to enable it.
7.1.4 Removing a Repository
You can remove a repository using the 
ovs-offlinerepo
 script. The script takes the 
parameters:
/usr/lib/ovs/ovs-offlinerepo [-d] 
uuid
 
source
The 
-d
 flag removes the storage repository from the configuration file. The 
uuid
 
parameter is the UUID of the repository. The 
source
 parameter is the block device or 
NFS path to the file system to be removed.
The 
ovs-offlinerepo
 script unmounts a repository and removes it from the 
configuration.