Trying to set a negative value for `filestore_merge_threshold` in Red Hat Ceph Storage fails with "Invalid argument", why?

Solution Verified - Updated -

Issue

  • While trying to set filestore_merge_threshold = -40, the command returns an "Invalid argument".
# ceph --admin-daemon /var/run/ceph/ceph-osd.312.asok config set filestore_merge_threshold -40
{   
    "error": "error setting 'filestore_merge_threshold' to '-40': (22) Invalid argument"
}

# ceph tell osd.312 injectargs '--filestore_merge_threshold -40'
Parse error setting filestore_merge_threshold to '-40' using injectargs.

Environment

  • Red Hat Ceph Storage 1.3.1
  • ceph-0.94.3-3.el7cp.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.