Discussion:
[PVE-User] How to mount Ganesha-NFS via NFS-Plugin in Proxmox?
Naumann, Thomas
2018-08-27 10:30:24 UTC
Permalink
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;
}
}

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
--
Thomas Naumann

Otto-von-Guericke Universität Magdeburg
Universitätsrechenzentrum
Universitätsplatz 2
39106 Magdeburg

fon: +49 391 67-58563
email: ***@ovgu.de
Naumann, Thomas
2018-08-27 11:17:42 UTC
Permalink
detail of "storage.cfg":
nfs: test
path /mnt/pve/ganesha/
server 10.54.2.4
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'
...
--
Thomas Naumann

Otto-von-Guericke Universität Magdeburg
Universitätsrechenzentrum
Universitätsplatz 2
39106 Magdeburg

fon: +49 391 67-58563
Post by Naumann, Thomas
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.
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
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;
}
}
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
--
Thomas Naumann
Otto-von-Guericke Universität Magdeburg
Universitätsrechenzentrum
Universitätsplatz 2
39106 Magdeburg
fon: +49 391 67-58563
_______________________________________________
pve-user mailing list
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
Loading...