Hirdetés

Új hozzászólás Aktív témák

  • Maximusz

    aktív tag

    válasz vargalex #44855 üzenetére

    Sziasztok!

    a segítségeteket szeretném kérni, bízom benne, hogy valaki már próbált hasonlót, és tudja, hogyan kell megoldani.

    A felállás:

    -10.0.0.1 a router ( Vargalex féle OpenWRT-vel ), NFS megosztás engedélyezve, működőképesre beállítva ( a másik gépen felcsatolva és működik az írás/olvasás )

    -10.0.0.2 HP N54L microserver, rajta Ubuntu 12.04, NFS megosztás engedélyezve a hálózaton ( a router látja a megosztást ) A router nfs megosztása felcsatolva az ubuntuban egy erre a célra létrehozott mappába.

    Ami nem megy: A routeren nem tudom felcsatolni az Ubuntu által osztott mappát , az alábbi hibát adja:

    Az openwrt-s router konzolja:

    root@OpenWrt:~# showmount --exports 10.0.0.1
    Export list for 10.0.0.1:
    /mnt 10.0.0.0/255.0.0.0
    root@OpenWrt:~# showmount --exports 10.0.0.2
    Export list for 10.0.0.2:
    /home/share 10.0.0.0/8
    root@OpenWrt:~# mount -t nfs 10.0.0.2:/home/share /nfs/
    mount.nfs: Protocol not supported
    mount: mounting 10.0.0.2:/home/share on /nfs/ failed: Invalid argument
    root@OpenWrt:~#

    próbáltam állítani, hogy "régi" (2-es, 3-as) nfs megosztást hozzon létre, de sajnos nem megy, mi lehet a hiba ?

    /etc/default/nfs-kernel-server

    # Number of servers to start up
    # To disable nfsv4 on the server, specify '--no-nfs-version 4' here
    RPCNFSDCOUNT=8

    # Runtime priority of server (see nice(1))
    RPCNFSDPRIORITY=0

    # Options for rpc.mountd.
    # If you have a port-based firewall, you might want to set up
    # a fixed port here using the --port option. For more information,
    # see rpc.mountd(8) or http://wiki.debian.org/SecuringNFS
    # To disable NFSv4 on the server, specify '--no-nfs-version 4' here
    #RPCMOUNTDOPTS=--manage-gids --no-nfs-version 4

    RPCMOUNTDOPTS='--no-nfs-version 4'

    # Do you want to start the svcgssd daemon? It is only required for Kerberos
    # exports. Valid alternatives are "yes" and "no"; the default is "no".
    NEED_SVCGSSD=no

    # Options for rpc.svcgssd.
    RPCSVCGSSDOPTS=

    # Options for rpc.nfsd.
    RPCNFSDOPTS=

    /etc/default/nfs-common

    # If you do not set values for the NEED_ options, they will be attempted
    # autodetected; this should be sufficient for most people. Valid alternatives
    # for the NEED_ options are "yes" and "no".

    # Do you want to start the statd daemon? It is not needed for NFSv4.
    NEED_STATD=

    # Options for rpc.statd.
    # Should rpc.statd listen on a specific port? This is especially useful
    # when you have a port-based firewall. To use a fixed port, set this
    # this variable to a statd argument like: "--port 4000 --outgoing-port 4001".
    # For more information, see rpc.statd(8) or http://wiki.debian.org/SecuringNFS
    STATDOPTS=

    # Do you want to start the gssd daemon? It is required for Kerberos mounts.
    NEED_GSSD=
    NEED_IDMAPD=yes

    /etc/exports

    # /etc/exports: the access control list for filesystems which may be exported
    # to NFS clients. See exports(5).
    #
    # Example for NFSv2 and NFSv3:
    # /srv/homes hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check)
    #
    # Example for NFSv4:
    # /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check)
    # /srv/nfs4/homes gss/krb5i(rw,sync,no_subtree_check)
    #

    #/home/share 10.0.0.0/8(rw,sync,fsid=0,no_subtree_check)

    /home/share 10.0.0.0/8(rw,sync,no_subtree_check)

    a router látja az nfs megosztást, csak valamiért nem tudom felcsatolni. A routerre kell még valamilyen csomag, vagy az ubuntu beállításán kellene még valamit módosítanom?

    [ Szerkesztve ]

Új hozzászólás Aktív témák