[gpfsug-discuss] immutable folder

IBM Spectrum Scale scale at us.ibm.com
Tue Feb 22 14:17:00 GMT 2022


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
. 

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>
To:     "gpfsug main discussion list" <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



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

 
From: gpfsug-discuss-bounces at spectrumscale.org 
<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>
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
. 

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>
To:        "gpfsug-discuss at spectrumscale.org" <
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




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

 _______________________________________________
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 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20220222/2da922f4/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 5356 bytes
Desc: not available
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20220222/2da922f4/attachment-0004.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 5356 bytes
Desc: not available
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20220222/2da922f4/attachment-0005.jpe>


More information about the gpfsug-discuss mailing list