apnar / docker-image-nfs-ganesha Goto Github PK
View Code? Open in Web Editor NEWThis project forked from mitcdh/docker-nfs-ganesha
Uses NFS Ganesha to support serving NFS (v3, 4.0, 4.1, 4.1 pNFS, 4.2) and 9P from a user mode Docker Container
This project forked from mitcdh/docker-nfs-ganesha
Uses NFS Ganesha to support serving NFS (v3, 4.0, 4.1, 4.1 pNFS, 4.2) and 9P from a user mode Docker Container
docker run -d \
--name nfstest \
-v /share/folder:/export -p 2049:2049 -p 2049:2049/udp -p 111:111 -p 111:111/udp -p 32765:32765 -p 32765:32765/udp -p 32767:32767 -p 32767:32767/udp\
apnar/nfs-ganesha \
I can see open ports, can mount, but cannot see shared storage. The storage is empty on the mount, and the filesystem is RO.
If i bash into the container, i can see the data available on /export - seems to be some config problem?
Hi,
I have deployed this image with the default configuration and successfully mounted the volume.
`cat /etc/ganesha/ganesha.conf
EXPORT
{
# Export Id (mandatory, each EXPORT must have a unique Export_Id)
Export_Id = 77;
# Exported path (mandatory)
Path = /export;
# Pseudo Path (for NFS v4)
Pseudo = /;
# Access control options
Access_Type = RW;
Squash = No_Root_Squash;
Root_Access = "*";
Access = "*";
# NFS protocol options
Transports = "UDP,TCP";
Protocols = "3,4";
SecType = "sys";
# Exporting FSAL
FSAL {
Name = VFS;
}
}`
mount command: mount -t nfs -o proto=tcp,port=2049 *************.elb.amazonaws.com:/ /mnt/f/
The mount type was nfs4
Tried to mount with vers=3 command without any success.
Then, redeployed the nfs-server with the following config:
env: - name: GANESHA_TRANSPORTS value: "TCP" - name: GANESHA_NFS_PROTOCOLS value: "3"
Didn't help
Tried to change the mount command with adding "/export" also didn't help
How can I mount type nfs3?
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.