I am running into some issues mounting a Cephfs on a VM using FStab.
i have another Vm with the same config that works just fine, but the 2nd VM mounting the same FS has issues mounting with fstab.
i made sure i followed the pre-requisites for mounting a cephfs, i authorized the user (wing1), and copied the ceph config to the vm.
i can manually mount it using mount -t ceph BLAH, and it works just fine.
when trying to mount using FStab it fails to mount on the 2nd VM and gives me an error:
![1721421091251.png 1721421091251.png](https://forum.proxmox.com/data/attachments/71/71261-8e30ed8bcb8602393f2afd415e114c3f.jpg)
Here are the steps i took to mount the cephfs:
# on client host
mkdir -p -m 755 /etc/ceph
ssh root@x.x.x.x "sudo ceph config generate-minimal-conf" | sudo tee /etc/ceph/ceph.conf
chmod 644 /etc/ceph/ceph.conf
ssh root@x.x.x.x "sudo ceph fs authorize games-cephfs client.wing1 / rw" | sudo tee /etc/ceph/ceph.client.wing1.keyring
chmod 600 /etc/ceph/ceph.client.wing1.keyring
# Persistent Mounts
wing1@.games-cephfs=/ /mnt/cephfs ceph mon_addr=x.x.x.x:6789,noatime,_netdev 0 0
Please let me know if you have any insights into this issue. Thanks.
i have another Vm with the same config that works just fine, but the 2nd VM mounting the same FS has issues mounting with fstab.
i made sure i followed the pre-requisites for mounting a cephfs, i authorized the user (wing1), and copied the ceph config to the vm.
i can manually mount it using mount -t ceph BLAH, and it works just fine.
when trying to mount using FStab it fails to mount on the 2nd VM and gives me an error:
![1721421091251.png 1721421091251.png](https://forum.proxmox.com/data/attachments/71/71261-8e30ed8bcb8602393f2afd415e114c3f.jpg)
Here are the steps i took to mount the cephfs:
# on client host
mkdir -p -m 755 /etc/ceph
ssh root@x.x.x.x "sudo ceph config generate-minimal-conf" | sudo tee /etc/ceph/ceph.conf
chmod 644 /etc/ceph/ceph.conf
ssh root@x.x.x.x "sudo ceph fs authorize games-cephfs client.wing1 / rw" | sudo tee /etc/ceph/ceph.client.wing1.keyring
chmod 600 /etc/ceph/ceph.client.wing1.keyring
# Persistent Mounts
wing1@.games-cephfs=/ /mnt/cephfs ceph mon_addr=x.x.x.x:6789,noatime,_netdev 0 0
Please let me know if you have any insights into this issue. Thanks.