I just tested this. Compressing a file did free up space in the file system. Looks like our compression code does not trigger COW on the snapshot. You can test this yourself by looking into mmlssnapshot -d (please not on a large production fs, this command is expensive).
Mit freundlichen Grüßen / Kind regards
| |
|
IBM Deutschland Research & Development GmbH / Vorsitzende des Aufsichtsrats: Matthias Hartmann / Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen / Registergericht: Amtsgericht Stuttgart, HRB 243294
----- Original message -----
From: "Luis Bolinches" <[email protected]>
Sent by: [email protected]
To: [email protected]
Cc: [email protected]
Subject: [EXTERNAL] Re: [gpfsug-discuss] Compression question
Date: Thu, Nov 28, 2019 11:47
HiSame principle COW. The data blocks do not get modified.--
Ystävällisin terveisin / Kind regards / Saludos cordiales / Salutations / Salutacions
Luis BolinchesConsultant IT Specialist
Mobile Phone: +358503112585
https://www.youracclaim.com/user/luis-bolinches
"If you always give you will always have" -- Anonymous----- Original message -----
From: "Cregan, Bob" <[email protected]>
Sent by: [email protected]
To: gpfsug main discussion list <[email protected]>
Cc:
Subject: [EXTERNAL] Re: [gpfsug-discuss] Compression question
Date: Thu, Nov 28, 2019 12:06 PM
Just to clarify this is SS compression, sommchattr --compression yes <filename>or an ILM equivalentSo not a regular modification.Bob
Bob Cregan
HPC Systems AnalystInformation & Communication Technologies
Imperial College London,
South Kensington Campus London, SW7 2AZ
T: 07712388129
E: [email protected]
@imperialRCS @imperialRSE
From: Cregan, Bob
Sent: 28 November 2019 09:43
To: gpfsug main discussion list <[email protected]>
Subject: Compression questionHi All,Can someone answer the following question on compression in a snapshot context? We have tried various experiments and they are inconclusive - too tedious to go into the detail.What happens to the snapshot when a file is compressed in SS? The logic as I see it is####### In a non compressed situation ###############1) create a file,2) create a snapshot.3) modify a file in a normal way - the blocks on disk are changed and the old blocks are then written to the snap.######In a compressed situation ############
1) create a file,2) create a snapshot.3) Compress the file. Now IBM says the blocks are rewritten when the file is compressed. So do the old uncompressed blocks go into the snap? If so we now have 2 copies of the file and unless the compression > 50% we have used more space until the snap is deleted.You get the space back in the end, but if you are in a tight situation then potentially compression might not work for you in the short term.ThanksBob
Bob Cregan
HPC Systems AnalystInformation & Communication Technologies
Imperial College London,
South Kensington Campus London, SW7 2AZ
T: 07712388129
E: [email protected]
@imperialRCS @imperialRSE
_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Ellei edellä ole toisin mainittu: / Unless stated otherwise 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 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
