DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Server:
-------------------------------------------------
jurka@x-files:~$ sudo service nfs-common restart
[ ok ] Stopping NFS common utilities: idmapd.
[ ok ] Starting NFS common utilities: idmapd.
jurka@x-files:~$ sudo service nfs-kernel-server restart
[ ok ] Stopping NFS kernel daemon: mountd nfsd.
[ ok ] Unexporting directories for NFS kernel daemon....
[ ok ] Exporting directories for NFS kernel daemon....
[ ok ] Starting NFS kernel daemon: nfsd mountd.
Client:
-------------------------------------------------
raivo@zkab ~ $ sudo service nfs-common restart
[ ok ] Stopping NFS common utilities: gssd idmapd statd.
[ ok ] Starting NFS common utilities: statd idmapd gssd.
raivo@zkab ~ $ sudo service autofs restart
[ ok ] Stopping automount....
[ ok ] Starting automount....
raivo@zkab ~ $ ls -ld /nfs/DBMovie/
drwxr-xr-x 8 root root 4096 Feb 15 15:28 /nfs/DBMovie/
raivo@zkab ~ $ cd /nfs/DBMovie/ && ls -la && df -k . && mount
total 48
drwxr-xr-x 8 root root 4096 Feb 15 15:28 .
drwxr-xr-x 8 root root 0 Jun 30 16:12 ..
drwxrwxr-x 4 raivo raivo 4096 Mar 13 2011 Anne
drwxrwxr-x 236 raivo raivo 12288 Jun 11 15:02 CD_Samling
drwxrwxr-x 54 raivo raivo 4096 Jul 8 2013 DownLoad_ToDo
drwxrwxr-x 71 raivo raivo 4096 Jun 29 12:35 Foto_Album
drwx------ 2 root root 16384 Mar 3 2012 lost+found
drwxrwxr-x 4 raivo raivo 4096 Sep 8 2012 Raivo
Filesystem 1K-blocks Used Available Use% Mounted on
x-files:/mnt/DBMovie 480720640 166090496 290210880 37% /nfs/DBMovie
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=1022133,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=819180k,mode=755)
/dev/disk/by-uuid/dec36c7e-4196-4c80-bd63-04669c66c23b on / type ext4 (rw,noatime,nodiratime,errors=remount-ro,data=ordered)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
pstore on /sys/fs/pstore type pstore (rw,relatime)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1638360k)
/dev/sda2 on /home type ext4 (rw,nosuid,nodev,relatime,data=ordered)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
cgroup on /dev/cgroup/cpu type cgroup (rw,relatime,cpu,release_agent=/usr/local/sbin/cgroup_clean)
none on /sys/fs/cgroup type tmpfs (rw,relatime,size=4k,mode=755)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,name=systemd)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
/etc/auto.nfs on /nfs type autofs (rw,relatime,fd=6,pgrp=19311,timeout=300,minproto=5,maxproto=5,indirect)
/etc/auto.cifs on /cifs type autofs (rw,relatime,fd=12,pgrp=19311,timeout=300,minproto=5,maxproto=5,indirect)
x-files:/mnt/DBMovie/DownLoad_ToDo on /nfs/DownLoad_ToDo type nfs (rw,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mo untaddr=192.168.0.2,mountvers=3,mountport=39720,mountproto=udp,local_lock=none,addr=192.168.0.2)
x-files:/mnt/DBMovie/Anne on /nfs/Anne type nfs (rw,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mo untaddr=192.168.0.2,mountvers=3,mountport=39720,mountproto=udp,local_lock=none,addr=192.168.0.2)
x-files:/mnt/DBMovie/Raivo on /nfs/Raivo type nfs (rw,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mo untaddr=192.168.0.2,mountvers=3,mountport=39720,mountproto=udp,local_lock=none,addr=192.168.0.2)
x-files:/mnt/DBMovie on /nfs/DBMovie type nfs (rw,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mo untaddr=192.168.0.2,mountvers=3,mountport=39720,mountproto=udp,local_lock=none,addr=192.168.0.2)
x-files:/mnt/DBMovie/Foto_Album on /nfs/Foto_Album type nfs (rw,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mo untaddr=192.168.0.2,mountvers=3,mountport=39720,mountproto=udp,local_lock=none,addr=192.168.0.2)
x-files:/mnt/DBMovie/CD_Samling on /nfs/CD_Samling type nfs (rw,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mo untaddr=192.168.0.2,mountvers=3,mountport=39720,mountproto=udp,local_lock=none,addr=192.168.0.2)
raivo@zkab /nfs/DBMovie $
What's funny about this is the many mounts - most of them wrong.
Quote:
x-files:/mnt/DBMovie/DownLoad_ToDo on /nfs/DownLoad_ToDo type nfs (rw,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mo untaddr=192.168.0.2,mountvers=3,mountport=39720,mountproto=udp,local_lock=none,addr=192.168.0.2)
x-files:/mnt/DBMovie/Anne on /nfs/Anne type nfs (rw,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mo untaddr=192.168.0.2,mountvers=3,mountport=39720,mountproto=udp,local_lock=none,addr=192.168.0.2)
x-files:/mnt/DBMovie/Raivo on /nfs/Raivo type nfs (rw,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mo untaddr=192.168.0.2,mountvers=3,mountport=39720,mountproto=udp,local_lock=none,addr=192.168.0.2) x-files:/mnt/DBMovie on /nfs/DBMovie type nfs (rw,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mo untaddr=192.168.0.2,mountvers=3,mountport=39720,mountproto=udp,local_lock=none,addr=192.168.0.2)
x-files:/mnt/DBMovie/Foto_Album on /nfs/Foto_Album type nfs (rw,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mo untaddr=192.168.0.2,mountvers=3,mountport=39720,mountproto=udp,local_lock=none,addr=192.168.0.2)
x-files:/mnt/DBMovie/CD_Samling on /nfs/CD_Samling type nfs (rw,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mo untaddr=192.168.0.2,mountvers=3,mountport=39720,mountproto=udp,local_lock=none,addr=192.168.0.2)
The section you marked seems to be the right mount but the rest like xfiles:/mnt/(Anne CD_Samling DownLoad_ToDo Foto_Album Raivo) ... seems to be wrong
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.