10.12 Removing the Shadow Relationship for a Non-Clustered DST Shadow Volume

Removing a DST shadow volume simply removes the relationship between the primary and secondary storage area. It does not remove the underlying volumes themselves. The files remain on whichever storage area they are on at the time when you remove the shadow relationship.

IMPORTANT:If you are using clustered shadow volumes, see Section 15.10, Removing the Shadow Relationship for a Clustered DST Volume Pair.

10.12.1 Preparing to Remove a Shadow Volume

Before you remove a shadow volume relationship, ensure that you shift data between the two volumes that make up the shadow volume, according to where you want the data to reside after the DST shadow volume relationship is removed.

  1. In OES Remote Manager for Linux, log in as the root user.

  2. Select View File System > Dynamic Storage Technology Options, locate the volume in the list, then click the Inventory link next to it.

    View the volume inventory for the shadow volume to determine the space in use and the available space for both the primary and the secondary areas of the shadow volume. Ensure that there is sufficient fee space available in either location for the data that you plan to move to that location.

  3. Use any combination of the following techniques to shift data between the two areas:

    • Shadow Volume Policies: Run an existing shadow volume policy by using the Execute Now option in the Frequency area of the policy. You can also create a new shadow volume policy that moves specific data, and run the policy by using the One Time and Execute Now options in the Frequency area of the policy.

      For information about configuring policies to move data between the primary and secondary areas, see Section 11.0, Creating and Managing Policies for Shadow Volumes.

    • Inventories: Use the detailed inventory reports or customized inventories to move specific files to either area.

      For information about using the volume customized inventory options to move data between the primary and secondary areas, see Section 14.6, Generating a Custom Inventory Report.

10.12.2 Removing the Shadow Volume Relationship by Using OES Remote Manager for Linux

  1. In OES Remote Manager for Linux, log in as the root user.

  2. Select Manage NCP Services > Manage Shares to go to the NCP Shares page.

  3. Ensure that you know which NSS volume is being used as the secondary volume so that you can manage it independently later.

    1. On the NCP Shares page, locate the primary NSS volume in the Active Shares list, then click the Information icon next to the share name.

    2. On the primary volume’s Share Information page, view the volume information in the File System Shadow Path.

      In the following example, ARCVOL is an NSS volume that is the secondary storage area in the shadow volume.

  4. On the NCP Shares page, locate the primary NSS volume in the Active Shares list, then click the Unmount button next to the share name.

  5. On the Manage Shares page, click the Information (i) icon next to the volume name of the NSS volume to access the Remove Shadow Action Options.

  6. On the volume’s Share Information page under Volume Tasks > Remove Shadow Action Options, click Remove Shadow.

    After the shadow volume is removed, the page refreshes to report a successful removal.

  7. Select Share Management to go to the NCP Shares page, locate the volume that was the primary volume in the Active Shares list, then click the Mount button next to it.

  8. Verify that the shadow volume was removed by using one of the following methods:

    • Select View File System > Dynamic Storage Technology Options to go to the Dynamic Storage Options page. The former primary volume now has an Add Shadow link next to it instead of a Shadowed link.

    • Select Manage NCP Services > Manage Shares, then click the Information icon next to the former primary volume’s name. The File System Shadow Path field displays n/a (not applicable).

  9. Enable the NCP/NSS Bindings on the volume that was used as the secondary volume (for example, ARCVOL) in order to mount the volume for NCP.

    For information, see Section 10.5.2, Enabling the NCP/NSS Bindings for an NSS Volume.

10.12.3 Removing a Shadow Volume by Editing Configuration Files

  1. Open a terminal console, then log in as the root user.

  2. Edit the /etc/opt/novell/ncpserv.conf file to remove the following entry for your volume, then save your changes.

    SHADOW_VOLUME primary_volumename secondary_volume_path

    For example:

    SHADOW_VOLUME VOL1 /media/nss/ARCVOL
  3. Stop and restart the eDirectory ndsd daemon for the changes to take effect by entering

    /etc/init.d/ndsd stop
    /etc/init.d/ndsd start
  4. Make the secondary NSS volume available for mounting in NCP by removing the EXCLUDE_VOLUME entry for the volume in the /etc/opt/novell/ncp2nss.conf file.

    If necessary, edit the /etc/opt/novell/ncp2nss.conf file to remove the following entry for it:

    EXCLUDE_VOLUME nss_volumename

    An entry is automatically removed from the /etc/opt/novell/ncp2nss.conf file by using OES Remote Manager for Linux to set the Manage NCP Services > Manage Shares > NCP/NSS Bindings > NCP Accessible option to Yes for the NSS volume. For instructions, see Section 10.5.2, Enabling the NCP/NSS Bindings for an NSS Volume.

  5. Stop and restart the eDirectory ndsd daemon for the changes to take effect by entering

    /etc/init.d/ndsd stop
    /etc/init.d/ndsd start
  6. Restart the NCP/NSS IPC daemon to synchronize the changes you made to the /etc/opt/novell/ncp2nss.conf file.

    1. At the terminal console prompt, enter

      /etc/init.d/ncp2nss restart
    2. If ncp2nss restarts successfully, the following messages are displayed in the terminal console:

      Shutting down Novell NCP/NSS IPC daemon...
      Exited
      Starting the Novell NCP/NSS IPC daemon.