Thanks Thanks:  0
Ergebnis 1 bis 6 von 6
  1. #1
    Senior Mitglied
    Registriert seit
    05.07.2013
    Beiträge
    106
    Thanks (gegeben)
    1
    Thanks (bekommen)
    10
    Total Downloaded
    453,56 MB
    Total Downloaded
    453,56 MB
    ReceiverDanke
    Box 1:
    VU+ Ultimo 4K
     
     
    Box 2:
    VU+ Zero
     
     

    frage zu nfs mounts default einstellungen

    wenn ich ein nfs share mounte, sind ja 3 optionen in dem gui mit angegeben (rw,tcp,nolock) wenn ich dann in die auto.network datei reingucke sind dann noch zusätzlich die folgenen optionen sofort mitgemounted: rsize=,wsize=,nfsvers=3,timeo=,soft
    wenn ich dann in der gui rsize und wsize eintrage, sind die werte die ich eintrage auch in der auto.network richtig eingetragen. aber bei dem wert timeo=, wenn ich den zb als timeo=600 in der gui eintrage, dann ist in der auto.network datei der wert 2 mal eingetragen, einmal mit default 14 und einmal der wert den ich selbst eintrage. in dem fall timeo=600.

    jetzt zu meiner frage. warum ist das so? sollte der default wert 14 nicht überschrieben werden mit dem wert den ich dort eingebe? weil mit 14 bekomme ich an meiner synology sehr oft einen schreibfehler festplatte voll angezeifgt, wenn das nas im standby ist und er dann durch die aufnahme aufgeweckt wirkt. wenn das nas läuft, passiert das nicht.
    der normale default wert bei einem nfs tcp mount ist 600, nicht 14. mit 600 passiert das mit dem schreibfehler nicht. zumindest einige male probiert, jeweils mit erfolg.

    meine andere frage wäre, wo sind die default nfs optionen eingetragen, damit die sich bei einem mount von dort geholt werden. ich würde dann in der datei timeo=600 dort setzen, damit ich das nicht immer manuell ändern muss in der auto.network datei. wenn ich manuell in allen shares 600 eintrage, dann ein neunen share mounte, werden alle einträge mit 600 mit der default einstellung 14 überschrieben und ich muss dann manuell wieder alles umschreiben.

  2. Thanks - bedankten sich
    •   Alt Advertising

       

  3. #2

    Registriert seit
    27.04.2020
    Beiträge
    1.485
    Thanks (gegeben)
    300
    Thanks (bekommen)
    1098
    Total Downloaded
    0
    Total Downloaded
    0
    ReceiverDanke
    Code:
    root@vuultimo4k:~# cat /etc/nfsmount.conf
    #
    # /etc/nfsmount.conf - see nfsmount.conf(5) for details
    #
    # This is an NFS mount configuration file. This file can be broken
    # up into three different sections: Mount, Server and Global
    #
    # [ MountPoint "Mount_point" ]
    # This section defines all the mount options that
    # should be used on a particular mount point. The '<Mount_Point>'
    # string need to be an exact match of the path in the mount
    # command. Example:
    #     [ MountPoint "/export/home" ]
    #       background=True
    # Would cause all mount to /export/home would be done in
    # the background
    #
    # [ Server "Server_Name" ]
    # This section defines all the mount options that
    # should be used on mounts to a particular NFS server.
    # Example:
    #     [ Server "nfsserver.foo.com" ]
    #       rsize=32k
    #       wsize=32k
    # All reads and writes to the 'nfsserver.foo.com' server
    # will be done with 32k (32768 bytes) block sizes.
    #
    [ NFSMount_Global_Options ]
    # This statically named section defines global mount
    # options that can be applied on all NFS mount.
    #
    # Protocol Version [2,3,4]
    # This defines the default protocol version which will
    # be used to start the negotiation with the server.
    # Defaultvers=4
    #
    # Setting this option makes it mandatory the server supports the
    # given version. The mount will fail if the given version is
    # not support by the server.
    # Nfsvers=4
    #
    # Network Protocol [udp,tcp,rdma] (Note: values are case sensitive)
    # This defines the default network protocol which will
    # be used to start the negotiation with the server.
    # Defaultproto=tcp
    #
    # Setting this option makes it mandatory the server supports the
    # given network protocol. The mount will fail if the given network
    # protocol is not supported by the server.
    # Proto=tcp
    #
    # The number of times a request will be retired before
    # generating a timeout
    # Retrans=2
    #
    # The number of minutes that will retry mount
    # Retry=2
    #
    # The minimum time (in seconds) file attributes are cached
    # acregmin=30
    #
    # The Maximum time (in seconds) file attributes are cached
    # acregmin=60
    #
    # The minimum time (in seconds) directory attributes are cached
    # acregmin=30
    #
    # The Maximum time (in seconds) directory attributes are cached
    # acregmin=60
    #
    # Enable Access  Control  Lists
    # Acl=False
    #
    # Enable Attribute Caching
    # Ac=True
    #
    # Do mounts in background (i.e. asynchronously)
    # Background=False
    #
    # Close-To-Open cache coherence
    # Cto=True
    #
    # Do mounts in foreground (i.e. synchronously)
    # Foreground=True
    #
    # How to handle times out from servers (Hard is STRONGLY suggested)
    # Hard=True
    # Soft=False
    #
    # Enable File Locking
    # Lock=True
    #
    # Enable READDIRPLUS on NFS version 3 mounts
    # Rdirplus=True
    #
    # Maximum Read Size (in Bytes)
    # Rsize=8k
    #
    # Maximum Write Size (in Bytes)
    # Wsize=8k
    #
    # Maximum Server Block Size (in Bytes)
    # Bsize=8k
    #
    # Ignore unknown mount options
    # Sloppy=False
    #
    # Share Data and Attribute Caches
    # Sharecache=True
    #
    # The amount of time, in tenths of a seconds, the client
    # will wait for a response from the server before retransmitting
    # the request.
    # Timeo=600
    #
    # Sets all attributes times to the same time (in seconds)
    # actimeo=30
    #
    # Server Mountd port mountport
    # mountport=4001
    #
    # Server Mountd Protocol
    # mountproto=tcp
    #
    # Server Mountd Version
    # mountvers=3
    #
    # Server Mountd Host
    # mounthost=hostname
    #
    # Server Port
    # Port=2049
    #
    # RPCGSS security flavors
    # [none, sys, krb5, krb5i, krb5p ]
    # Sec=sys
    #
    # Allow Signals to interrupt file operations
    # Intr=True
    #
    # Specifies  how the kernel manages its cache of directory
    # Lookupcache=all|none|pos|positive
    #
    # Turn of the caching of that access time
    # noatime=True


  4. #3
    Senior Mitglied
    Registriert seit
    05.07.2013
    Beiträge
    106
    Thanks (gegeben)
    1
    Thanks (bekommen)
    10
    Themenstarter
    Total Downloaded
    453,56 MB
    Total Downloaded
    453,56 MB
    ReceiverDanke
    Box 1:
    VU+ Ultimo 4K
     
     
    Box 2:
    VU+ Zero
     
     
    Hab ich schon versucht. Den Wert timeo=600 das # rausgenommen und dann beim einem nfs mount im gui der freigabenverwaltung auch timeo=600 eingetragen, aber trotzdem steht dann der Wert 2 mal drinnen in dem mount in der auto.network datei. Einmal mit 600 wie eingetragen und einmal mit 14. Wo die 14 herkommt, keine Ahnung.

    Ps. Ich habe 5 nfs mounts. Überall manuell in der auto network datei 600 eingetragen. Ändere ich in der freigabenverwaltung bei nur einem mount einen Wert, egal welchen, dann werden bei allen anderen mounts der wert von 600 in 14 geändert inkl bei dem wo ich was in der gui geändert habe.
    Geändert von gabberhead (03.09.2020 um 18:07 Uhr)

  5. #4

    Registriert seit
    18.10.2013
    Ort
    BW
    Beiträge
    1.523
    Thanks (gegeben)
    917
    Thanks (bekommen)
    698
    Total Downloaded
    162,62 MB
    Total Downloaded
    162,62 MB
    ReceiverDanke
    Box 1:
    AX HD61 4k - ATV 7.3
     
     
    Box 2:
    Mut@nt HD51 4k- ATV 6.4
     
     
    Box 3:
    LG DS90QY Soundbar
     
     
    Nun ja, ich lese bisher nichts davon, dass du bei globalen manuellen Netzwerkänderungen das E2 mal anhältst dabei mit init 4, und nach den Änderungen direkt einen Reboot anstößt.
    mfg tiopedro1958

  6. Thanks - bedankten sich
  7. #5
    Senior Mitglied
    Registriert seit
    05.07.2013
    Beiträge
    106
    Thanks (gegeben)
    1
    Thanks (bekommen)
    10
    Themenstarter
    Total Downloaded
    453,56 MB
    Total Downloaded
    453,56 MB
    ReceiverDanke
    Box 1:
    VU+ Ultimo 4K
     
     
    Box 2:
    VU+ Zero
     
     
    Habe ich gemacht. Init 4, dann nfsmount.conf geändert, dann sync und reboot eingegeben. Nach Neustart in der gui timeo=600 eingegeben. Bei dem mount ist der Eintrag trotzdem 2 mal vorhanden einmal 600 und 14 und bei den anderen 4 auch alles von 600 auf 14 automatisch umgeschrieben worden.

  8. #6
    Senior Mitglied
    Registriert seit
    05.07.2013
    Beiträge
    106
    Thanks (gegeben)
    1
    Thanks (bekommen)
    10
    Themenstarter
    Total Downloaded
    453,56 MB
    Total Downloaded
    453,56 MB
    ReceiverDanke
    Box 1:
    VU+ Ultimo 4K
     
     
    Box 2:
    VU+ Zero
     
     
    mit nfsvers=4 das gleiche. ist dann auch doppelt vorhanden im mount. und wenn man in der freigabenverwaltung tcp rausnimt,weil bei nfsvers=4 tcp default ist, ist tcp trotzdem im mount drinnen vorhanden.


Stichworte

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •  
Alle Zeitangaben in WEZ +1. Es ist jetzt 11:48 Uhr.
Powered by vBulletin® Version 4.2.5 (Deutsch)
Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.
Resources saved on this page: MySQL 5,56%
Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)
vBulletin Skin By: PurevB.com