Running LizardFS 3.12 on Centos 7.4 wihout issue using the mfsmount command. This part works.
[root@client ~]# mfsmount /mfs/lizardfs mfsmaster accepted connection with parameters: read-write,restricted_ip ; root mapped to root:root [root@client ~]# ls -lh /mfs/lizardfs/ total 0 [root@client ~]#
I'm following https://docs.lizardfs.com/adminguide/gateways.html for setting up a NFS chunkserver but it fails with the following:
[root@chunkserver1 ganesha]# systemctl start nfs-ganesha Job for nfs-ganesha.service failed because the control process exited with error code. See "systemctl status nfs-ganesha.service" and "journalctl -xe" for details.
[root@chunkserver1 ganesha]# systemctl status nfs-ganesha -l nfs-ganesha.service - NFS-Ganesha file server Loaded: loaded (/usr/lib/systemd/system/nfs-ganesha.service; disabled; vendor preset: disabled) Active: failed (Result: exit-code) since Mon 2018-01-08 19:13:15 CST; 6s ago Docs: http://github.com/nfs-ganesha/nfs-ganesha/wiki Process: 10077 ExecStop=/bin/dbus-send --system --dest=org.ganesha.nfsd --type=method_call /org/ganesha/nfsd/admin org.ganesha.nfsd.admin.shutdown (code=exited, status=0/SUCCESS) Process: 10071 ExecStartPost=/bin/bash -c /usr/bin/sleep 2 && /bin/dbus-send --system --dest=org.ganesha.nfsd --type=method_call /org/ganesha/nfsd/admin org.ganesha.nfsd.admin.init_fds_limit (code=exited, status=0/SUCCESS) Process: 10070 ExecStartPost=/bin/bash -c prlimit --pid $MAINPID --nofile=$NOFILE:$NOFILE (code=exited, status=0/SUCCESS) Process: 10068 ExecStart=/bin/bash -c ${NUMACTL} ${NUMAOPTS} /usr/bin/ganesha.nfsd ${OPTIONS} ${EPOCH} (code=exited, status=0/SUCCESS) Main PID: 10069 (code=exited, status=2)
Jan 08 19:13:13 chunkserver1.local systemd[1]: Starting NFS-Ganesha file server... Jan 08 19:13:13 chunkserver1.local systemd[1]: nfs-ganesha.service: main process exited, code=exited, status=2/INVALIDARGUMENT Jan 08 19:13:15 chunkserver1.local systemd[1]: Failed to start NFS-Ganesha file server. Jan 08 19:13:15 chunkserver1.local systemd[1]: Unit nfs-ganesha.service entered failed state. Jan 08 19:13:15 chunkserver1.local systemd[1]: nfs-ganesha.service failed.
No idea what status=2/INVALIDARGUMENT is about.
Here's /etc/config/ganesha.conf (sorry for the bad copy and paste, line start at first pipe character and ends with pipe character):
EXPORT { # Export Id (mandatory, each EXPORT must have a unique Export_Id) Export_Id = 77;
# Exported path (mandatory) Path = "/mfs/chunk1"; # Pseudo Path (required for NFS v4) Pseudo = "/mfs/chunk1"; # Required for access (default is None) # Could use CLIENT blocks instead Access_Type = RW; Squash = None; Attr_Expiration_Time = 0; # Exporting FSAL FSAL { Name = LizardFS; # The address of the LizardFS Master Server or Floating IP hostname = "192.168.4.131; # The port to connect to on the Master Server port = "9421"; # How often to retry to connect io_retries = 5; cache_expiration_time_ms = 2500; } # Which NFS protocols to provide #Protocols = 3, 4; Protocols = 3;
}
LizardFS { # Is this a NFS metadataserver ? PNFS_MDS = false; # Is this a NFS dataserver and is it installed on an active chunkserver? PNFS_DS = true; }
NFSV4 { Grace_Period = 5;
}
I don't have experience with NFS-Ganesha but trying to setup a NFS v3 server for my network streamer (Mede8er MED600X3D) which doesn't use NFSv4.
Thanks for any pointers.