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.
For the default passwords of users DRManager and root, see the default passwords of the accounts for the target node on the Type A (Background) sheet in OceanStor BCManager 8.5.1 eReplication Account List (Storage Disaster Recovery).
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.
