On 05/08/2015 20:23, "Simon Thompson (Research Computing - IT Services)" <S.J.Thompson@bham.ac.uk> wrote:
* if I have an iam compliant fileset, and it contains immutable files or directories, can I still unlink and delete the filset?
So just to answer my own questions here. (Actually I tried in non-compliant mode, rather than full compliance, but I figured this was the mode I actually need as I might need to reset the immutable time back earlier to allow me to delete something that shouldn't have gone in). Yes, I can both unlink and delete an immutable fileset which has immutable files which are non expired in it.
* will HSM work with immutable files? I.e. Can I migrate files to tape and restore them? The docs mention that extended attributes can be updated internally by dmapi, so I guess HSM might work?
And yes, HSM files work. I created a file, made it immutable, backed up, migrated it: $ mmlsattr -L BHAM_DATASHARE_10.zip file name: BHAM_DATASHARE_10.zip metadata replication: 2 max 2 data replication: 2 max 2 immutable: yes appendOnly: no indefiniteRetention: no expiration Time: Fri Aug 7 14:45:00 2015 flags: storage pool name: tier2 fileset name: rds-projects-2015-thompssj-01 snapshot name: creation time: Fri Aug 7 14:38:30 2015 Windows attributes: ARCHIVE OFFLINE READONLY Encrypted: no I was then able to recall the file. Simon
On 05/08/2015 20:23, "Simon Thompson (Research Computing - IT Services)" <S.J.Thompson@bham.ac.uk> wrote:
* if I have an iam compliant fileset, and it contains immutable files or directories, can I still unlink and delete the filset?
So just to answer my own questions here. (Actually I tried in non-compliant mode, rather than full compliance, but I figured this was the mode I actually need as I might need to reset the immutable time back earlier to allow me to delete something that shouldn't have gone in).
Yes, I can both unlink and delete an immutable fileset which has immutable files which are non expired in it.
It was decided that deleting a fileset with compliant data is a "hole", but apparently it was not closed before the GA. The same rule should apply to unlinking the fileset. HSM on compliant data should be fine. I don't know what happens when you combine compliance and AFM, but I would suggest not mixing the two. -Wayne
I did only try in nc mode, so possibly if its fully compliant it wouldn't have let me delete the fileset. One other observation. As a user Id set the atime and chmod -w the file. Once it had expired, I was then unable to reset the atime into the future. (I could as root). I'm not sure what the expected behaviour should be, but I was sorta surprised that I could initially set the time as the user, but then not be able to extend even once it had expired. Simon ________________________________________ From: gpfsug-discuss-bounces@gpfsug.org [gpfsug-discuss-bounces@gpfsug.org] on behalf of Wayne Sawdon [wsawdon@us.ibm.com] Sent: 07 August 2015 16:27 To: gpfsug main discussion list Subject: Re: [gpfsug-discuss] 4.1.1 immutable filesets
On 05/08/2015 20:23, "Simon Thompson (Research Computing - IT Services)" <S.J.Thompson@bham.ac.uk> wrote:
* if I have an iam compliant fileset, and it contains immutable files or directories, can I still unlink and delete the filset?
So just to answer my own questions here. (Actually I tried in non-compliant mode, rather than full compliance, but I figured this was the mode I actually need as I might need to reset the immutable time back earlier to allow me to delete something that shouldn't have gone in).
Yes, I can both unlink and delete an immutable fileset which has immutable files which are non expired in it.
It was decided that deleting a fileset with compliant data is a "hole", but apparently it was not closed before the GA. The same rule should apply to unlinking the fileset. HSM on compliant data should be fine. I don't know what happens when you combine compliance and AFM, but I would suggest not mixing the two. -Wayne
participants (2)
-
Simon Thompson (Research Computing - IT Services) -
Wayne Sawdon
