Oracle VM Server Repositories

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-offlinereposcript. The script takes the parameters:

/usr/lib/ovs/ovs-offlinerepo [-d] uuid source

The -dflag 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-offlinereposcript unmounts a repository and removes it from the configuration.

7-2Oracle VM Server User’s Guide

Page 52
Image 52
Oracle Audio Technologies E10898-02 manual Adding a Repository, Removing a Repository, Oracle VM Server Repositories