13.10 Renaming (Modifying) the Mount Point (Linux)

The default mount point for NSS volumes is /media/nss/ volumename . You can rename (modify the directory path) the mount point as you create the volume, or you can rename it later.

13.10.1 Renaming the Mount Point for a New Volume

If you know in advance that you want to modify default path of the volume’s mount point, make sure to create the NSS volume with iManager and change the default mount point as you configure the volume. For example, if you are setting up an NSS volume to use for the home directories, change the mount point from /media/nss/home to /home.

Creating the volume in NSSMU ( nssmu) does not allow for the mount point to be changed during the volume setup, only afterwards.

13.10.2 Renaming the Mount Point for an Existing Volume

Whenever you change the mount point for an existing volume, you must also restart eDirectory to update the 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 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, then select the server.

    2. In the Volumes list, select the volume, then click Properties.

    3. Modify the directory path for the mount point, then click Apply.

  2. Open a terminal console and log in as the root user or equivalent, then restart eDirectory by entering

    /etc/init.d/ndsd restart 
    

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