C.4 Copying a Remote Linux NSS Volume’s Trustee Database to the Primary NSS Volume

If the remote secondary NSS volume resides on an OES 1 Linux server or an OES 2 Linux server, its trustee information is stored in the ../._NETWARE/.trustee_database.xml file at the root of the volume. Its trustee information is not available to the primary volume.

To avoid resetting the trustee and rights information, copy the trustee file from the old volume to the new empty volume. Use the local Linux path of the mounted remote NSS volume on the DST server when you copy the file, such as:

/var/opt/novell/nclmnt/.Servers/<remote_servername>/<remote_volumename>/._NETWARE/.trustee_database.xml

To copy the trustee file from the remote NSS volume to the primary NSS volume:

  1. On the DST server, unmount the primary volume from NCP Server:

    1. In a Web browser, open Novell Remote Manager for the DST server, then log in as the root user.

    2. Select Manage NCP Services > Manage Shares to view a list of active volumes.

    3. Select the Unmount button next to the volume.

      This dismounts the volume from NCP, but it is still mounted by NSS.

  2. Log in to the DST server as the root user.

  3. In a file browser, go to the Linux path for the primary NSS volume, then rename or delete the /media/nss/primary_volumename/._NETWARE/.trustee_database.xml file.

  4. Copy the trustee file from the secondary volume location to the primary volume location by entering the following at a terminal console prompt:

    cp /var/opt/novell/nclmnt/.Servers/<remote_servername>/<remote_volumename>/._NETWARE/.trustee_database.xml /media/nss/primary_volumename/._NETWARE/.trustee_database.xml
    

    Remember that the remote servername in the secondary path is uppercase.

  5. In Novell Remote Manager, select Manage NCP Services > Manage Shares to view a list of active volumes.

  6. Mount the primary volume for NCP Server by selecting the Mount button next to the volume.

  7. At the terminal console prompt, enter the following command to synchronize the NSS trustee information that is now on the primary volume with NCP Server:

    ncpcon nss resync=primary_volumename
    
  8. Continue with Section C.5, Creating a Shadow Volume with a Remote Secondary NSS Volume.