Answer the question
In order to leave comments, you need to log in
How to mount nfs folder from Debian on CentOS if it says “mount.nfs: No such device”?
There are two servers: CentOS 6.7 and Debian 8.2. Between them in both directions I'm trying to make shared folders via NFS. The folder on CentOS (10.129.1.2) mounted nicely on Debian (10.129.1.3). But it doesn’t work in the opposite direction - share the Debian folder and mount it on CentOS.
Created a folder, added it to /etc/exports:
/var/nfstest 10.129.3.2(rw,sync,no_subtree_check)
# showmount -e 10.129.1.3
Export list for 10.129.1.3:
/var/nfstest 10.129.3.2
mount: fstab path: "/etc/fstab"
mount: mtab path: "/etc/mtab"
mount: lock path: "/etc/mtab~"
mount: temp path: "/etc/mtab.tmp"
mount: UID: 0
mount: eUID: 0
mount: no type was given - I'll assume nfs because of the colon
mount: spec: "10.129.1.3:/var/nfstest"
mount: node: "/mnt/nfs/nfstest/"
mount: types: "nfs"
mount: opts: "(null)"
final mount options: '(null)'
mount: external mount: argv[0] = "/sbin/mount.nfs"
mount: external mount: argv[1] = "10.129.1.3:/var/nfstest"
mount: external mount: argv[2] = "/mnt/nfs/nfstest/"
mount: external mount: argv[3] = "-v"
mount: external mount: argv[4] = "-o"
mount: external mount: argv[5] = "rw"
mount.nfs: timeout set for Sun Apr 10 06:58:43 2016
mount.nfs: trying text-based options 'vers=4,addr=10.129.1.3,clientaddr=10.129.3.2'
mount.nfs: mount(2): No such device
mount.nfs: No such device
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question