ECS: 특정 양의 데이터 후에 NFS 쓰기에서 I/O 오류 발생

Summary: 동기화 불일치로 인해 NFS 쓰기가 실패하고 I/O 오류가 발생합니다.

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

새로운 파일 시스템 지원 버킷이 있습니다.

동기화 불일치로 인해 NFS 쓰기가 실패하고 I/O 오류가 발생합니다.

문제의 NFS 클라이언트 예:
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
아래 로그 위치에 따라: (예상 요청이 dataheadsvc 서비스)
명령:
# cat /opt/emc/caspian/fabric/agent/services/object/main/log/dataheadsvc.log
예:
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

클라이언트와 서버 간에 동기화가 일치하지 않습니다.
  1. 클라이언트가 sync 옵션을 사용하여 파일 시스템 지원 버킷을 마운트했습니다.
 명령: (예상되는 출력 없음)
# mount -V nfs -o vers=3,proto=tcp,port=2049,sync <ECS IP> :/ns_nfs/nfs /mnt_ecs
  1. ECS UI File 메뉴의 Export Host 옵션이 Sync(기본값: Async)로 변경되었습니다.
ECS UI File 메뉴의 Export Host 옵션이 Sync(기본값: Async)로 변경되었습니다.

Resolution

다음 검사를 실행합니다.

  • 클라이언트가 Sync Mount 옵션을 지정했는지 확인하고, 지정되어 있는 경우 제거합니다.
  • Export Host 옵션(File >Exports)에서 Write Transfer Policy확인하고 Async로 변경합니다.
NFS v3를 사용하면 이전 NFS 구현에서 문제가 되었던 동기식 쓰기보다 성능이 향상되는 안전한 비동기식 쓰기가 가능합니다.
 
참고: 증가 wsize 마운트 옵션에서 I/O 오류가 표시되기 전에 더 많은 데이터를 전송할 수 있습니다.

RFC 1813 NFS 버전 3 프로토콜이 하이퍼링크는 Dell Technologies 외부의 웹사이트로 연결됩니다.에서 :
NFS3ERR_NOT_SYNC:
Update synchronization mismatch was detected during a SETATTR operation.

Additional Information

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.