[Eisfair] E1: nfsserver mount funktioniert nicht mehr

Jürgen Witt j-witt at web.de
So Mai 3 08:38:51 CEST 2015


Hallo NG,

folgende Konfiguration:

base: 2.6.1, eiskernel: 2.10.0, nfsserver: 1.4.1

NFS-Server-Konfiguration

START_NFSSERVER              =  yes
NFSSERVER_SUPPORT_NFS3       =  yes
NFSSERVER_SUPPORT_NFS4       =  yes
NFSSERVER_SHARE_N            =  1
NFSSERVER_SHARE_1_ACTIVE   =  yes
NFSSERVER_SHARE_1_PATH     =  /mnt/data
NFSSERVER_SHARE_1_NAME     =
NFSSERVER_SHARE_1_HOSTS_N  =  1
NFSSERVER_SHARE_1_HOSTS_1=  192.168.150.200
HOST
NFSSERVER_SHARE_1_HOSTS_1=  no
RW
NFSSERVER_SHARE_1_HOSTS_1=
ANONUSER
NFSSERVER_SHARE_1_HOSTS_1=
ANONGROUP
NFSSERVER_SHARE_1_HOSTS_1=  no
ROOT_SQUASH
NFSSERVER_SHARE_1_HOSTS_1=  no
ALL_SQUASH
NFSSERVER_SHARE_1_HOSTS_1=  secure
OPTION

NFS server shares

/mnt/data
192.168.150.200(ro,wdelay,no_root_squash,sec=sys,ro,no_root_squash,no_all_squash)

NFS server mounts

All mount points on eis:


eis # cat /etc/fstab
/dev/md3 / ext4 defaults,errors=remount-ro 0 1
/dev/md1 /boot ext4 defaults,errors=remount-ro 0 1
/dev/md2 none swap sw 0 0
/dev/md4 /data ext4 defaults 0 2
proc        /proc          proc      defaults                 0 0
/dev/fd0    /media/floppy         auto      defaults,user,noauto     0 0
/dev/cdrom  /media/cdrom          iso9660   defaults,ro,user,noauto  0 0
devpts      /dev/pts       devpts    defaults                 0 0
usbfs       /proc/bus/usb  usbfs     defaults                 0 0
/sys        /sys           sysfs     defaults                 0 0
/dev/sdc4 /mnt ext4 defaults 0 0
192.168.150.200:/mnt/data /backup nfs ro,user,auto 0 0
/dev/sdd1 /media/usb/sdd1 ext3 defaults,noauto 0 0
tmpfs       /dev/shm       tmpfs     rw,nosuid,nodev          0 0


eis # cat /etc/init.d/local
#! /bin/sh
case $1
in
    start)
        mount -a
        /etc/init.d/pure-ftpd stop
        ;;

    stop)
        ;;
esac


eis # mount -a
mount: wrong fs type, bad option, bad superblock on
192.168.150.200:/mnt/data,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount.<type> helper program)
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

eis # ls -la /mnt
total 32
drwxr-xr-x  5 root root  4096 Jun 19  2014 .
drwxr-xr-x 26 root root  4096 May  3 07:45 ..
drwxr-xr-x  5 root root  4096 Jun 19  2014 backup-zip
drwxr-xr-x  7 root root  4096 May  2 22:03 data
drwx------  2 root root 16384 Jun 13  2014 lost+found

eis # ls -la /mnt/data
total 28
drwxr-xr-x  7 root root 4096 May  2 22:03 .
drwxr-xr-x  5 root root 4096 Jun 19  2014 ..
drwxr-xr-x  8 root root 4096 May  2 22:03 daily
drwxr-xr-x  3 root root 4096 May  2 22:02 hourly
-rw-r--r--  1 root root    0 May  2 22:03 lastrun.time
drwxr-xr-x 13 root root 4096 May  1 22:01 monthly
drwxr-xr-x  6 root root 4096 Apr 26 22:03 weekly
drwxr-xr-x  3 root root 4096 Jan  1 22:02 yearly

eis # ls -la /backup
total 8
drwxr-xr-x  2 root root 4096 Jun 12  2014 .
drwxr-xr-x 26 root root 4096 May  3 07:45 ..

Eigentlich sollte es hier ja so aussehen:

eis2 # ls -la /backup
total 28
drwxr-xr-x  7 root root 4096 May  3 06:24 .
drwxr-xr-x 27 root root 4096 Apr 20 09:17 ..
drwxr-xr-x  8 root root 4096 May  3 06:16 daily
drwxr-xr-x  3 root root 4096 May  3 06:16 hourly
-rw-r--r--  1 root root    0 May  3 06:24 lastrun.time
drwxr-xr-x 10 root root 4096 May  1 06:24 monthly
drwxr-xr-x  6 root root 4096 May  3 06:24 weekly
drwxr-xr-x  3 root root 4096 Jan  1 06:15 yearly

Hat jemand eine Idee, weshalb das plötzlich nicht mehr klappt?
Welche Informationen braucht Ihr noch von mir?

Gruß
Jürgen






Mehr Informationen über die Mailingliste Eisfair