- Products
- Learn
- Local User Groups
- Partners
- More
Check Point Jump-Start Online Training
Now Available on CheckMates for Beginners!
Welcome to Maestro Masters!
Talk to Masters, Engage with Masters, Be a Maestro Master!
ZTNA Buyer’s Guide
Zero Trust essentials for your most valuable assets
The SMB Cyber Master
Boost your knowledge on Quantum Spark SMB gateways!
Check Point's Cyber Park is Now Open
Let the Games Begin!
As YOU DESERVE THE BEST SECURITY
Upgrade to our latest GA Jumbo
CheckFlix!
All Videos In One Space
I am trying to resize one of my paritions because it keeps complaining that /opt is low on space.
I followed the instructions in the link below:
Step 4 worked - lvresize -L 11G vg_splat/lv_current
But step 5 gives me the following error:
[Expert@r80_mgr:0]# resize2fs /dev/vg_splat-lv_current
resize2fs 1.42.9 (28-Dec-2013)
open: No such file or directory while opening /dev/vg_splat-lv_current
Any help would be appreciated.
Thanks
you can use xfs_growfs /dev/vg_splat/lv_current instead of resize2fs /dev/vg_splat/lv_current after R80.3 later
I know this thread is quite old but I think my input might help someone out there.
Firstly, You got that error because you did not reference the full file path : /dev/mapper/vg_splat-lv_log.
So the command should be below.
[Expert@r80_mgr:0]# resize2fs /dev/mapper/vg_splat-lv_log
Secondly if that command does not work and comes up with the error:
"resize2fs: Bad magic number in super-block while trying to open /dev/mapper/vg_splat-lv_log
Couldn't find valid filesystem superblock."
Use this command instead: xfx_growfs
[Expert@r80_mgr:0]#xfs_growfs /dev/mapper/vg_splat-lv_log
Have you tried Managing partition sizes via LVM manager on Gaia OS ?
Hi
Did you tried this?
https://community.checkpoint.com/thread/10253-how-to-add-a-new-disk-and-expand-the-log-file-system
Best regards
Kim
Tired both and had no luck. Ended up building a new R80.20 Manager with a bigger HD. The good thing is I learned how easy it is to backup and restore a Checkpoint Manager. Worked without issue.
Thanks for all the suggestions/help
Check out the following sk131332 How to resize XFS partitions in R80.20
"R80.20 has moved from the ext3 file system to the XFS file system for its lv_log and lv_current partitions. Resize2fs does not work on XFS. As a result, you will not be able to add disk space as per sk114115"
Is there a problem with getting to that SK article? I keep getting the error
|
I'd really like to read the document as I have a partition I'd like to resize but I don't want to mess it up.
It still not working for me, I can't see any reason why this should not be visible, can CP please explain why this is not accessible?
Hi,
sk95566 is open to every logged in user. I just checked it again and did not experience any issues. If you are logged in with your User Center credentials and still experience the issue, even when trying using an incognito window (to rule out cache issues) , please contact me privately (rzel@checkpoint.com) and we will get to the bottom of it.
sk131332 - is not accessible.
Hi,
sk131332 was deleted on April 2019 since it was wrong and misleading. Did you encounter a reference to it recently? If so can you share where?
Great, thanks. That explains things.
Can confirm, used lvm_manager two weeks ago on R80.40 to grow the /var/log partition and it worked fine.
Timothy - thanks for the confirmation, I assume as this is xfs filesystem this would imply R81.x would also work, and the same consideration applies i.e. you can increase diskspace only.
because this commande resize2fs /dev/vg_splat-lv_current is not correct
the correct command is resize2fs /dev/vg_splat/lv_current
you can use xfs_growfs /dev/vg_splat/lv_current instead of resize2fs /dev/vg_splat/lv_current after R80.3 later
as Checkpoint seem to tease with the SK (but not actually let us have access to it), would it not be simpler to just update the lvm_manager tool so we could carry on using this (or does this just work, not personally tried it)
I know this thread is quite old but I think my input might help someone out there.
Firstly, You got that error because you did not reference the full file path : /dev/mapper/vg_splat-lv_log.
So the command should be below.
[Expert@r80_mgr:0]# resize2fs /dev/mapper/vg_splat-lv_log
Secondly if that command does not work and comes up with the error:
"resize2fs: Bad magic number in super-block while trying to open /dev/mapper/vg_splat-lv_log
Couldn't find valid filesystem superblock."
Use this command instead: xfx_growfs
[Expert@r80_mgr:0]#xfs_growfs /dev/mapper/vg_splat-lv_log
About CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY