ECS:使用 rsync 将 NFS 迁移到 ECS 的操作显示错误:rsync: [generator] failed to set times on "/tmp/T/.": Read-only file system (30)

Summary: 在启用保留/自动提交的情况下,将 NFS 迁移到 ECS 存储桶会显示错误。

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

  • RSYNC 用于将 NFS 主机文件系统迁移到启用 ECS 文件系统的存储桶。
  • ECS 存储桶已启用保留和自动提交(n 天)
  • 上一步中迁移后发生的错误通过 rsync 在目标目录上执行 chown。
rsync: [generator] failed to set times on "/tmp/T/.": Read-only file system (30) rsync: [generator] chown "/tmp/T/W2006HHKV0001a" failed: Read-only file system (30) rsync: [generator] chown "/tmp/T/W2006HHKV0001a/000" failed: Read-only file system (30) rsync: [generator] chown "/tmp/T/W2006HHKV0001a/000/000" failed: Read-only file system (30)



Cause

启用了保留/自动提交的 ECS NFS 存储桶用于兼容 WORM(单写多读)标准。

自动提交期限是相对于对象上次修改时间的时间间隔,在此期间不会应用某些保留限制(例如:文件修改、文件删除等)。在保留期限之外,这不会产生任何影响。

根据 https://dl.dell.com/content/docu98311_ECS_3.5_Administration_Guide.pdf?language=en_US 中的要求,在自动提交期限范围内不允许进行 chown/chmod 文件系统操作


 

Resolution

由于在自动提交期间不允许执行 chown,因此预计会显示错误消息。
在自动提交期间未允许进行的全部所需修改均需要在迁移之前完成。

Affected Products

ECS

Products

ECS Appliance Gen 1, ECS Appliance Gen 2, ECS Appliance Gen 3, Elastic Cloud Storage
Article Properties
Article Number: 000182779
Article Type: Solution
Last Modified: 06 Mar 2022
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.