I am not sure this will work, since I have never tried it, but perhaps you 
could enable file audit logging (FAL) and track only file deletions.  
Presumably you could then search through the FAL log for deletions after time 
T.  This does of course require that you use the DME or Advanced version of 
Scale, and that you setup FAL.

Fred

Fred Stock, Spectrum Scale Development Advocacy
[email protected]<mailto:[email protected]> | 720-430-8821



From: gpfsug-discuss <[email protected]> on behalf of Luis 
Bolinches <[email protected]>
Date: Tuesday, May 30, 2023 at 10:32 AM
To: gpfsug main discussion list <[email protected]>
Subject: [EXTERNAL] Re: [gpfsug-discuss] List of deleted files via policies
Hi What you are doing is not wrong, of course create and delete snaps is not 
free. If you are using mmbackup you could leverage the shadow DB but running 
the command before the next mmbackup with –preview candidates and see the 
expires there. 
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
ZjQcmQRYFpfptBannerEnd
Hi

What you are doing is not wrong, of course create and delete snaps is not free. 
If you are using mmbackup you could leverage the shadow DB but running the 
command before the next mmbackup with –preview candidates and see the expires 
there. Never tried but in my head works … as so many other things that end up 
not, but worth the try as you then get free of jail from snaps. If you are 
doing snaps anyway due some other reasons then maybe is not worth the try to go 
mmbackup.

--
Ystävällisin terveisin/Regards/Saludos/Salutations/Salutacions
Luis Bolinches
Executive IT Specialist
IBM Storage Scale development
Phone: +358503112585

Ab IBM Finland Oy
Toinen linja 7
00530 Helsinki
Uusimaa - Finland

Visitors entrance: Siltasaarenkatu 22

"If you always give you will always have" --  Anonymous

https://www.credly.com/users/luis-bolinches/badges<https://www.credly.com/users/luis-bolinches/badges>

From: gpfsug-discuss <[email protected]> On Behalf Of Talamo 
Ivano Giuseppe
Sent: Tuesday, 30 May 2023 16.55
To: [email protected]
Subject: [EXTERNAL] [gpfsug-discuss] List of deleted files via policies

Hello everyone, I am currently looking for the most efficient way to get a list 
of all deleted files since time T. So far the best I could come to is to create 
a snapshot at time T, generate two lists via policies, one for the files inside
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
ZjQcmQRYFpfptBannerEnd
Hello everyone,

I am currently looking for the most efficient way to get a list of all deleted 
files since time T.
So far the best I could come to is to create a snapshot at time T, generate two 
lists via policies, one for the files inside the .snapshots dir, one for the 
current filesystem, and compare the two with standard diff command.
But I was wondering if is there any smarter way with policies only.

Thanks,
Ivano

__________________________________________
Paul Scherrer Institut
Ivano Talamo
WHGA/038
Forschungsstrasse 111
5232 Villigen PSI
Schweiz

Phone: +41 56 310 47 11
E-Mail: [email protected]<mailto:[email protected]>

Unless otherwise stated above:

Oy IBM Finland Ab
PL 265, 00101 Helsinki, Finland
Business ID, Y-tunnus: 0195876-3
Registered in Finland
_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at gpfsug.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org

Reply via email to