33.3 Mounting the Content Repository on a Linux Server to an NSS Volume

You can mount the content-repo directory on a Linux server on to an NSS Volume.

Before you begin, ensure that the following prerequisites are met:

  • The NSS volume is set up and mounted in the /media/nss/NSSVOL/ directory of the server.

  • The Samba service is installed and configured to run as root on the server. To verify this, run the following command and ensure that the value in UID column is root, especially for the processes with PPID = 1.

    ps -Alf | grep samba

To mount the content-repo directory:

  1. Stop the ZENserver, ZENloader and ZENmntr services.

  2. Run the following command to move the content from the content-repo directory to a temporary directory on the disk so that the content-repo directory is empty:

  3. Go to the /media/nss/NSSVOL directory, and create a zencontent subdirectory within it.

  4. Use YaST to add the newly created subdirectory to the list of Samba shares (for example, zenshare) on the server.

  5. Restart the Samba service.

  6. (Conditional) Run the following command to add a Samba root user if the Samba root user does not already exist:

    smbpasswd -a root

    For security reasons, you must specify a root password that is different from the login password.

  7. (Optional) To test if the newly created share is accessible over the Samba protocol, access the share from a Windows device by providing the Samba root user credentials

  8. Restart the ZENserver, ZENloader and ZENmntr services.