ECS: La scrittura NFS genera un errore di I/O dopo una determinata quantità di dati

Summary: Le scritture NFS hanno esito negativo con un errore di I/O dovuto a una mancata corrispondenza della sincronizzazione.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

È presente un nuovo bucket abilitato per il file system.

Le scritture NFS hanno esito negativo con un errore di I/O dovuto a una mancata corrispondenza della sincronizzazione.

Client NFS Esempio del problema:
root@client~:/mnt_ecs# dd if=/dev/zero of=/mnt_ecs/test bs=1024 count=80000
dd: write error: I/O error
dd: write error: I/O error
root@client:/mnt_ecs# ll
total 8222
drwx---rwx- 3 2147483647 2147483647 96 Aug 13 10:51 .
drwxr-xr-x- 30 root system 4096 Aug 07 10:46 ..
-rw-r--r--- 1 root system 2102272 Aug 13 10:51 test
In base alla seguente posizione dei registri: (Una richiesta prevista non è stata visualizzata nella pagina dataheadsvc servizio)
Comando:
# cat /opt/emc/caspian/fabric/agent/services/object/main/log/dataheadsvc.log
Esempio:
admin@node1~>cat /opt/emc/caspian/fabric/agent/services/object/main/log/dataheadsvc.log
2018-08-17T06:09:02,499 [RpcDispatcherWriteIO-5411370]  INFO  RpcProgramNfs3.java (line 241) No sync response, expect an async response for request  WriteRequest : FileHandle:[objectId = e7e6d9327488f5a316420e1f8805fac18d8a4f0773173ff12de2512a384d25de, ownerZoneUUID = 4f7a7b18-4e08-4e25-9bbb-ebeb02b085c3]Export:2 offset:0 count:524288 stablehowUNSTABLE
2018-08-17T06:09:03,261 [RpcDispatcherMD-5323256] ERROR  RpcProgramNfs3.java (line 277) Error processing NfsRequest: xid:1229074411 ip:/<Client IP> SysSecurity:  AuthStatus:AUTH_OK Uid:0 Gid:0 Proc:SETATTR SetAttrRequest : FileHandle:[objectId = e7e6d9327488f5a316420e1f8805fac18d8a4f0773173ff12de2512a384d25de, ownerZoneUUID = 4f7a7b18-4e08-4e25-9bbb-ebeb02b085c3]Export:2 SetAttr3Object : uid:0 gid:0 mode:0 atime:null mtime:null verf:10487808 updateFields:[SIZE] check:true ctime(NfsTime-1534486142s, 467000000ns) NfsResponse:  SetAttr3Response : status:NFS3ERR_NOT_SYNC wccData: WccData: WccAttr: size:10485760 mtime:(NfsTime-1534486142s, 600000000ns) ctime:(NfsTime-1534486143s, 243000000ns) postOpAttr type:NFSREG mode:rw-r--r-- nlink:1 uid:0 gid:0 size:10485760 used:10485760 rdev:(Specdata3: specdata10, specdata2:0) fileid:1019241384186633961 atime:(NfsTime-1534486143s, 243000000ns) mtime:(NfsTime-1534486142s, 600000000ns) ctime:(NfsTime-1534486143s, 243000000ns) RpcError: null

Cause

Mancata corrispondenza della sincronizzazione tra client e server.
  1. Il client ha eseguito il mount del bucket abilitato per il file system con l'opzione sync.
 Comando: (Nessun output previsto)
# mount -V nfs -o vers=3,proto=tcp,port=2049,sync <ECS IP> :/ns_nfs/nfs /mnt_ecs
  1. L'opzione Export Host nel menu File dell'interfaccia utente di ECS è stata modificata in Sync (l'impostazione predefinita è Async)
L'opzione Export Host nel menu File dell'interfaccia utente di ECS è stata modificata in Sync (l'impostazione predefinita è Async)

Resolution

Eseguire i seguenti controlli:

  • Verificare se il client specifica l'opzione Sync Mount e, in caso affermativo, rimuoverla.
  • Selezionare la policy di trasferimento della scrittura nelle opzioni host di esportazione (File >Exports) e modificarla in Async.
NFS v3 consente scritture asincrone sicure che aumentano le prestazioni rispetto alle scritture sincrone che spesso costituivano un problema nelle implementazioni NFS precedenti.
 
Nota: L'aumento del wsize nell'opzione di montaggio consente di trasferire più dati prima che si verifichi l'errore di I/O.

Dal protocollo RFC 1813 NFS versione 3:Questo link ipertestuale indirizza a un sito web esterno a Dell Technologies.
NFS3ERR_NOT_SYNC:
Update synchronization mismatch was detected during a SETATTR operation.

Additional Information

Articoli della Knowledge Base su NFS correlati:

Affected Products

Elastic Cloud Storage

Products

ECS Appliance, ECS Appliance Hardware Gen1 U-Series, ECS Appliance Software with Encryption, ECS Appliance Software without Encryption, Elastic Cloud Storage
Article Properties
Article Number: 000042461
Article Type: Solution
Last Modified: 03 Sep 2025
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.