[gpfsug-discuss] immutable folder
IBM Spectrum Scale
scale at us.ibm.com
Wed Feb 23 14:57:24 GMT 2022
Your directory is under a fileset with non-compliant iam mode. With
fileset in that mode, it follows snapLock protocol - it disallows changing
subdir to immutable, but allows changing subdir to mutable.
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/23/2022 07:17 AM
Subject: [EXTERNAL] Re: [gpfsug-discuss] immutable folder
Sent by: gpfsug-discuss-bounces at spectrumscale.org
Thanks, I couldn’t recreate that test: # mkdir "it/stu'pid name" mkdir:
cannot create directory ‘it/stu'pid name’: No such file or directory
[Removing the / ] # mkdir "itstu'pid name"
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
ZjQcmQRYFpfptBannerEnd
Thanks, I couldn’t recreate that test:
# mkdir "it/stu'pid name"
mkdir: cannot create directory ‘it/stu'pid name’: No such file or
directory
[Removing the / ]
# mkdir "itstu'pid name"
# mmchattr -i yes itstu\'pid\ name/
itstu'pid name/: Change immutable flag failed: Invalid argument.
Can not set directory to be immutable or appendOnly under current fileset
mode!
Which begs the question, how do I have an immutable folder!
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 Hannappel, Juergen
Sent: 23 February 2022 11:49
To: gpfsug main discussion list <gpfsug-discuss at spectrumscale.org>
Subject: Re: [gpfsug-discuss] immutable folder
While the apostrophe is evil it's not the problem:
root at it-gti-02 test1]# mkdir "it/stu'pid name"
[root at it-gti-02 test1]# mmchattr -i yes it/stu\'pid\ name
[root at it-gti-02 test1]# mmchattr -i no it/stu\'pid\ name
From: "Paul Ward" <p.ward at nhm.ac.uk>
To: "gpfsug main discussion list" <gpfsug-discuss at spectrumscale.org>
Sent: Wednesday, 23 February, 2022 12:03:37
Subject: Re: [gpfsug-discuss] immutable folder
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
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
.
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
_______________________________________________
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/20220223/aec69948/attachment.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/20220223/aec69948/attachment.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/20220223/aec69948/attachment-0001.jpe>
More information about the gpfsug-discuss
mailing list