8.4 Loading ShadowFS

ShadowFS is required to provide a merged view access to DST volumes for users via SMB/CIFS or native Linux file access. You can start it manually, or set a policy to automatically load ShadowFS at boot time. For information about using and managing ShadowFS, see Section 12.0, Using ShadowFS to Provide a Merged View for Novell Samba Users.

By default, ShadowFS and FUSE are not started automatically at boot time. You can set the ShadowFS Configuration > Load ShadowFS option that starts them at boot time. It also starts them when you first enable the global policy if they are not already running. A single instance of ShadowFS should be running on a server. The setting applies for all DST volumes on the server.

IMPORTANT:If you use shadow volumes in a cluster, ensure that you set the same global policies on each OES 2 Linux node in the cluster.

8.4.1 Using Novell Remote Manager to Set the Autostart of ShadowFS

The Load ShadowFS option in Novell Remote Manager provides a GUI interface for setting up ShadowFS to start at boot time. It also starts ShadowFS when the option is first enabled if ShadowFS is not already running.

  1. In Novell Remote Manager for Linux, select View File System, then select Dynamic Storage Technology Options.

  2. In the ShadowFS Configuration area, view the current setting for Load ShadowFS.

  3. Enable or disable Load ShadowFS by selecting or deselecting the check box.

  4. In the ShadowFS Configuration area, click Submit to save and apply the change.

8.4.2 Using the Command Line to Set the Autostart of ShadowFS

You can set the service to autostart upon future reboots at the command line instead of using Novell Remote Manager:

  1. Log in as the root user, then open a terminal console.

  2. Do one of the following:

    • Enable Autostart: Enter the following at a command prompt to enable the autostart of novell-shadowfs:

      chkconfig novell-shadowfs on
      
    • Disable Autostart: Enter the following at a command prompt to disable the autostart of novell-shadowfs:

      chkconfig novell-shadowfs off
      

8.4.3 Manually Starting and Stopping ShadowFS

Only one instance of ShadowFS should be loaded at a time. Before you attempt to manually start ShadowFS, ensure that you have stopped any running instances of it.

  1. Log in as the root user, then open a terminal console.

  2. Do one of the following:

    • Start: Enter the following at a command prompt to start ShadowFS:

      /etc/init.d/novell-shadowfs start
      
    • Stop: Enter the following at a command prompt to stop ShadowFS:

      /etc/init.d/novell-shadowfs stop