Creates an OCFS2 file system on a physical disk on a file server.
Syntax
create FileSystem
physicalDisk=
value
name=
[
value
description=
]
value
on FileServer
instance
Where
is:
instance
{
id=
|
value
name=
}value
Description
This command creates an OCFS2 file system on a physical disk on a file server. When creating a file system on an NFS file server, you can use the file server itself to create the file system. When creating an OCFS2 file system on a LUN, you should use a local file server on an Oracle VM Server that has access to the LUN to create the file system. See Section 7.2, “To create a storage repository on a storage array” for an example.
Options
The following table shows the available options for this command.
Option | Description |
---|---|
| The name or ID of the physical disk on which to create the OCFS2 file system. |
| A name for the file system. |
|
Optional description for the file system.
|
{
|
The instance of the object using either the
|
Any create command only creates a single instance of an object, and therefore only accepts a single object instance as an attribute. Providing more than one object of the same attribute type as a parameter always results in the last attribute value taking precedence.
Examples
Example A.49 Creating an OCFS2 file system on physical disk on a file server
OVM> create FileSystem physicalDisk=0004fb0000180000e3c93dc542901b7a name=MyRepoFileSystem \ on FileServer id=0004fb00000900007e1ce0c83b3f136f
Example A.50 Creating an OCFS2 file system on a LUN
OVM> create FileSystem name=MyRepoFileSystem physicalDisk="MyLUN1" on FileServer \ name="Local FS MyServer1"