----- Original message -----
From: "Cregan, Bob" <b.cregan@imperial.ac.uk>
Sent by: gpfsug-discuss-bounces@spectrumscale.org
To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org>
Cc:
Subject: [EXTERNAL] [gpfsug-discuss] Compression question
Date: Thu, Nov 28, 2019 11:44 AM
Hi 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: b.cregan@imperial.ac.uk
@imperialRCS @imperialRSE
_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss