Go to main content

Creating and Using Oracle® Solaris Kernel Zones

Exit Print View

Updated: December 2018
 
 

NFS Storage URIs and Kernel Zones

You can configure an NFS Storage URI (Uniform Resource Identifier) for an Oracle Solaris kernel zone. Storage URIs are used to uniquely identify shared storage objects across different nodes. Shared storage enables you to transparently access and manage shared storage resources in zones.

NFS Storage URIs are only supported on kernel zones.

NFS Storage URI Syntax and Usage

The NFS URI specifies an object-based on lofi device, created on the given NFS file. The NFS file is accessed with credentials derived from user and group. User and group can be given as user names or as user IDs. The host can be given as an IPv4 address, IPv6 address, or as a host name. IPv6 addresses must be enclosed in square brackets.

The nfs-share-path value must be an nfs export directory from the host server that contains a normal backing store file. NFS Storage URIs have the following syntax:

nfs:///user: group@host[:port]/nfs-share-path/file

    The following examples show how to use the URI syntax:

  • nfs://admin:staff@host/export/test/nfs_file
  • nfs://admin:staff@host:1000/export/test/nfs_file

NFS Storage URIs can be managed by the suriadm command. Use the suriadm property mountpoint-prefix=/system/volatile/zones/zonename for troubleshooting and recovery. See the suriadm(1M) man page or Managing Storage URIs and Shared Storage Resources in Creating and Using Oracle Solaris Zones for more information.