To enable the support for ransomware protection for a newly configured disk library on an NFS share, you must configure the context for the mount location manually in the /etc/fstab system file.
Before You Begin
-
If the MediaAgent is a client computer, make sure that there are no active backup or restore operations running on the MediaAgent.
-
Configure ransomware protection for the Linux MediaAgent that hosts the disk library.
-
Take a backup of the /etc/fstab system file.
Procedure
-
Open the /etc/fstab system file.
-
Update the file to configure the context for the library to system_u:object_r:cvstorage_t:s0.
Server:/path/to/export /local_mountpoint nfs <options>,context="system_u:object_r:cvstorage_t:s0" 0 0
-
Save the file.
-
Unmount the NFS mount point, and then mount it again for the protection to take effect.