Using Proxmox as storage server using NFS

nitaish

Well-Known Member
Feb 1, 2014
53
4
48
Mumbai
www.techknowlogy.in
I have setup a test 3-nodes cluster of Proxmox with Ceph storage. I have setup CephFS which I want to mount as NFS so that I can use it as storage server. Can anyone guide me on how to do this?
 
You can mount CephFS as a regular unix directory mount and then export that via NFS. However, CephFS already supports network mounts, so why even use NFS at all?

E.g. you can do the following with any remote server (you only need ceph-common, no server or cluster packages/config necessary):

Code:
# ceph1 = PVE Ceph server and CephFS MDS
# client1 = External client (in the same network)

client1# ssh root@ceph1 'ceph-authtool -p /etc/ceph/ceph.client.admin.keyring' > /somewhere/ceph.key
client1# chmod 0600 /somewhere/ceph.key
client1# mount -t ceph ceph1:6789:/ /mnt -o name=admin,secretfile=/somewhere/ceph.key

Note however, that using Ceph outside of what is included in PVE is not supported by us.
 

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!