]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: in cephadm shell mount /var/lib/ceph under /srv 68756/head
authorJohn Mulligan <jmulligan@redhat.com>
Tue, 5 May 2026 17:47:44 +0000 (13:47 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 28 May 2026 18:21:59 +0000 (14:21 -0400)
commitabaaefd5d9c84f06a4ea3406800886c7974e0324
treee3168e4ff682cdb11013a7099906dc737d019ee7
parent01e4293a17f7c65ff1139c7f32f759692b4bc298
cephadm: in cephadm shell mount /var/lib/ceph under /srv

When running cephadm shell mount /var/lib/ceph at /srv/ceph unless
/var/lib/ceph is already being passed to cephadm shell -v option.
The default mount is read only. Passing it manually allows the user
to mount it in a custom location read/write.

The mount location at /srv/ceph is chosen because /var/lib/ceph is
already in use for compatibility with various ceph. The /srv tree
is currently unused by the container and serves a similar purpose
to /var/lib if you turn your head in squint a little.

Making this change enables the use of tools that want to read
files or connect to sockets in that file heirarchy. Specifically,
in this case, the ceph smb ctl tool.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/cephadm/cephadm.py