Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
the_rock
Champion
Champion

Snapshot question

Jump to solution

Hey guys,

I had a quick question about snapshots on the CP gateways. I had 2 snapshots on my VM fw and each one was about 15 GB and Im trying to figure out where they are stored exactly. I know this was probably asked before, but I cant see disk space change even if you delete the snapshots.

 

Found below, but could not locate either snapshot in /var/log/CPsnapshot/snapshots OR /var/CPsnapshot/snapshots

https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solut...

If someone could confirm, would be great!

Thanks as always!

 

1 Solution

Accepted Solutions
G_W_Albrecht
Legend
Legend

On Gaia OS, snapshots are not files, but disk volumes that are stored as a disk partition, therefore the directory name is not relevant here. It is possible to view list of virtual drives by running the "lvs" command (in the Expert mode). See sk92261: Snapshot location on Gaia and SecurePlatform  and sk172523: Unable to restore snapshot because CLISH shell hangs for details !

CCSE CCTE SMB Specialist

View solution in original post

9 Replies
genisis__
Advisor

lvm_manager may help.

0 Kudos
the_rock
Champion
Champion

Thank you for that...it does show unallocated space, which matches with the snapshot management page in web UI, BUT, still does not mention the directory.

K_montalvo
Advisor

We can do remotelly for this after i finish a current project brother

0 Kudos
the_rock
Champion
Champion

Yes sir 😉

0 Kudos
G_W_Albrecht
Legend
Legend

On Gaia OS, snapshots are not files, but disk volumes that are stored as a disk partition, therefore the directory name is not relevant here. It is possible to view list of virtual drives by running the "lvs" command (in the Expert mode). See sk92261: Snapshot location on Gaia and SecurePlatform  and sk172523: Unable to restore snapshot because CLISH shell hangs for details !

CCSE CCTE SMB Specialist
the_rock
Champion
Champion

Thanks G! I will check it a bit later and update.

0 Kudos
the_rock
Champion
Champion

You are 100% right...my colleague and I looked at that sk first yesterday, but missed part you indicated. Thanks as always sir!

G_W_Albrecht
Legend
Legend

This leads to the fact that according to sk115144:

When exporting a snapshot, the Gaia OS transfers the relevant files for a snapshot to the /var/log/ partition, then compresses all files into one archive file.

For this operation, the requirement is that the free space in the /var/log/ partition is at least twice the size of the final snapshot.

😩

CCSE CCTE SMB Specialist
Tobias_Moritz
Advisor

Regarding sk115144: If I am not wrong, you can reduce that from twice the size of the final snapshot to size of the final snapshot when you do the export (with clish) directly to a mounted remote file system (e.g NFS or CIFS). This way, the copy is done to local file system (/var/log partition) but the archive is created on the remote file system.

Instead of a mounting a remote filesystem, you can also mount some storage from a USB thumbdrive or something like that.

0 Kudos