[gelöst]NFS Server Problem mit G4.1

  • Hallo,


    ich habe eine 600 und eine 7025 mit Gemini 4.1. Nun wollte ich nach dem flashen der 7025 auf 4.1 wieder den NFS Server zum laufen bringen, damit ich von der 600 auf die HD der 7025 zugreifen kann (vielemal mit anderen Images schon erfolgreich gemacht). Dies geht aber aus irgendeinem Grund nicht. Ich poste euch hier mal meine Einstellungen, vielleicht kann mir ja jemand helfen.



    root@dm7025:/# ps
    PID Uid VmSize Stat Command
    1 root 676 S init [3]
    2 root SWN [ksoftirqd/0]
    3 root SW< [events/0]
    4 root SW< [khelper]
    5 root SW< [kthread]
    6 root SW< [kblockd/0]
    9 root SW [khubd]
    46 root SW [pdflush]
    47 root SW [pdflush]
    49 root SW< [aio/0]
    48 root SW [kswapd0]
    631 root SW [kseriod]
    656 root SW [mtdblockd]
    681 root SWN [jffs2_gcd_mtd3]
    682 root SW< [loop0]
    778 root SW [cifsoplockd]
    797 root SW [kjournald]
    814 root SW [kjournald]
    869 root SW< [ci]
    987 root 2400 S smbd -D
    989 root 2368 S smbd -D
    990 root 1808 S nmbd -D
    1054 root 588 S /usr/sbin/zeroconf -i eth0
    1100 root 788 S /usr/sbin/dropbear -r /etc/dropbear/dropbear_rsa_host_key -p 22
    1120 messageb 1240 S /usr/bin/dbus-daemon --system
    1130 root 732 S /usr/sbin/inetd
    1285 root 900 S /usr/sbin/automount --pid-file=/var/run/autofs/_autofs.pid --timeout=10 --ghost /autofs file /etc/auto.hotplug
    1381 avahi 1680 S avahi-daemon: running [dm7025.local]
    1457 daemon 548 S /usr/sbin/portmap
    1815 root 580 S telnetd
    1816 root 992 S -sh
    5939 root SW [nfsd]
    5940 root SW [nfsd]
    5941 root SW [nfsd]
    5943 root SW [lockd]
    5944 root SW< [rpciod/0]
    5947 root 868 S /usr/sbin/mountd
    6764 root 728 S /bin/sh /usr/bin/enigma2.sh
    6818 root 580 S /usr/bin/gdaemon
    6836 root 32548 S /usr/bin/enigma2
    6843 root 32548 S /usr/bin/enigma2
    6870 root 32548 S /usr/bin/enigma2
    6873 root 32548 S N /usr/bin/enigma2
    6853 root 2296 S /usr/bin/CCcam_2.0.11
    6854 root 2296 S /usr/bin/CCcam_2.0.11
    6855 root 2296 S /usr/bin/CCcam_2.0.11
    6856 root 2296 S /usr/bin/CCcam_2.0.11
    6857 root 2296 S /usr/bin/CCcam_2.0.11
    6858 root 2296 S /usr/bin/CCcam_2.0.11
    6859 root 2296 S /usr/bin/CCcam_2.0.11
    6860 root 2296 S /usr/bin/CCcam_2.0.11
    6861 root 2296 S /usr/bin/CCcam_2.0.11
    6862 root 2296 S /usr/bin/CCcam_2.0.11
    6863 root 2296 S /usr/bin/CCcam_2.0.11
    6864 root 2296 S /usr/bin/CCcam_2.0.11
    6865 root 2296 S /usr/bin/CCcam_2.0.11
    6866 root 2296 S /usr/bin/CCcam_2.0.11
    6899 root 2296 S /usr/bin/CCcam_2.0.11
    11311 root SW [kdvb-fe-0]
    19851 root 580 S telnetd
    19852 root 992 S -sh
    19857 nobody 1420 S vsftpd
    19860 root 1528 S vsftpd
    19986 root 580 S telnetd
    19987 root 992 S -sh
    19995 root 856 R ps
    root@dm7025:/#
    -------------------------------------------------------------------------------
    root@dm7025:/# exportfs
    /media/hdd2/movie
    192.168.0.0/255.255.0.0
    /media/hdd 192.168.0.0/255.255.0.0
    root@dm7025:/#
    -------------------------------------------------------------------------------


    nfs_server_script.sh der 7025:


    #!/bin/sh
    #


    set -e


    # Read config
    NFSSERVER_ON=1
    NFS_CL_IP=192.168.0.0
    NFSNETMASKE=255.255.0.0
    DIRECTORY0=/hdd
    DIRECTORY1=/media/hdd2/movie
    MOUNTD_PORT_ON=1
    MOUNTD_PORT=2049
    OPTIONS=rw,no_root_squash,async
    # end
    -------------------------------------------------------------------------------------
    automount.conf der 600:


    1_Filme_1 -fstype=nfs,ro,soft,tcp,nolock,rsize=8192,wsize=8192 192.168.131.55:/media/hdd/movie
    2_Filme_2 -fstype=nfs,ro,soft,udp,nolock,rsize=8192,wsize=8192 192.168.131.55:/media/hdd2/movie


    ---------------------------------------------------------------------------------------


    vorab schon mal vielen Dank für euere Hilfe

  • hmm und warum schaltest du denn nicht einfach im bluepanel ein ?

  • Hallo,


    hier das Ergebnis


    root@dm7025:/# exportfs -v
    /media/hdd2/movie
    192.168.0.0/255.255.0.0(rw,async,wdelay,no_root_squash)
    /media/hdd 192.168.0.0/255.255.0.0(rw,async,wdelay,no_root_squash)
    root@dm7025:/#

  • Zitat

    1_Filme_1 -fstype=nfs,ro,soft,tcp,nolock,rsize=8192,wsize=8192 192.168.131.55:/media/hdd/movie
    2_Filme_2 -fstype=nfs,ro,soft,udp,nolock,rsize=8192,wsize=8192 192.168.131.55:/media/hdd2/movie


    Zitat


    /media/hdd2/movie 192.168.0.0/255.255.0.0(rw,async,wdelay,no_root_squash)
    /media/hdd
    192.168.0.0/255.255.0.0(rw,async,wdelay,no_root_squash)


    1.
    denke ich mal das du in keinem b subnet bist (255.255.0.0), sondern in einem c subnet (255.255.255.0)


    2.
    du hast und dann noch /media/hdd freigegeben, deine mount auf der 600er lauten aber /media/hdd/movie


    3.
    du hast doch eh nur eine box, dann gib doch explizit die ip der 600 frei.

  • so hab das mal probiert. hier die Einstellungen:
    ------------------------------------------------
    nfs_server_script.sh
    #!/bin/sh
    #


    set -e


    # Read config
    NFSSERVER_ON=1
    NFS_CL_IP=192.168.131.50
    NFSNETMASKE=255.255.255.0
    DIRECTORY0=/media/hdd/movie
    DIRECTORY1=/media/hdd2/movie
    MOUNTD_PORT_ON=1
    MOUNTD_PORT=2049
    OPTIONS=rw,no_root_squash,async
    # end
    ---------------------------------------------------
    root@dm7025:/# exportfs -v
    /media/hdd2/movie
    192.168.131.50/255.255.255.0(rw,async,wdelay,no_root_squash)
    /media/hdd/movie
    192.168.131.50/255.255.255.0(rw,async,wdelay,no_root_squash)
    ----------------------------------------------------------------------------------------


    Geht leider immer noch nicht (nur in die andere Richtung von 7025 auf 600) habe dort (600) den Port 2059 genutzt.

  • hmm dann mal ohne ports testen, und/oder auch mit tcp/udp spielen.

  • Vielen Dank für deine Hilfe,
    ich habe zwar gedacht, dass ich schon alles ausprobiert habe, aber in der Kombination ohne ports und ohne Angabe des protokolls in den automounts gehts jetzt endlich.


    Gruß


    autora

  • hehe, für das gibt es ja das board.


    ps: und nicht vergessen die automount zu sichern :winking_face:

  • Hallo zusammen,


    ich hatte das gleiche Problem. Bei mir war definitv die Angabe Port ein/ausschalten = Ja die Ursache. Hat sich hier etwas geändert? Ich bin mir sicher, das ich in den Vorgängerreleases die Ports auch aktiviert hatte.