After increasing the disk in the control panel, you need to make it available to the operating system:
In order to check the correctness of the performed actions, you can use the commandgpart show -p
- Open a terminal (see connection instructions ) as root and enter the following commands:
- Select the menu item “Shell”
Enter an option: 8
- Disable Swap
swapoff /dev/label/swap0
- Delete partition from Swap
gpart delete -i 2 da0s1
- Expanding the first disk slice
gpart resize -i 1 da0
- Applying Changes
gpart commit da0s1
- Expanding the first disk partition
gpart resize -i 1 -s XG da0s1
- Adding a section with Swap
gpart add -t freebsd-swap da0s1
- We put a label on the section with Swap
glabel label swap0 /dev/da0s1b
sed -i "" 's/dev/ufsid/[a-z0-9]*/dev/da0s1a/g' /etc/fstab
- Reboot the server
reboot
- Expanding the partition’s file system
growfs -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!