Oracle ZFS Storage Appliance Administration Manual page 400

Hide thumbs Also See for ZFS Storage Appliance:
Table of Contents

Advertisement

Working with Filesystem Namespace
a tool to manage the namespace using inherited properties. Projects are never mounted, and do
not export data over any protocol.
All shares must be mounted under /export. While it is possible to create a filesystem mounted
at /export, it is not required. If such a share doesn't exist, any directories will be created
dynamically as necessary underneath this portion of the hierarchy. Each mountpoint must be
unique within a cluster.
Namespace Nested Mountpoints - It is possible to create filesystems with mountpoints
beneath that of other filesystems. In this scenario, the parent filesystems are mounted before
children and vice versa. The following cases should be considered when using nested
mountpoints:
Namespace NFSv2 / NFSv3 / NFSv4 - Under NFS, each filesystem is a unique export
made visible via the MOUNT protocol. NFSv2 and NFSv3 have no way to traverse
nested filesystems, and each filesystem must be accessed by its full path. While nested
mountpoints are still functional, attempts to cross a nested mountpoint will result in an
empty directory on the client. While this can be mitigated through the use of automount
mounts, transparent support of nested mountpoints in a dynamic environment requires
NFSv4.
NFSv4 has several improvements over NFSv3 when dealing with mountpoints. First is
that parent directories can be mounted, even if there is no share available at that point in
the hierarchy. For example, if /export/home was shared, it is possible to mount /export
on the client and traverse into the actual exports transparently. More significantly, some
NFSv4 clients (including Linux) support automatic client-side mounts, sometimes referred
to as "mirror mounts". With such a client, when a user traverses a mountpoint, the child
filesystem is automatically mounted at the appropriate local mountpoint, and torn down
when the filesystem is unmounted on the client. From the server's perspective, these are
400
Oracle ZFS Storage Appliance Administration Guide, Release OS8.6.x • September 2016
If the mountpoint doesn't exist, one will be created, owned by root and mode 0755. This
mountpoint may or may not be torn down when the filesystem is renamed, destroyed, or
moved, depending on circumstances. To be safe, mountpoints should be created within
the parent share before creating the child filesystem.
If the parent directory is read-only, and the mountpoint doesn't exist, the filesystem
mount will fail. This can happen synchronously when creating a filesystem, but can
also happen asynchronously when making a large-scale change, such as renaming
filesystems with inherited mountpoints.
When renaming a filesystem or changing its mountpoint, all children beneath the
current mountpoint as well as the new mountpoint (if different) will be unmounted and
remounted after applying the change. This will interrupt any data services currently
accessing the share.
Support for automatically traversing nested mountpoints depends on protocol, as
outlined below.

Advertisement

Table of Contents
loading

Table of Contents