[SOLVED] cephfs storage subdir not working

CodeBreaker

Active Member
Aug 6, 2019
17
2
43
31
I want to add cephfs storage to proxmox in /proxmox sub-directory. According to the docs, adding subdir to config would mount cephfs subdirectory. The configuration bellow does not alter mount point and still points to the root of the cephfs path. Any ideas as to what seems to be the problem?

Code:
PVE: 7.0-10
CEPH: 16.2.4

Code:
cephfs: cephfs
    path /mnt/pve/cephfs
    content iso,backup,snippets,vztmpl
    nodes pve03,pve02,pve01
    subdir /proxmox
 
@dcsapak I did not. I've disabled then enabled cephfs storage on datacenter->storage page. I assumed that when doing that the storage gets unmounted. My mistake. Thank you!
 
Last edited:
that is not enough. disabling the storage does not unmount it. either reboot the server, or unmount it manually (be careful that nothing is using it), then it gets remounted with the correct parameters.
 
  • Like
Reactions: CodeBreaker
I've disabled storage, manually unmount storage on all the nodes, then enabled the cephfs storage back and then it worked.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!