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:
Go to the /etc/init.d/ directory and stop the novell-zenserver, novell-zenloader, and novell-zenmntr services.
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:
mv /var/opt/novell/zenworks/content-repo/* another-local-directory-on-device
Go to the /media/nss/NSSVOL directory, and create a zencontent subdirectory within it.
Use YaST to add the newly created subdirectory to the list of Samba shares (for example, zenshare) on the server.
Restart the Samba service.
(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.
(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
Run the following command to mount the zenshare share:
mount //localhost/zenshare /var/opt/novell/zenworks/content-repo -t cifs -o username=root
Restore the backed-up content to the /var/opt/novell/zenworks/content-repo directory. The content is now stored on the NSS volume.
Go to the /etc/init.d/ directory and restart the novell-zenserver, novell-zenloader, and novell-zenmntr services.
(Conditional) To ensure that the share is automatically mounted every time the server reboots, add the following line in the /etc/fstab file:
//localhost/zenshare /var/opt/novell/zenworks/content-repo cifs username=root,password=rootpass 0 0