Increasing disk space in PFSense 2.3

After increasing the disk in the control panel, you need to make available to the operating system:

In order to check the correctness of the performed actions, you can use the commandgpart show -p

  1. Open a terminal (see connection instructions ) as root and enter the following commands:
  2. Select the menu item “Enter an option: 8
  3. Disable Swapswapoff //label/swap0
  4. Delete partition from Swapgpart delete -i 2 da0s1
  5. Expanding the first disk slicegpart resize -i 1 da0
  6. Applying Changesgpart commit da0s1
  7. Expanding the first disk partitiongpart resize -i 1 -s XG da0s1
  8. Adding a section with Swapgpart add -t freebsd-swap da0s1
  9. We put a label on the section with Swapglabel label swap0 /dev/da0s1bsed -i "" 's/dev/ufsid/[a-z0-9]*/dev/da0s1a/g' /etc/fstab
  10. Reboot the serverreboot
  11. Expanding the partition’s file systemgrowfs -y /dev/da0s1a

Done!

 

Welcome to the world of DomainRooster, where roosters (and hens) rule the roost! We're a one-stop shop for all your entrepreneurial needs, bringing together domain names and website hosting, and all the tools you need to bring your ideas to life. With our help, you'll soar to new heights and hatch great success. Think of us as your trusty sidekick, always there to lend a wing and help you navigate the sometimes-complex world of domain names and web hosting. Our team of roosters are experts in their fields and are always on hand to answer any questions and provide guidance. So why wait? Sign up today and join the ranks of the world's greatest entrepreneurs. With DomainRooster, the sky's the limit! And remember, as the saying goes, "Successful people do what unsuccessful people are not willing to do." So don't be afraid to take that leap of faith - DomainRooster is here to help you reach for the stars. Caw on!