Chapter 21. Troubleshooting

This section describes how to manage logs and most common troubleshooting scenarios related to Red Hat Storage.

21.1. Managing Red Hat Storage Logs

This section describes how to manage Red Hat Storage logs by performing the following operation:
  • Rotating Logs

21.1.1. Rotating Logs

Administrators can rotate the log file in a volume, as needed.
To rotate a log file
  • Rotate the log file using the following command:
    # gluster volume log rotate VOLNAME
    For example, to rotate the log file on test-volume:
    # gluster volume log rotate test-volume
    log rotate successful


    When a log file is rotated, the contents of the current log file are moved to log-file- name.epoch-time-stamp.