If you do not need to save operation logs to a local disk, perform the operations described in this section to save the operation logs to the NFS directory.
This operation depends on the NFS client.
Log in as user DRManager, and run the su root command to switch to user root.
The default password of user DRManager and root See the default password of the account for the target node on the Type A (Background) sheet in the OceanStor BCManager 8.5.0 eReplication Account List(Traditional Disaster Recovery). Run the TMOUT=0 command to prevent PuTTY from exiting due to session timeout.
After you run the preceding command, the system continues to run even when no operation is performed, resulting in security risks. For security purposes, you are advised to run the exit command to exit the system after completing your operations.
xxx:/xxx/xxx indicates the NFS shared directory. Ensure that the BCManager user has the read and write permissions and the BCManager server has the access permission on the NFS shared directory.
Run the mount command to view the mounted directory.

xxx:/xxx/xxx /opt/BCManager/Runtime/LegoRuntime/datastorage/sysoptlog nfs_version rw 0 0
Save the /etc/fstab file and exit.
xxx:/xxx/xxx indicates the NFS shared directory (Ensure that the BCManager user has the read and write permissions and the BCManager server has the access permission on the NFS shared directory). nfs_version indicates the version supported by the NFS server, for example, nfs4.
