SUSE Support

Here When You Need Us

crm command fails with OSError: Disk quota exceeded

This document (000021617) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise High Availability Extension 15


Situation

When executing the crm commands, the following error message is displayed:

# crm status
Traceback (most recent call last):
  File "/usr/sbin/crm", line 35, in <module>
    from crmsh import main
  File "/usr/lib/python3.6/site-packages/crmsh/main.py", line 18, in <module>
    from . import ui_root
  File "/usr/lib/python3.6/site-packages/crmsh/ui_root.py", line 25, in <module>
    from . import ui_cluster
  File "/usr/lib/python3.6/site-packages/crmsh/ui_cluster.py", line 16, in <module>
    from . import bootstrap
  File "/usr/lib/python3.6/site-packages/crmsh/bootstrap.py", line 65, in <module>
    COROSYNC_CONF_ORIG = tmpfiles.create()[1]
  File "/usr/lib/python3.6/site-packages/crmsh/tmpfiles.py", line 56, in create
    fd, fname = mkstemp(dir=directory, prefix=prefix)
  File "/usr/lib64/python3.6/tempfile.py", line 344, in mkstemp
    return _mkstemp_inner(dir, prefix, suffix, flags, output_type)
  File "/usr/lib64/python3.6/tempfile.py", line 262, in _mkstemp_inner
    fd = _os.open(file, flags, 0o600)
OSError: [Errno 122] Disk quota exceeded: '/tmp/crmsh_337gu7x_'

Resolution

To resolve this issue, consider the following options:

  1. Remove unnecessary files from the /tmp file system to free up space.
  2. Disable the quota for the file system if enforcing a limit on its usage is no longer necessary.
  3. Increase the file system quota to allow more disk usage.

Cause

The /tmp directory resides on a file system with an enforced quota. Once this quota is reached, it prevents the crm process from creating temporary files in the /tmp directory, leading to the error.

Additional Information

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000021617
  • Creation Date: 13-Nov-2024
  • Modified Date:11-Dec-2024
    • SUSE Linux Enterprise High Availability Extension

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.