Wednesday, March 19, 2014

How to add space to a Checkpoint firewall

here is a brief procedure on how to add space when you run out of it on a Checkpoint firewall.
Of course this procedure applies to any Linux box.



  1. add disk to system
  2. check with fdisk -l that disk is visible
  3. create partition on system via fdisk and assign type LVM 0x8e (i.e. /dev/sdb1)
  4. pvcreate /dev/sdb1
  5. vgextend VGname Partition ( i.e. vgextend vg_splat /dev/sdb1 )
  6. launch utility lvm_manager
  7. choose to resize the logical volume that needs to be resized

But what if the disk is bigger than 2TB ?
fdisk does not support this kind of disk so you need to use parted

Let's say that you have an HP server and a logical drive with this device driver
/dev/cciss/c0d1
  1. parted
  2. select /dev/cciss/c0d1
  3. mklabel gpt (to create a GPT table )
  4. mkpart primary 0 -1 ( to create a partition using all disk space)
  5. set 1 lvm on ( to change type of partition to LVM)
  6. quit
At this point you can run pvcreate and vgextend as before using /dev/cciss/c0d1p1 partition.


No comments:

Post a Comment