13.4 Installing ShadowFS and FUSE

ShadowFS and FUSE are installed automatically when you install Dynamic Storage Technology. The following instructions are provided if you need to install it manually.

  1. Open YaST as the root user.

  2. In YaST, select Software Management.

  3. In Software Management, search for shadow to find the novell-shadowFS package.

  4. Select novell-shadowFS, click Install, click Accept to install it, then when prompted, accept its dependencies (such as FUSE).

  5. Start ShadowFS by entering the following at a terminal console as the root user:

    systemctl start novell-shadowfs.service

    IMPORTANT:Ensure that you run only a single instance of shadowfs at a time. Do not enter the command multiple times.

    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:

     # systemctl status novell-shadowfs.service
    ● novell-shadowfs.service - Novell shadowfs
       Loaded: loaded (/usr/lib/systemd/system/novell-shadowfs.service; disabled; vendor preset: disabled)
       Active: active (running) since Tue 2017-11-28 12:46:29 IST; 1s ago
      Process: 31403 ExecStopPost=/usr/bin/rm -f /var/lock/subsys/shadowfs (code=exited, status=0/SUCCESS)
      Process: 31401 ExecStopPost=/usr/sbin/rmmod fuse (code=exited, status=1/FAILURE)
      Process: 31391 ExecStop=/opt/novell/ncpserv/sbin/umountshadow.sh (code=exited, status=32)
      Process: 2567 ExecStartPost=/usr/bin/touch /var/lock/subsys/shadowfs (code=exited, status=0/SUCCESS)
      Process: 2553 ExecStart=/opt/novell/ncpserv/sbin/shadowfs (code=exited, status=0/SUCCESS)
      Process: 2551 ExecStartPre=/sbin/modprobe fuse (code=exited, status=0/SUCCESS)
        Tasks: 4 (limit: 512)
       CGroup: /system.slice/novell-shadowfs.service
               ├─2563 /opt/novell/ncpserv/sbin/shadowfs
               └─2566 /opt/novell/ncpserv/sbin/shadowfs
    
    
    Nov 28 12:46:28 blr8-117-174 systemd[1]: Starting Novell shadowfs...
    Nov 28 12:46:29 blr8-117-174 shadowfs[2553]: SHIFT_ON_MODIFY: 1
    Nov 28 12:46:29 blr8-117-174 shadowfs[2553]: SHIFT_ON_ACCESS: 0
    Nov 28 12:46:29 blr8-117-174 shadowfs[2553]: SHIFT_DAYS_SINCE_LAST_ACCESS: 1
    Nov 28 12:46:29 blr8-117-174 shadowfs[2553]: Primary Tree 0: /media/nss/VOL1
    Nov 28 12:46:29 blr8-117-174 shadowfs[2553]: Shadow Tree 0: /media/nss/ARCVOL
    Nov 28 12:46:29 blr8-117-174 shadowfs[2553]: shadowfs root 0: /media/shadowfs/VOL1
    Nov 28 12:46:29 blr8-117-174 systemd[1]: Started Novell shadowfs.

    Loading ShadowFS creates the ShadowFS root volume /media/shadowfs/VOL1 where it creates the ShadowFS volumes. If multiple NCP volumes have shadow volumes, each of them is shadowed with ShadowFS and is reported. You cannot control whether to shadow only one or some of them.