i have synology nas , created nfs share. using official tutoral https://www.synology.com/de-de/knowledgebase/dsm/tutorial/file_sharing/how_to_access_files_on_synology_nas_within_the_local_network_nfs
but cannot mount nfs share on arm based ubuntu.
root@lubuntu:~# mount 192.168.1.100:/volume1/mediacenter /mnt/mediacenter mount.nfs: no such device
i tried following https://wiki.archlinux.org/index.php/nfs/troubleshooting#client-side_issues
lsmod | grep nfs
output empty
root@lubuntu:~# modprobe nfs modprobe: error: ../libkmod/libkmod.c:556 kmod_search_moddep() not open moddep file '/lib/modules/3.10.0/modules.dep.bin'
can me please?
i have had simlar problem before, solution found mount share @ boot. done within fstab on ubuntu. however, best way install 'cifs' (common internet file system), allows mount samba shares, , other network file systems.
you can install cifs using apt-get
sudo apt-get install cifs-utils
then once installed must edit '/etc/fstab' , add line bottom of file:
//ip_of_share/share_name /mount/location cifs defaults 0 0
this allow share mounted. if required log in share can this:
//ip_of_share/share_name /mount_location cifs credentials=/location,defaults 0 0
if required log share, must add credentials file. can using creating new file using nano or favorite editor:
sudo nano /location/of/credentials
once created, username , password nodes must added:
username=username_of_share_user password=password_of_share_user
to make file credentials file secure possible can use chmod close files access down make read only:
sudo chmod 400 /location/of/credentials
if share mounted under specific user , group, can use:
//ip_of_share/share_name /mount_location cifs credentials=/location,uid=user_id,gid=group_id,defaults 0 0
then finally, can either restart, or do:
sudo mount /mount/location
i hope helps.
Comments
Post a Comment