Add cephfs storage

Nov 18, 2020
37
2
28
42
Hello
we have 6 node proxmox 7.1-10, with local CEPH for the storage.
i've add in past (on 6.4 before upgrade to 7.x) an external CEPH storage (cephfs) for backup.
now on my external CEPH storage i've add a new pool, and i want to replace my old backup setting with the new pool.
i've try to add the new CEPHFS storage on my proxmox but doesn't work.
if i see the log it's seem to try to login locally on my local CEPH and not to the external cheph.

so how many cephfs external storage i can add?
how i can specify a cephfs path to backup?
on my CEPHFS i've a folder called backup-vm, where only proxmox user can access.
with previus version from the gui i cannot specify the folder and i point to / but i want to clear the config.

i can also edit the file:
/etc/pve/storage.cfg

actual
Code:
dir: local
        path /var/lib/vz
        content iso,vztmpl,backup

nfs: NFS-ISO
        export /mnt/PROXMOX-ISO/NFS
        path /mnt/pve/NFS-ISO
        server 10.0.0.143
        content backup,images,vztmpl,iso
        prune-backups keep-last=1

cephfs: vm-backup
        path /mnt/pve/vm-backup
        content backup
        monhost 10.10.251.7 10.10.251.9 10.10.251.1 10.10.251.2 10.10.252.3
        prune-backups keep-last=2
        username proxmox

rbd: CEPH_Local
        content images,rootdir
        krbd 1
        pool device_health_metrics

i can modify to:
Code:
dir: local
        path /var/lib/vz
        content iso,vztmpl,backup

nfs: NFS-ISO
        export /mnt/PROXMOX-ISO/NFS
        path /mnt/pve/NFS-ISO
        server 10.0.0.143
        content backup,images,vztmpl,iso
        prune-backups keep-last=1

cephfs: vm-backup
        path /mnt/pve/vm-backup
        content backup
        monhost 10.10.251.7 10.10.251.9 10.10.251.1 10.10.251.2 10.10.252.3
        prune-backups keep-last=2
        username proxmox

cephfs: backup-vm
        path /mnt/pve/backup-vm
        content backup
        monhost 10.10.251.7 10.10.251.9 10.10.251.1 10.10.251.2 10.10.252.3
        prune-backups keep-last=2
        username proxmox
        subdir vm-backup
        
rbd: CEPH_Local
        content images,rootdir
        krbd 1
        pool device_health_metrics

this should wotk?
 
My guess would be be that you did not add the /etc/pve/priv/ceph/<STORAGE_ID>.secret file for the NEW storage. See Storage:CephFS

Also, I notice you have configured the CEPH internal health metrics module pool as image storage in PVE. That is a really bad idea for several reasons, but it will disappear when Ceph Quincy is released!
 
Please post logs as text within [CODE][/CODE] tags (like your original post) instead of graphics.

In any case, it would appear that the remote MONs are not referring the MDS server (for the subdir). Other than that, I can't tell anything.
 
sorry for the late.
if i try to mount the same folder on a ubuntu 20.0.4 with the same credential works.
only on proxmox i've this issues.
i already have a cephfs connetec to the same CEPH, and works,
when i try to connect this new "folder" i get that error.

if i reboot the node the actual CEPHFS was mounted with'out issues.

on the new version there are the FS name
here i put the folder is this the right place? or what i need to write here?
 

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!