How Do I Increase the Size of the Root Partition of a BMS Which Is Quickly Provisioned?
Scenarios
If the root partition size of a BMS which is quickly provisioned cannot meet service requirements, you can increase the root partition size by performing the operations in this section.
Procedure
Assume that the drive letter of the BMS system disk is /dev/sdf and its initial size is 40 GB. To increase the partition size to 140 GB, perform the following operations:
- On the EVS console, add 100 GB capacity to the disk.
After the capacity expansion, check that the size of system disk /dev/sdf has been increased from 40 GB to 140 GB. The 64 MB sdf4 partition is the configdriver partition that stores the BMS configuration information.
- Run the following command to back up the content in the configdriver partition:
dd if=/dev/sdf4 of=/root/configdriver.img
- Run the fdisk /dev/sdf command and perform the operations shown in the following figure to delete the configdriver partition.
Run the partprobe command to refresh the partitions. The system disk contains the following partitions:
- Create a 100 MB configdriver partition in the system disk.
Assume that the available sector range is 83755008-293601279, the initial value of the new partition is equal to the maximum value of the available sector minus 200000, that is, 293401279. The maximum value of the new partition is 293601279.
Run the partprobe command to refresh the partition details.
- Run the following command to expand the root partition:
The size of the extended root partition is as follows:
Run the resize2fs /dev/sdf3 command to expand the file system of the root partition.
- Run the following command to restore the configdriver partition:
dd if=/root/configdriver.img of=/dev/sdf4
The capacity expansion of the BMS root partition is complete.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot