8.6 Removing a 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.

8.6.1 Preparing to Remove a Shadow Volume

Before you remove a shadow volume relationship, make sure 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. In order for the data to be shifted to the primary storage area or to the secondary storage area, it is up to you to make that happen.

  1. In Novell 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. Make sure 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 9.0, 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 10.5, Generating a Custom Inventory Report.

8.6.2 Removing a Shadow Volume by Using Novell Remote Manager for Linux

  1. In Novell 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. Make sure 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, select Check to leave existing files on the shadow volume.

    When you enable Check to leave existing files on the shadow volume, the data that currently resides on each volume remains where it is, so that the data on the secondary storage area is not shifted back to the primary volume.

    The Check to leave existing files on the shadow volume option is deselected by default. When this option is disabled and you click Remove Shadow, all of the data that currently resides on the secondary volume is moved back to the primary storage location before the secondary volume is again available as an individual volume. It takes time to move the data back to the primary, depending on how much data there is to move.

    IMPORTANT:In the initial release of DST, if you disable the Check to leave existing files on the shadow volume when you remove the shadow volume, a known defect causes the system to hang and the Novell Remote Manager stack to unload. To avoid this problem, make sure you enable the option to keep data where it is.

  7. Click Remove Shadow.

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

  8. 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.

  9. 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).

  10. (Optional) Mount the volume that was used as the secondary volume (for example, ARCVOL) as an independent volume.

    1. In the Configuration area of the NCP Shares page, click NCP/NSS Bindings.

    2. In the Available NSS Volumes list, locate the former secondary volume (such as ARCVOL), click Yes, then click Save Selection.

      The volume is mounted automatically, and now appears again in the Active Shares list on the NCP Shares page.

8.6.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 shadow_volume_name
    
  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. Verify that the secondary NSS volume is available for mounting in NCP by checking that there is no longer an EXCLUDE 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 Novell 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 8.3, Configuring the NCP/NSS Bindings for an NSS Volume.

  5. 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.