Environment
Novell Data Synchronizer Mobility Pack
Situation
Server running out of disk space
rcdatasync status shows unused
rcdatasync status shows unused
DataSync processes stop every hour automatically
Logs are taking up lots of disk space on the server
Logs are taking up lots of disk space on the server
Resolution
Mobility services shut down automatically if the used disk space is 90% or higher.
Please follow the steps listed below to confirm that the services get shutdown automatically because of the disk space:
cat /var/log/datasync/datasync_status
Follow the steps below with use of dsapp.sh:
- See TID 7015282 - How to install dsapp on a Mobility server.
Note: Once dsapp is loaded, proceed with the steps below. - Select Logs | Remove log archives
- Enter Y to clean log file directories.
- Enter Y to prevent future disk space hogging.
Please follow the steps listed below to free up Disk Space:
- Remove log files. From a terminal window type:
- rm /var/log/datasync/connectors/* and press enter.
- rm /var/log/datasync/syncengine/* and press enter.
-
Adjust the max logs for each engine to prevent future problems. Replace maxage 120 with maxage 14 in datasync-webadmin, datasync-syncengine, and datasync-configengine. From a terminal window type:
sed -i "s|maxage.*|maxage 14|g" /etc/logrotate.d/datasync-* and press Enter.
Additional Information
Troubleshooting Steps:
From a terminal window:
-
cat /var/log/datasync/datasync_status states shutting down mobility because of low disk space.
-
df -h reports 90% or more disk space in use.