[gpfsug-discuss] immutable folder

Paul Ward p.ward at nhm.ac.uk
Wed Feb 23 11:03:37 GMT 2022


Its not a fileset, its just a folder, well a subfolder…

[filesystem/[fileset]/share/data/iac/[user] 2004-2014/Laboratory Impact experiments/LGG shots/Kent LGG/Kent aerogel LGG shots/Lizardite in aerogel/Nick Foster's sample

It’s the “Nick Foster's sample” folder I want to delete, but it says it is immutable and I can’t disable that.

I suspect it’s the apostrophe confusing things.




Kindest regards,
Paul

Paul Ward
TS Infrastructure Architect
Natural History Museum
T: 02079426450
E: p.ward at nhm.ac.uk<mailto:p.ward at nhm.ac.uk>
[A picture containing drawing  Description automatically generated]

From: gpfsug-discuss-bounces at spectrumscale.org <gpfsug-discuss-bounces at spectrumscale.org> On Behalf Of IBM Spectrum Scale
Sent: 22 February 2022 14:17
To: gpfsug main discussion list <gpfsug-discuss at spectrumscale.org>
Subject: Re: [gpfsug-discuss] immutable folder

Scale disallows deleting fileset junction using rmdir, so I suggested mmunlinkfileset.

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%7Cbd72c8c2ee3d49f619c908d9f60e0732%7C73a29c014e78437fa0d4c8553e1960c1%7C1%7C0%7C637811363409593169%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=XoY%2BAbA5%2FNBwuoJrY12MNurjJrp8KMsV1t63hdItfiM%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" <p.ward at nhm.ac.uk<mailto:p.ward at nhm.ac.uk>>
To:        "gpfsug main discussion list" <gpfsug-discuss at spectrumscale.org<mailto:gpfsug-discuss at spectrumscale.org>>
Date:        02/22/2022 05:31 AM
Subject:        [EXTERNAL] Re: [gpfsug-discuss] immutable folder
Sent by:        gpfsug-discuss-bounces at spectrumscale.org<mailto:gpfsug-discuss-bounces at spectrumscale.org>
________________________________



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. ‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender

This message came from outside your organization.

ZjQcmQRYFpfptBannerEnd

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: p.ward at nhm.ac.uk<mailto:p.ward at nhm.ac.uk>

[A picture containing drawing    Description automatically generated]



From:gpfsug-discuss-bounces at spectrumscale.org <gpfsug-discuss-bounces at spectrumscale.org<mailto:gpfsug-discuss-bounces at spectrumscale.org>> On Behalf Of IBM Spectrum Scale
Sent: 21 February 2022 16:12
To: gpfsug main discussion list <gpfsug-discuss at spectrumscale.org<mailto:gpfsug-discuss at spectrumscale.org>>
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%7Cbd72c8c2ee3d49f619c908d9f60e0732%7C73a29c014e78437fa0d4c8553e1960c1%7C1%7C0%7C637811363409593169%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=XoY%2BAbA5%2FNBwuoJrY12MNurjJrp8KMsV1t63hdItfiM%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" <p.ward at nhm.ac.uk<mailto:p.ward at nhm.ac.uk>>
To:        "gpfsug-discuss at spectrumscale.org<mailto:gpfsug-discuss at spectrumscale.org>" <gpfsug-discuss at spectrumscale.org<mailto:gpfsug-discuss at spectrumscale.org>>
Date:        02/21/2022 07:31 AM
Subject:        [EXTERNAL] [gpfsug-discuss] immutable folder
Sent by:        gpfsug-discuss-bounces at spectrumscale.org<mailto:gpfsug-discuss-bounces at 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.ward at nhm.ac.uk<mailto:p.ward at nhm.ac.uk>

[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%7Cbd72c8c2ee3d49f619c908d9f60e0732%7C73a29c014e78437fa0d4c8553e1960c1%7C1%7C0%7C637811363409593169%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=VEhD1UuJhrt7AM4f%2BWPHOXPcqgqr9tUf%2FCWPvIQCkgs%3D&reserved=0>

 _______________________________________________
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%7Cbd72c8c2ee3d49f619c908d9f60e0732%7C73a29c014e78437fa0d4c8553e1960c1%7C1%7C0%7C637811363409593169%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=VEhD1UuJhrt7AM4f%2BWPHOXPcqgqr9tUf%2FCWPvIQCkgs%3D&reserved=0>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20220223/7ac1ecd1/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 5356 bytes
Desc: image001.jpg
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20220223/7ac1ecd1/attachment-0002.jpg>


More information about the gpfsug-discuss mailing list