Find the physical disk (LUN) you want to use to create the storage repository with the list command, for example:
OVM>
list PhysicalDiskid:0004fb000018000067ce80973e18374e name:MyLUN1 id:0004fb000018000035ce16ee4d58dc4d name:MyLUN2 id:0004fb0000180000a9c7a87ba52ce5ec name:MyLUN3 OVM>Find a local file system on an Oracle VM Server that has access to the LUN with the list command, for example:
OVM>
list FileServerid:0004fb0000090000d773cb3fe655865a name:Local FS MyServer1 id:0004fb000009000014baa666cdf62317 name:Local FS MyServer2 id:0004fb00000900008ae3eb6203f5646c name:MyNFSStorage id:0004fb00000900001d523e2a6ce1f8c8 name:Local FS MyServer3 OVM>Create an OCFS2 file system on the LUN using the local file system on the Oracle VM Server as the FileServer. Use the syntax:
create FileSystemphysicalDisk=valuename=[valuedescription=]valueon FileServerinstanceFor example:
OVM> create FileSystem name=MyRepoFileSystem physicalDisk="MyLUN1" on FileServer \ name="Local FS MyServer1"
For more information on the syntax and usage, see Section A.37, “create FileSystem” .
Create the storage repository. Use the syntax:
create Repository[sharePath=]valuename=[valuedescription=]valueonFileSysteminstanceFor example:
OVM> create Repository name=MyRepository on FileSystem name=MyRepoFileSystem
For more information on the syntax and usage, see Section A.40, “create Repository” .
To grant access to the storage repository to a server pool, you must present the repository. To present the storage repository to server pool, use the syntax:
add ServerPoolinstanceto{AccessGroup|Repository}instanceFor example:
OVM> add ServerPool name=MyServerPool to Repository name=MyRepository
For more information on the syntax and usage, see Section A.12, “add ServerPool” .
Finally, refresh the storage repository using the syntax:
refresh{AccessGroup|Assembly|FileServer|FileSystem|PhysicalDisk|Repository|Server|StorageArray}instanceFor example:
OVM> refresh Repository name=MyRepository
For more information on the syntax and usage, see Section A.124, “refresh” .

