Hi Paul, Have you tried mmunlinkfileset first?
Regards, The Spectrum Scale (GPFS) team ------------------------------------------------------------------------------------------------------------------ If you feel that your question can benefit other users of Spectrum Scale (GPFS), then please post it to the public IBM developerWroks Forum at https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-000000000479 . If your query concerns a potential software error in Spectrum Scale (GPFS) and you have an IBM software maintenance contract please contact 1-800-237-5511 in the United States or your local IBM Service Center in other countries. The forum is informally monitored as time permits and should not be used for priority messages to the Spectrum Scale (GPFS) team. From: "Paul Ward" <p.w...@nhm.ac.uk> To: "gpfsug-discuss@spectrumscale.org" <gpfsug-discuss@spectrumscale.org> Date: 02/21/2022 07:31 AM Subject: [EXTERNAL] [gpfsug-discuss] immutable folder Sent by: gpfsug-discuss-boun...@spectrumscale.org HI, I have a folder that I can’t delete. IAM mode – non-compliant It is empty: file name: Nick Foster's sample/ metadata replication: 2 max 2 ZjQcmQRYFpfptBannerStart This Message Is From an External Sender This message came from outside your organization. ZjQcmQRYFpfptBannerEnd HI, I have a folder that I can’t delete. IAM mode – non-compliant It is empty: file name: Nick Foster's sample/ metadata replication: 2 max 2 immutable: yes appendOnly: no indefiniteRetention: no expiration Time: Thu Jan 9 23:10:25 2020 flags: storage pool name: system fileset name: bulk-fset snapshot name: creation time: Sat Jan 9 04:44:16 2016 Misc attributes: DIRECTORY READONLY Encrypted: no Try and turn off immutability: mmchattr -i no "Nick Foster's sample" Nick Foster's sample: Change immutable flag failed: Operation not permitted. Can not set immutable or appendOnly flag to No and indefiniteRetention flag to Unchanged, Permission denied! So can’t leave it unchanged… Tried setting indefiniteRetention no and yes: mmchattr -i no --indefinite-retention no "Nick Foster's sample" Nick Foster's sample: Change immutable, enforceRetention flags failed: Operation not permitted. Can not set immutable or appendOnly flag to No and indefiniteRetention flag to No, Permission denied! mmchattr -i no --indefinite-retention yes "Nick Foster's sample" Nick Foster's sample: Change immutable, enforceRetention flags failed: Operation not permitted. Can not set immutable or appendOnly flag to No and indefiniteRetention flag to Yes, Permission denied! Any ideas? Kindest regards, Paul Paul Ward TS Infrastructure Architect Natural History Museum T: 02079426450 E: p.w...@nhm.ac.uk _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss