• Configuring file system shares

    PDF

    Configuring file system shares

    Share local paths and export paths

    The following table describes the path settings for shares:

    Setting
    Description
    Local path
    The path to the file system storage resource on the storage system. This path specifies the unique location of the share on the storage system.

    NFS shares

    • Each NFS share must have a unique local path. Unisphere automatically assigns this path to the initial share created within a new file system. The local path name is based on the file system name.
    • Before you can create additional shares within an NFS file system, you must create a directory to share from a Linux/UNIX host that is connected to the file system. Then, you can create a share from Unisphere and set access permissions accordingly.
    Export path
    The path used by the host to connect to the share. Unisphere creates the share export path based on the name of the share and the name of the file system where it resides. Hosts use either the file name or the export path to mount or map to the share from a network host.

    This behavior is enabled by using NFS aliases for shares.

    Create an NFS share

    Before you begin

    The file system or snapshot you choose as the share's source must be associated with a NAS server that supports the NFS protocol.

    Procedure
    1. Under Storage, select File > File Systems.
    2. Select the file system for which you want to add a share, and then select More Actions > Create an NFS share (NFS export).
    3. On the File System page, specify whether the share is for the selected file system or for a snapshot of the selected file system.
    4. On the Name & Path page, enter the relevant information, noting the following:
      • The value specified in the Share Name field, along with the NAS server name, constitutes the alias by which hosts can access the share.
      • Share names must be unique at the NAS server level per protocol. However, you can specify the same name for an SMB and NFS share.
      • Local Path must correspond to an existing folder name within the file system that was created from the host-side.
        Note:  A given file system path can only be shared once using the NFS protocol.
      • By default, users can set bit s in the execute portion of the owner or group permissions of a file. Users can then set the setuid and setgid Unix permission bits. This allows users to run the executable with the privileges of the file's owner (such as root). De-select Allow SUID if you do not want users to have this ability.
      • Optionally change the default anonymous UID and GID for the share. If the permission of a host is read-only or read-write (without allowing root access), and the UID of the client is 0 (which is typically the UID of the root account), then the UID is mapped to the anonymous UID on the NAS server. By default, the values of the anonymous UID and anonymous GID are 4294967294, which is typically associated with the nobody user.
    5. On the Access page, optionally specify the name of the hosts that can access the share, along with their access privileges. In the Default Access field, select the access setting you want all hosts to have for the share. In the Customize access for the following hosts section do either of the following:
      • Change the access privileges for existing hosts.
      • Add new hosts and specify individual access privileges for those hosts.

    Change NFS share properties

    Procedure
    1. Under Storage, select File > NFS Shares.
    2. Select the relevant NFS share, and then click the Edit icon.
    3. On the General tab, change the share description.
    4. On the Host Access tab, configure or add host access to the NFS share.