WORM-appendable file write operation occasionally returnsĀ NFS3ERR_ROFS error
Applies to
- ONTAP 9
- SnapLock
- WORM-appendable file
Issue
- An application is running on the NFS client, which is specifically designed to collect log files and transfer them to a Snaplock volume using the NFSv3 protocol in WORM-appendable mode.
- The customer has found that the content of some WORM-appendable files have been truncated.
- The investigation result from the packet trace shows that the write responses occasionally report NFS3ERR_ROFS error.
Example:
297209 2024-05-27 11:37:41.196906 0.000002 client_ip 676 storage_ip 2049 NFS 65226 V3 WRITE Call (Reply In 298140), FH: 0x7300cdb0 Offset: 269320192 Len: 65536 UNSTABLE
297232 2024-05-27 10:37:41.197169 0.000004 client_ip 676 storage_ip 2049 NFS 62202 V3 WRITE Call (Reply In 298145), FH: 0x7300cdb0 Offset: 269385728 Len: 65536 UNSTABLE
297255 2024-05-27 10:37:41.197369 0.000002 client_ip 676 storage_ip 2049 NFS 65226 V3 WRITE Call (Reply In 298143), FH: 0x7300cdb0 Offset: 269451264 Len: 65536 UNSTABLE
297278 2024-05-27 11:37:41.197675 0.000002 client_ip 676 storage_ip 2049 NFS 62202 V3 WRITE Call (Reply In 298142), FH: 0x7300cdb0 Offset: 269516800 Len: 65536 UNSTABLE
298140 2024-05-27 11:37:41.210737 0.000026 storage_ip 2049 client_ip 676 NFS 230 V3 WRITE Reply (Call In 297209) Len: 65536 FILE_SYNC
298142 2024-05-27 11:37:41.210768 0.000024 storage_ip 2049 client_ip 676 NFS 230 V3 WRITE Reply (Call In 297278) Len: 65536 FILE_SYNC
298143 2024-05-27 11:37:41.210837 0.000069 storage_ip 2049 client_ip 676 NFS 214 V3 WRITE Reply (Call In 297255) Error: NFS3ERR_ROFS
298145 2024-05-27 11:37:41.210883 0.000040 storage_ip 2049 client_ip 676 NFS 214 V3 WRITE Reply (Call In 297232) Error: NFS3ERR_ROFS
298146 2024-05-27 11:37:41.210929 0.000046 storage_ip 2049 client_ip 676 NFS 230 V3 WRITE Reply (Call In 297301) Len: 65536 FILE_SYNC