Symptoms
- RSYNC is being used for migration from a NFS host filesystem to ECS File system enabled bucket.
- the ECS bucket is having retention and autocommit enabled (n days)
- Errors occurring after migration in last step made a chown on target directory with rsync.
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 buckets with retention / autocommit enabled are used to be WORM (Write Once Read Many) compliant.
The autocommit period is the time interval relative to the object's last modified time during which certain retention constraints (example: file modifications, file deletions, and so on) are not applied. This does not have any effect outside of the retention period.
chown / chmod file system operations are not allowed during the autommit period according to
https://dl.dell.com/content/docu98311_ECS_3.5_Administration_Guide.pdf?language=en_US
Resolution
The error message is expected since chown is not allowed during autocommit period.
All needed modification not allowed during autocommit period need to be done beforehand the migration.
ECS Appliance Gen 1, ECS Appliance Gen 2, ECS Appliance Gen 3, Elastic Cloud Storage