Obsolete Releases > SME 8.x Contribs
Unable to mount NFS share from a qnap nas
Michail Pappas:
--- Code: ---# mount -t nfs 192.168.178.99:/Public /mnt/Public
mount: wrong fs type, bad option, bad superblock on 192.168.178.99:/Public,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
--- End code ---
Checking dmesg output produces no clues. On the QNAP device, /etc/exports contains the following:
--- Code: ---[~] # exportfs
/share/MD0_DATA/Public
<world>
--- End code ---
I've also tried importing /share/MD0_DATA/Public instead of /Public, but the result is the same. Any ideas what might be going wrong? I just want to backup sme to the qnap box, over NFS.
Michail Pappas:
Replying to my own post, it might be that nfs-utils are missing: https://www.centos.org/modules/newbb/viewtopic.php?topic_id=32801
Could this be the problem? If so, should I only do a yum install nfs-utils, or is some sort of post-configuration needed as well?
The sole purpose of mounting over NFS, is to be able to use the backup to workstation SME facility.
Franco:
Here is a good example you can follow:
http://wiki.contribs.org/Affa#Use_Affa_to_backup_to_a_NFS-mounted_NAS_or_a_local_attached_USB_drive
Best,
Michail Pappas:
Hello Franco,
first, let me say that perhaps this thread should perhaps not be moved into the contribs. SME is supposed to have a base functionality for becoming a NFS client, in order to be able to make backups to an NFS share. This does not work in my case, hence for the poster.
Obviously, others do not encounter such an issue. So, what I am looking here for is some help to be able to just make a backup over NFS to the qnap.
I did encounter references in Centos forums of having to install nfs-utils. And I did install them, albeit with no special SME configuration. This time, trying to mount the NFS share, using the same command as in the original poster just made my mount command halt there. Nothing was output'ed. No mount was done as well.
In Franco's reference, I can see that the following were executed after nfs-utils got installed:
--- Code: ---config setprop portmap status enabled
service portmap start
--- End code ---
Should I do them as well? Is it "safe" for production servers?
nicolatiana:
Hi reqman
Yes, enabling portmap is necessary for both client and server NFS function.
http://wiki.contribs.org/NFS
If you leave Your /etc/exports file empty nothing is shared by your SME over NFS, so security issue is minimal.
Nicola
Navigation
[0] Message Index
[#] Next page
Go to full version