Linux Extending Your Disk
Linux Extending Your Disk
net/check-point-gaia-extending-your-disk/
About NetworkOC
This is a guide on how to increase your disk size on a Check Point Gaia Security Management node.
Extending disk size is not supported by Check Point as far as I have gathered, so use the following guide at own risk –
and as always; keep a fresh backup of your system. =)
So what would the “Check Point official” guide on extending your disk look like?
To be honest, I do not know – but I reckon it would involve an upgrade_export, reinstallation and upgrade_import.
This procedure is, in fact, fairly easy, not very time consuming and would be my preferred method, but some times
this may not be feasable.
Starting point
Here is my starting point. A SM with 10GB of disk, which I will expand to 60GB.
[Expert@fw-disk-expand-test:0]# df -lh
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_splat-lv_current
7.8G 3.3G 4.2G 44% /
/dev/sda1 145M 19M 119M 14% /boot
tmpfs 472M 0 472M 0% /dev/shm
/dev/mapper/vg_splat-lv_log
992M 37M 905M 4% /var/log
1 of 7 03/07/2018, 21:59
Check Point Gaia – Extending your disk | Network Operation Center http://www.networkoc.net/check-point-gaia-extending-your-disk/
2 of 7 03/07/2018, 21:59
Check Point Gaia – Extending your disk | Network Operation Center http://www.networkoc.net/check-point-gaia-extending-your-disk/
WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.
[Expert@fw-disk-expand-test:0]# reboot
[Expert@fw-disk-expand-test:0]# pvdisplay
--- Physical volume ---
PV Name /dev/sda3
VG Name vg_splat
PV Size 18.85 GB / not usable 8.67 MB
Allocatable yes
PE Size (KByte) 32768
Total PE 603
Free PE 315
Allocated PE 288
PV UUID FnRU0K-g4HN-KIfK-F0KT-a9Ti-0UDD-hYpYZu
Next we will resize the logical volume by “simply allocating” disk the volumes as we please.
3 of 7 03/07/2018, 21:59
Check Point Gaia – Extending your disk | Network Operation Center http://www.networkoc.net/check-point-gaia-extending-your-disk/
We will still not see the disk space if we issue df -lh. So the file system needs to resized as well.
Expert@fw-disk-expand-test:0]# df -lh
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_splat-lv_current
7.8G 3.3G 4.2G 44% /
/dev/sda1 145M 19M 119M 14% /boot
tmpfs 472M 0 472M 0% /dev/shm
/dev/mapper/vg_splat-lv_log
992M 37M 904M 4% /var/log
sh-3.1# umount -a
sh-3.1# e2fsck -f /dev/mapper/vg_splat-lv_log
sh-3.1# e2fsck -f /dev/mapper/vg_splat-lv_current
Resize the file system – reboot, once again into maintennce mode
sh-3.1# resize2fs /dev/vg_splat/lv_log
sh-3.1# resize2fs /dev/vg_splat/lv_current
sh-3.1# umount -a
sh-3.1# e2fsck -f /dev/mapper/vg_splat-lv_log
sh-3.1# e2fsck -f /dev/mapper/vg_splat-lv_current
4 of 7 03/07/2018, 21:59
Check Point Gaia – Extending your disk | Network Operation Center http://www.networkoc.net/check-point-gaia-extending-your-disk/
Share this:
Author: Gos
Have been working in the IT business since 2003 and have had network and security as field of focus since 2008.
1. Reply
Alex 17 November 2014 at 15:18
So the easiest way to resize is to do it via any livecd. It does not need reboots of system.
2. Pingback: Resize Checkpoint Firewall’s Disk/Partition Space (Gaia and Splat Platform) | Network Security
Memo
3. Reply
David 20 February 2015 at 09:57
Hi,
Regards,
David
4. Reply
bun 21 September 2015 at 13:44
you need to remount the root partition with RW before resizing it. its mounted read-only in maintenance mode,
so resize2fs won’t work.
5. Reply
George 20 November 2015 at 06:41
5 of 7 03/07/2018, 21:59
Check Point Gaia – Extending your disk | Network Operation Center http://www.networkoc.net/check-point-gaia-extending-your-disk/
6. Reply
Bill 22 July 2016 at 03:05
https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&
solutionid=sk94671
7. Reply
Alexander 18 January 2017 at 13:18
Leave a Reply
Your email address will not be published. Required fields are marked *
Comment
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I comment.
About NOC
A blog about various aspects of network operations, mainly focused on technology from Cisco and Check Point.
Read more
Follow NetworkOC
Enter your email address to subscribe to this blog and receive notifications of new posts by email.
Categories
Linux
6 of 7 03/07/2018, 21:59
Check Point Gaia – Extending your disk | Network Operation Center http://www.networkoc.net/check-point-gaia-extending-your-disk/
Tag cloud
acl anti-bot backup configuration cdp certificate check point cisco Cisco ASA cli converting to lightweight disk
expansion file system FortiGate Fortimanager Fortinet freebsd gaia hardware ias ica linux mass storage drivers memory memory consumption
microsoft NAT NAT rule list nic packet capture packet tracer pki prime infrastructure rancid scripting security power sic splat ssh tcp timeout
tips and tricks upgrade_export vpn client win8.1 wireless wlc
WPMU DEVCopyright ©2018 Network Operation CenterGo back to top ↑
7 of 7 03/07/2018, 21:59