10.7 Removing an NCP Volume

Removing an NCP volume deletes the NCP share mount point information (path and volume name association) from the /etc/opt/novell/ncpserv.conf file. It also removes the NCP volume’s Volume object from NetIQ eDirectory. It does not remove or delete data from the directory represented by the share path. NCP clients cannot see or access the data after it is no longer defined as an NCP volume.

IMPORTANT:If the NCP volume is in a Novell Distributed File Services management context, removing the NCP volume’s Volume object breaks junctions that point to that NCP volume. If you create an NCP volume by the same name for the same share, the junctions are still broken because the DFS GUID is different. You must delete and re-create the junctions that point to the new NCP volume.

After an NCP volume has been removed, if you need to restore the mount point, you must create a new NCP volume for the share as you did when you first created it.

10.7.1 Using Novell Remote Manager to Remove an NCP Volume

  1. In Novell Remote Manager, click Manage NCP Services > Manage Shares.

  2. In the Configuration area, click Delete Existing Share.

  3. Specify the name of the NCP volume you want to remove, then click OK.

  4. Verify the information, then click OK to confirm the volume removal.

  5. When the NCP share has been removed successfully, click Done to return to the Manage Shares page.

10.7.2 Using NCPCON to Remove an NCP Volume

Before removing a volume, best practice is to dimount the volume to gracefully terminate connections to the data.

  1. Open a terminal console on the Linux server you want to manage, then log in as the root user.

  2. Use one of the following methods to remove an NCP volume:

    • At the terminal console prompt, enter ncpcon to open the NCPCON utility, then enter

      remove volume ncp_volume_name
      
    • At a terminal console prompt, enter

      ncpcon remove volume ncp_volume_name
      

      For example, to remove volume vol1, enter

      ncpcon remove volume vol1
      

    Replace ncp_volume_name with the name of the NCP volume that you want to remove. Volume names are not case sensitive.