19.13 Renaming (Modifying) the Mount Point for an NSS Volume

The default mount point for NSS volumes is /media/nss/volumename. You must enable the Allow the Mount Point to Be Renamed option for the volume to allow the mount point to be renamed.

NOTE:Currently, renaming the mount point is not supported for clustered NSS volumes using NSSMU, NLVM and iManager. For more information on renaming, see Renaming the Mount Point Path for a Shared NSS Volume (Using a Custom Mount Point for a Shared NSS Volume) in the OES 2018 SP3: OES Cluster Services for Linux Administration Guide.

19.13.1 Renaming the Mount Point for a New Volume

The default mount point for NSS volumes is /media/nss/volumename. You can specify a different mount point (that is, modify the volume’s directory path) as you create the volume if you create the volume in iManager. Creating the volume in the NSSMU (nssmu) does not allow for the mount point to be changed during the volume setup, but you can change it afterwards.

19.13.2 Enabling the Mount Point for the NSS Volume to Be Renamed

The Allow the Mount Point to Be Renamed option enables the NSS volume’s mount point to be renamed. This option is disabled by default. Enable the option as you create the volume, or enable it at any time for an existing volume by modifying the setting on the Attributes page ( Storage > Volumes > Properties > Attributes) in iManager.

  1. In iManager, click Storage, then click Volumes.

  2. Select the server you want to manage to view a list of its volumes.

  3. From the Volumes list, select the volume, then click Properties to view the volume attributes.

  4. On the Attributes page, select Allow the Mount Point to Be Renamed.

  5. Click Apply to save the change.

19.13.3 Renaming the Mount Point for an Existing NSS Volume

Whenever you change the mount point for an existing NSS volume, you must also restart NetIQ eDirectory to update the NetWare Core Protocol (NCP) Server cache. When an NSS volume is created, the NCP Server gets the path to the volume and caches it, assuming that it never changes. When you later run ncpcon and enter the volume command, it reports which volumes are still found at their respective mount points. Only the volumes that are still valid as compared to the list in cache are reported. Restarting eDirectory forces the NCP Server volume cache to update, so that the correct path is stored for reporting volume status.

  1. Use either iManager or nssmu to change the volume’s mount point.

    The following instructions are for iManager.

    1. In iManager, click Storage > Volumes.

    2. Select the server you want to manage to view a list of its volumes.

    3. From the Volumes list, select the volume, then click Properties to view the volume attributes.

    4. If the Allow the Mount Point to be Renamed option is not selected, select it and click Apply.

      NOTE:Select this option if you want to allow the mount point to be renamed if the volume is renamed. This feature works only if the volume is mounted in its default location (/media/nss/volumename).

    5. In Mount Point, type the new mount point.

      The default mount point for NSS volumes is /media/nss/volumename. The new path should also include the volumename.

      /mnt/nss/volumes/volumename
    6. Click Apply to save the change.

  2. Open a terminal console on the server, then log in as the root user or equivalent.

  3. Restart eDirectory by entering

    systemctl restart ndsd.service 

    Restarting eDirectory causes the NCP Server’s volume cache to be updated.