Red Hat Ceph Storage (RHCS) 5.x
Red Hat Ceph Storage (RHCS) 6.x
Red Hat Ceph Storage (RHCS) 7.x
Ceph: A file created as a non-root user on one host, appears empty when read on another host (0 size, cat returns nothing) (root_squash)
Solution verified - Updated on
Request a new translation or translation update
A translation for your language preference does not exist. Click below to request a translation for your selected language.
Environment
Issue
CephFS: With root_squash client capability enabled, a file created as a non-root user on one host, appears empty when read on another host
(0 size, cat returns nothing)
Steps to reproduce:
$ ssh user@host1 'date > /mnt/ceph1-npx/stress-test/user/XXX'
$ ssh user@host2 'cat /mnt/ceph1-npx/stress-test/user/XXX'
(no output)
Resolution
- The issue is resolved in RHCS 6.1z9 and higher, see artifacts below.
- Once released, this artifacts will be updated with the Errata.
- As a workaround, the
Root Squashfeature can be disabled. - See Section 3.3 of the File System Guide for steps to enable/disable
Root Squash.
Root Cause
This solution is part of Red Hat's fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.