cephadm: How to set access_type to NONE for nfs export?

Solution Unverified - Updated -

Issue

  • While updating nfs export's access_type to NONE, getting Error EINVAL: XXX is invalid, valid access type are['RW', 'RO'].
  • While modifying the nfs export, getting the below error:
# ceph nfs export update -i nfs-export-config.json
Error EINVAL: NONE is invalid, valid access type are['RW', 'RO']
# grep access_type nfs-export-config.json
  "access_type": "NONE",
  • How to set nfs export's access_type to NONE for nfs export?

Environment

  • Red Hat Ceph Storage 5.x.
  • nfs-ganesha
  • cephfs
  • cephadm

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content