13.11 Starting and Stopping ShadowFS Manually

FUSE (fuse) and ShadowFS (shadowfs) are required when Novell Samba users are accessing NSS volumes via SMB/CIFS. If FUSE and ShadowFS stop running, you must start them manually. Only one instance of shadowfs should be running at a time.

13.11.1 Starting FUSE and ShadowFS

Loading ShadowFS creates a ShadowFS root /media/shadowfs/<volumename> directory for each of the mounted DST shadow volumes. The volumename is the same as volume name of the primary volume. The ShadowFS root directory contains the merged file tree view of the primary and secondary locations in the DST volume. A root is created for all of the mounted DST volumes; you cannot control whether to shadow only one or some of them.

  1. On the server, open a terminal console, then log in as the root user.

  2. At the terminal console prompt, start FUSE by entering

    cd /opt/novell/ncpserv/sbin
    modprobe fuse
    

    There is no command line feedback to indicate if the command is successful.

  3. At the terminal console prompt, start ShadowFS by entering

    /opt/novell/ncpserv/sbin ./shadowfs
    

    The output identifies the primary volume, secondary volume, and the shadowfs volume.

    For example, if the primary storage location is an NSS volume named VOL1 and the secondary storage location is an NSS volume named ARCVOL, the output would look similar to this:

                 SHIFT_ON_MODIFY: 1
                 SHIFT_ON_ACCESS: 0
    SHIFT_DAYS_SINCE_LAST_ACCESS: 1
                  Primary Tree 0: /media/nss/VOL1
                   Shadow Tree 0: /media/nss/ARCVOL
                 shadowfs root 0: /media/shadowfs/VOL1
    

13.11.2 Starting FUSE and ShadowFS with novell-shadowfs

  1. On the server, open a terminal console, then log in as the root user.

  2. At the terminal console prompt, start FUSE and ShadowFS by entering

    /etc/init.d/novell-shadowfs start
    

13.11.3 Stopping Shadowfs

  1. On the server, open a terminal console, then log in as the root user.

  2. At the terminal console prompt, stop the shadowfs process by entering

    /etc/init.d/novell-shadowfs stop
    

    If the process does not stop, you need to kill the process. Enter

    killall shadowfs