Thank you for the suggestion…

The fileset is in active use and is backed up using spectrum protect.
This is therefore advised against.

Was this option suggested to ‘close open files’ ?

The issue is a directory not files.


Kindest regards,
Paul

Paul Ward
TS Infrastructure Architect
Natural History Museum
T: 02079426450
E: [email protected]<mailto:[email protected]>
[A picture containing drawing  Description automatically generated]

From: [email protected] 
<[email protected]> On Behalf Of IBM Spectrum Scale
Sent: 21 February 2022 16:12
To: gpfsug main discussion list <[email protected]>
Subject: Re: [gpfsug-discuss] immutable folder

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<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ibm.com%2Fdeveloperworks%2Fcommunity%2Fforums%2Fhtml%2Fforum%3Fid%3D11111111-0000-0000-0000-000000000479&data=04%7C01%7Cp.ward%40nhm.ac.uk%7Cff06fac5181342b2ada108d9f554df72%7C73a29c014e78437fa0d4c8553e1960c1%7C1%7C0%7C637810568151155874%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=2mwNHoo0MsldnpmXu4QJYyOKdVTCFNvMr0dRj0bS3rA%3D&reserved=0>.

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" <[email protected]<mailto:[email protected]>>
To:        
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date:        02/21/2022 07:31 AM
Subject:        [EXTERNAL] [gpfsug-discuss] immutable folder
Sent by:        
[email protected]<mailto:[email protected]>
________________________________



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: [email protected]<mailto:[email protected]>

[A picture containing drawing    Description automatically generated]

 _______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fmailman%2Flistinfo%2Fgpfsug-discuss&data=04%7C01%7Cp.ward%40nhm.ac.uk%7Cff06fac5181342b2ada108d9f554df72%7C73a29c014e78437fa0d4c8553e1960c1%7C1%7C0%7C637810568151155874%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=fwSHH6HWHMz4W1W8Orj0T%2BnmaYzaihWrHv%2B6Gd%2FXRNE%3D&reserved=0>

_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss

Reply via email to