EasyManua.ls Logo

Oracle ZFS Storage Appliance

Oracle ZFS Storage Appliance
650 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Creating a Filesystem or LUN in a Project (CLI)
Creating a Filesystem or LUN in a Project (CLI)
A filesystem or LUN created within a project inherits the properties of the project. For a list
of standard properties that can be inherited, see “Inherited Properties” on page 364. If the
project is encrypted, a filesystem or LUN created within it is also encrypted.
If you are adding a filesystem or LUN to a non-default project, the project must already exist.
To create a new project, see “Creating a Project (CLI)” on page 344.
1.
Go to shares.
hostname:> shares
2.
Enter select and the project name. In this example, the default project is
selected.
hostname:shares > select default
3.
Enter filesystem and a filesystem name, or lun and a LUN name.
A name must consist of 1 to 64 characters, but not include spaces or begin with a period.
Allowable characters are: alphanumeric and special characters _ - . :
The following example creates a filesystem named fs-1 in the default project.
hostname:shares default> filesystem fs-1
hostname:shares default/fs-1 (uncommitted)>
4.
If creating a LUN, enter set volsize= and the volume size.
hostname:shares default/lun1 (uncommitted)> set volsize=2G
volsize = 2G (uncommitted)
5.
Enter commit.
hostname:shares default/fs-1 (uncommitted)> commit
6.
Enter select and a filesystem or LUN name.
hostname:shares default> select fs-1
7.
List the properties of the share using the get command:
hostname:shares default/fs-1> get
aclinherit = restricted (inherited)
aclmode = discard (inherited)
atime = true (inherited)
Shares and Projects 351

Table of Contents

Other manuals for Oracle ZFS Storage Appliance

Related product manuals