Dit is een vervolg van NFS mount MAC --> Linux Geplaatst op woensdag 20 januari 2010 13:49.
Ik heb mij laptop nieuw geïnstalleerd met Ubuntu 10.04 voor mijn dochter en nu kan ik onmogelijk een NFS mount krijgen met de server.
Even de bestanden:
/etc/exports# See exports(5) for a description.
# This file contains a list of all directories exported to other computers.
# It is used by rpc.nfsd and rpc.mountd.
/home/jeannette 192.168.0.0/255.255.0.0(rw,no_subtree_check)
/home/marcel 192.168.0.0/255.255.0.0(rw,insecure,no_subtree_check)
/home/eline 192.168.0.0/255.255.0.0(rw,insecure,no_subtree_check)
/media/muziek/mp3 192.168.0.0/255.255.0.0(rw,no_subtree_check)
/home/partimag 192.168.0.0/255.255.0.0(rw,no_subtree_check)
/home/arnout 192.168.0.0/255.255.0.0(rw,insecure,no_subtree_check)
/etc/hosts.allow
#
# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided by
# the '/usr/sbin/tcpd' server.
#
# Version: @(#)/etc/hosts.allow 1.00 05/28/93
#
# Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org
#
#
portmap: 192.168.0.0/255.255.0.0
lockd:ALL
mountd:ALL
rquotad:ALL
statd:ALL
# End of hosts.allow.
/etc/hosts.deny
#
# hosts.deny This file describes the names of the hosts which are
# *not* allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
# Version: @(#)/etc/hosts.deny 1.00 05/28/93
#
# Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org
#
#
# End of hosts.deny.
ls -l /home
root@vlinder:/var/log# ls -l /home
total 24
drwxrwxr-x 8 arnout users 4096 2010-01-20 14:25 arnout/
drwxrwxr-x 3 eline users 4096 2010-01-20 14:05 eline/
drwxr-xr-x 2 root root 4096 2009-06-06 22:37 ftp/
drwxrwxr-x 31 jeannette users 4096 2010-01-16 23:24 jeannette/
drwxrwxr-x 49 marcel users 4096 2009-12-29 15:20 marcel/
drwxrwxrwx 5 root root 4096 2009-11-30 10:52 partimag/
root@vlinder:/var/log# ls -l /home
total 24
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda5 during installation
UUID=b5722c4d-a335-418f-a2a2-34b890130db8 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=f7465c68-efad-4f6e-8d3c-b4877814f81b none swap sw 0 0
vlinder:/home/eline /home/eline/vlinder nfs rw,rsize=4096,wsize=4096,hard,intr,async,nodev,nosuid 0 0
Op de server:
id eline:
uid=1003(eline) gid=100(users) groups=100(users)
Op de laptop:
id eline:
uid=1003(eline) gid=100(users) groepen=100(users),4(adm),20(dialout),24(cdrom),29(audio),44(video),46(plugdev),104(fuse),105(lpadmin),112(netdev),119(admin),122(sambashare)
Als de laptop opstart begint hij al te mekkeren dat de mount niet gevonden wordt. Handmatig zegt hij dat vlinder niet gevonden kan worden. Maar vlinder staat in /etc/hosts en kan gewoon gepingd worden.
Ik heb mij laptop nieuw geïnstalleerd met Ubuntu 10.04 voor mijn dochter en nu kan ik onmogelijk een NFS mount krijgen met de server.
Even de bestanden:
/etc/exports# See exports(5) for a description.
# This file contains a list of all directories exported to other computers.
# It is used by rpc.nfsd and rpc.mountd.
/home/jeannette 192.168.0.0/255.255.0.0(rw,no_subtree_check)
/home/marcel 192.168.0.0/255.255.0.0(rw,insecure,no_subtree_check)
/home/eline 192.168.0.0/255.255.0.0(rw,insecure,no_subtree_check)
/media/muziek/mp3 192.168.0.0/255.255.0.0(rw,no_subtree_check)
/home/partimag 192.168.0.0/255.255.0.0(rw,no_subtree_check)
/home/arnout 192.168.0.0/255.255.0.0(rw,insecure,no_subtree_check)
/etc/hosts.allow
#
# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided by
# the '/usr/sbin/tcpd' server.
#
# Version: @(#)/etc/hosts.allow 1.00 05/28/93
#
# Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org
#
#
portmap: 192.168.0.0/255.255.0.0
lockd:ALL
mountd:ALL
rquotad:ALL
statd:ALL
# End of hosts.allow.
/etc/hosts.deny
#
# hosts.deny This file describes the names of the hosts which are
# *not* allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
# Version: @(#)/etc/hosts.deny 1.00 05/28/93
#
# Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org
#
#
# End of hosts.deny.
ls -l /home
root@vlinder:/var/log# ls -l /home
total 24
drwxrwxr-x 8 arnout users 4096 2010-01-20 14:25 arnout/
drwxrwxr-x 3 eline users 4096 2010-01-20 14:05 eline/
drwxr-xr-x 2 root root 4096 2009-06-06 22:37 ftp/
drwxrwxr-x 31 jeannette users 4096 2010-01-16 23:24 jeannette/
drwxrwxr-x 49 marcel users 4096 2009-12-29 15:20 marcel/
drwxrwxrwx 5 root root 4096 2009-11-30 10:52 partimag/
root@vlinder:/var/log# ls -l /home
total 24
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda5 during installation
UUID=b5722c4d-a335-418f-a2a2-34b890130db8 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=f7465c68-efad-4f6e-8d3c-b4877814f81b none swap sw 0 0
vlinder:/home/eline /home/eline/vlinder nfs rw,rsize=4096,wsize=4096,hard,intr,async,nodev,nosuid 0 0
Op de server:
id eline:
uid=1003(eline) gid=100(users) groups=100(users)
Op de laptop:
id eline:
uid=1003(eline) gid=100(users) groepen=100(users),4(adm),20(dialout),24(cdrom),29(audio),44(video),46(plugdev),104(fuse),105(lpadmin),112(netdev),119(admin),122(sambashare)
Als de laptop opstart begint hij al te mekkeren dat de mount niet gevonden wordt. Handmatig zegt hij dat vlinder niet gevonden kan worden. Maar vlinder staat in /etc/hosts en kan gewoon gepingd worden.
[ Voor 4% gewijzigd door MacLinux op 08-07-2010 11:21 ]