The extra disk space has run out, the disk size has increased
Some virtual machines allow you to increase the disk size
Be sure to back up your data before you work!
To execute the following commands, you will need to connect to the PBX using an SSH client.
Control of free disk space
The data storage disk is usually mounted in the "/storage/usbdisk1" directory. From the example above, it can be seen that 4.5G of 4.9G is currently available.
Disabling the disk
Before starting work, you should unmount the disk. To do this, run the script:
Make sure that the data storage disk is no longer mounted:
Editing the Partition table
Deleting a partition
First, delete the existing partition. This operation does NOT delete data on the disk, just edits the partition table.
Launching the Section Editor:
The system will prompt you to enter a command, enter "d" and press Enter:
Система запросит выбрать раздел к удалению, он один, вводим номер раздела «1» и жмем Enter:
Сохраняем таблицу разделов, вводим команду «w» и жмем Enter:
Adding a larger section
Launching the Section Editor:
The system will prompt you to enter a command, enter "n" and press Enter:
Next, specify the command "p", the section will be primary, press Enter:
Enter the number of the created section "1", press Enter:
Next, the system will ask you to enter the numbers of the first and last sector "First sector" / "Last sector", wait for Enter, do not enter anything and agree with the "default" values.
Checking a new partition
The size of the partition must match the size of the disk.
Checking the section for errors
Run the verification command:
Example of the result of the team's work:
Partition file system size
Run the command:
Example of command output:
Rebooting and mounting
When booting, the system will automatically mount a disk for data storage:
Last updated