How do I debug glusterfs?

Source: Internet
Author: User
Tags glusterfs gluster

Client-Side Debugging methods

You can add the-o log-level=debug parameter to view detailed debugging information.

Usage examples:

Mount-t Glusterfs-o Log-level=debug 192.168.1.120:/tank/mnt


Server-Side debugging methods

You can change the log level:

Diagnostics.brick-log-level # Brick process log level, default to info

diagnostics.client-log-level # Client log level, default to info

Diagnostics.brick-sys-log-level # Default value is CRITICAL, do not move, in the Gluster log also has

Diagnostics.client-sys-log-level # Default value is CRITICAL, do not move, in the Gluster log also has


Usage examples:

Gluster Volume set Diagnostics.brick-log-level DEBUG


The default startup process for the Glusterd service is:

/usr/sbin/glusterd-p/var/run/glusterd.pid

When debugging, you can reduce the log level:

Glusterd-p/var/run/glusterd.pid-l DEBUG


The optional log levels are:

DEBUG, INFO, WARNING, ERROR, CRITICAL, TRACE and NONE, default is info.


This article is from the "Members Doukua" blog, make sure to keep this source http://dangzhiqiang.blog.51cto.com/7961271/1774433

How do I debug glusterfs?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.