[pve-devel] How to mount Ganesha-NFS via NFS-Plugin in Proxmox?

Thomas Naumann tom at chajuti.de
Tue Aug 28 03:59:13 CEST 2018


Hi,

for backup testing purposes we run a ceph-cluster with radosgw (S3) and
nfs-ganesha to export s3 via nfs. cluster is running on ubuntu 16.04.
package details:
nfs-ganesha                      2.6.2-0-gb9685b8-xenial
nfs-ganesha-rgw:amd64            2.6.2-0-gb9685b8-1xenial
radosgw                          12.2.7-1xenial
ceph                             12.2.7-1xenial

detail of "ganesha.conf":
EXPORT
{
     Export_ID=100;
     Path = "/";
     Pseudo = /;
     Access_Type = RW;
     NFS_Protocols = 3,4;
     Transport_Protocols = UDP,TCP;
     Sectype = sys;
     Squash = No_Root_Squash;

     FSAL {
         Name = RGW;
         User_Id = "test";
         Access_Key_Id ="test";
         Secret_Access_Key = "test";
     }
}

RGW {
         ceph_conf = "/etc/ceph/ceph.conf";
         name = "client.rgw.blackhole-eh";
         cluster = "ceph";
}

LOG {
         Facility {
                 name = FILE;
                 destination = "/var/log/ganesha/ganesha.log";
                 enable = active;
         }
}

detail of "storage.cfg":
nfs: test
	path /mnt/pve/ganesha/
	server x.x.x.x
	export /
	options vers=3,soft
	content backup
	maxfiles 10

result in "journalctl":
...
Aug 27 13:14:34 tr-25-3 pmxcfs[15192]: [status] notice: received log
Aug 27 13:14:48 tr-25-3 pvestatd[15777]: file /etc/pve/storage.cfg line 
79 (section 'test') - unable to parse value of 'export': invalid format 
- value does not look like a valid absolute path
Aug 27 13:14:48 tr-25-3 pvestatd[15777]: file /etc/pve/storage.cfg line 
82 (skip section 'test'): missing value for required option 'export'
...

mounts via cli (mount -t nfs -o nfsvers=4.1,noauto,soft,sync,proto=tcp
x.x.x.x:/ /mnt/ganesha/) are working without issues - thats fine.

but how to mount this nfs-ressource via proxmox-nfs-plugin?

"pvesm nfsscan x.x.x.x" ends without an result.


best regards
tom



More information about the pve-devel mailing list