Chapter 1 Oracle ZFS Storage Appliance Overview
Chapter 3 Initial Configuration
Chapter 4 Network Configuration
Chapter 5 Storage Configuration
Chapter 6 Storage Area Network Configuration
Chapter 8 Setting ZFSSA Preferences
Chapter 10 Cluster Configuration
Chapter 12 Shares, Projects, and Schema
File System and Project Settings
Space Management for Replicating LUNs
Viewing Current Usage in the BUI
Viewing Current Usage in the CLI
Set User or Group Quotas Using the BUI
Set User or Group Quotas Using the CLI
Namespace Protocol Access to Mountpoints
Working with Shares > Shares in the BUI
Working with Shares > Shares in the CLI
Shares > Shares CLI Properties
Shares > Shares > General - BUI Page
Non-blocking mandatory locking
Shares > Shares > Protocols - BUI Page
Shares - Root Directory Access
Listing Snapshots Using the BUI
Manual Snapshots Using the BUI
Create a project level snapshot
Create a share/LUN level snapshot
Rolling back to a Snapshot (BUI)
Scheduled Snapshots Using the BUI
Manual Snapshots Using the CLI
Rolling back to a Snapshot (CLI)
Listing Dependent Clones Using the CLI
Scheduled Snapshots Using the CLI
Setting the Scheduled Snapshot Label Using the CLI
Working with Projects Using the BUI
Project - Inherited Properties
Working with Schemas in the BUI
Configuring a Schema Using the BUI
Working with Schemas Using the CLI
Configuring a Schema Using the CLI
The projects CLI is under shares
To select a project, use the select command:
clownfish:> shares clownfish:shares> select default clownfish:shares default> get aclinherit = restricted aclmode = discard atime = true checksum = fletcher4 compression = off compressratio = 100 copies = 1 creation = Thu Oct 23 2009 17:30:55 GMT+0000 (UTC) mountpoint = /export quota = 0 readonly = false recordsize = 128K reservation = 0 secondarycache = all nbmand = false sharesmb = off sharenfs = on snapdir = hidden snaplabel = project1:share1 vscan = false sharedav = off shareftp = off default_group = other default_permissions = 700 default_sparse = false default_user = nobody default_volblocksize = 8K default_volsize = 0 space_data = 43.9K space_unused_res = 0 space_unused_res_shares = 0 space_snapshots = 0 space_available = 12.0T space_total = 43.9K clownfish:shares default>
A project is created using the project command. The properties can be modified as needed before committing the changes:
clownfish:shares> project home clownfish:shares home (uncommitted)> get mountpoint = /export (default) quota = 0 (default) reservation = 0 (default) sharesmb = off (default) sharenfs = on (default) sharedav = off (default) shareftp = off (default) default_group = other (default) default_permissions = 700 (default) default_sparse = true (default) default_user = nobody (default) default_volblocksize = 8K (default) default_volsize = 0 (default) aclinherit = (default) aclmode = (default) atime = (default) checksum = (default) compression = (default) copies = (default) readonly = (default) recordsize = (default) secondarycache = (default) nbmand = (default) snapdir = (default) snaplabel = project1:share1 vscan = (default) custom:contact = (default) custom:department = (default) clownfish:shares home (uncommitted)> set sharenfs=off sharenfs = off (uncommitted) clownfish:shares home (uncommitted)> commit clownfish:shares>
A project can be destroyed using the destroy command:
clownfish:shares> destroy home This will destroy all data in "home"! Are you sure? (Y/N) clownfish:shares>
This command can also be run from within the project context after selecting a project.
A project can be renamed using the rename command:
clownfish:shares> rename default home clownfish:shares>
In an active/active cluster configuration, one node can be in control of both pools while failed over. In this case, the CLI context will show the current pool in parenthesis. You can change pools using the set command from the top level shares context:
clownfish:shares (pool-0)> set pool=pool-1 clownfish:shares (pool-1)>
Once the pool context has been select, projects and shares are managed within that pool using the standard CLI interfaces.
The following properties are available in the CLI, with their equivalent in the BUI. Properties can be set using the standard CLI commands get and set. In addition, properties can be inherited from the parent project by using the unset command.
|