NFS asynchronous mode (FreeNAS 9.2)

Status
Not open for further replies.

mosjka1

Cadet
Joined
Jul 29, 2014
Messages
7
Tag Leute,

habe mir eine NFS Freigabe für die Backups der VMs von der ESXi eingerichtet, welche ich mit ghettoVCB übertrage. Die Übertragung ist grottenschlecht bzw. sehr langsam. Es liegt daran das NFS Freigabe auf sync steht. Laut diesem Beitrag http://vmware-forum.de/viewtopic.php?t=29853 wurde auf "async" gestellt und damit das Problem der langsamen Übertragung gelöst.

Leider finde ich nirgendwo unter FreeNAS 9.2 die Einstellungen zu sync / async?? Jemand ein Rat?

Code:
[root@NAS] /boot# zfs get sync volume/test
NAME         PROPERTY  VALUE     SOURCE
volume/test  sync      standard  default


Code:
[root@NAS] /boot# zfs get sync=disabled volume/test
bad property list: invalid property 'sync=disabled'
usage:
        get [-rHp] [-d max] [-o "all" | field[,...]]
            [-t type[,...]] [-s source[,...]]
            <"all" | property[,...]> [filesystem|volume|snapshot] ...

The following properties are supported:

        PROPERTY       EDIT  INHERIT   VALUES

        available        NO       NO   <size>
        clones           NO       NO   <dataset>[,...]
        compressratio    NO       NO   <1.00x or higher if compressed>
        creation         NO       NO   <date>
        defer_destroy    NO       NO   yes | no
        logicalreferenced  NO       NO   <size>
        logicalused      NO       NO   <size>
        mounted          NO       NO   yes | no
        origin           NO       NO   <snapshot>
        refcompressratio  NO       NO   <1.00x or higher if compressed>
        referenced       NO       NO   <size>
        type             NO       NO   filesystem | volume | snapshot | bookmark
        used             NO       NO   <size>
        usedbychildren   NO       NO   <size>
        usedbydataset    NO       NO   <size>
        usedbyrefreservation  NO       NO   <size>
        usedbysnapshots  NO       NO   <size>
        userrefs         NO       NO   <count>
        written          NO       NO   <size>
        aclinherit      YES      YES   discard | noallow | restricted | passthrough | passthrough-x
        aclmode         YES      YES   discard | groupmask | passthrough | restricted
        atime           YES      YES   on | off
        canmount        YES       NO   on | off | noauto
        casesensitivity  NO      YES   sensitive | insensitive | mixed
        checksum        YES      YES   on | off | fletcher2 | fletcher4 | sha256
        compression     YES      YES   on | off | lzjb | gzip | gzip-[1-9] | zle | lz4
        copies          YES      YES   1 | 2 | 3
        dedup           YES      YES   on | off | verify | sha256[,verify]
        devices         YES      YES   on | off
        exec            YES      YES   on | off
        jailed          YES      YES   on | off
        logbias         YES      YES   latency | throughput
        mlslabel        YES      YES   <sensitivity label>
        mountpoint      YES      YES   <path> | legacy | none
        nbmand          YES      YES   on | off
        normalization    NO      YES   none | formC | formD | formKC | formKD
        primarycache    YES      YES   all | none | metadata
        quota           YES       NO   <size> | none
        readonly        YES      YES   on | off
        recordsize      YES      YES   512 to 128k, power of 2
        refquota        YES       NO   <size> | none
        refreservation  YES       NO   <size> | none
        reservation     YES       NO   <size> | none
        secondarycache  YES      YES   all | none | metadata
        setuid          YES      YES   on | off
        sharenfs        YES      YES   on | off | share(1M) options
        sharesmb        YES      YES   on | off | sharemgr(1M) options
        snapdir         YES      YES   hidden | visible
        sync            YES      YES   standard | always | disabled
        utf8only         NO      YES   on | off
        version         YES       NO   1 | 2 | 3 | 4 | 5 | current
        volblocksize     NO      YES   512 to 128k, power of 2
        volmode         YES      YES   default | geom | dev | none
        volsize         YES       NO   <size>
        vscan           YES      YES   on | off
        xattr           YES      YES   on | off
        userused@...     NO       NO   <size>
        groupused@...    NO       NO   <size>
        userquota@...   YES       NO   <size> | none
        groupquota@...  YES       NO   <size> | none
        written@<snap>   NO       NO   <size>

Sizes are specified in bytes with standard units such as K, M, G, etc.

User-defined properties can be specified by using a name containing a colon (:).

The {user|group}{used|quota}@ properties must be appended with
a user or group specifier of one of these forms:
    POSIX name      (eg: "matt")
    POSIX id        (eg: "126829")
    SMB name@domain (eg: "matt@sun")
    SMB SID         (eg: "S-1-234-567-89")
[root@NAS] /boot#
 
Last edited:

Rand

Guru
Joined
Dec 30, 2013
Messages
906
zfs get sync=disabled volume/test

wird auch nicht gehen, aber ein "zfs set sync=disabled volume/test" könnte helfen.

Zum Thema Datensicherheit sage ich aber besser nichts, oder?;) Damit hast Du Dich bestimmt auseinandergesetzt.
 

mosjka1

Cadet
Joined
Jul 29, 2014
Messages
7
zfs get sync=disabled volume/test

wird auch nicht gehen, aber ein "zfs set sync=disabled volume/test" könnte helfen.

Zum Thema Datensicherheit sage ich aber besser nichts, oder?;) Damit hast Du Dich bestimmt auseinandergesetzt.
Also manchmal sieht von vor lauter Bäumen den Wald nicht! :-D klappt nun!!
Ich habe mir aber inzwischen eine virtuelle ZIL einer 10GB (von einer SSD) eingebaut und die Übertragungsgeschwindigkeit ist enorm gestiegen.

Da ich jetzt aber die ZIL drin habe, sollte man die sync dennoch "AN" lassen?
 
Last edited:
Status
Not open for further replies.
Top