百度智能云

All Product Document

          Cloud Compute Service

          System Disk Scaling

          When you create an instance through BCC, Baidu AI Cloud provides 40 GB of free system disk. If the 40 GB of system disk can not meet your business requirements, you can scale up the system disk through the scale-up service of system disk, and the scale-up range is 40-500 GB, i.e., the system disk capacity is up to 500 GB. You need to pay for the excess part only. For the price, see CDS Disk Pricing.

          Instruction for Scale-up

          • Your instance must be in the Running status during the scale-up of system disk. In case of exception or arrears, the system disk can not be scaled up.
          • At present, the single partition system disk can be scaled up only.
          • You can only scale up or maintain the disk capacity during the scale-up of sytem disk, but can not scale down the disk capacity.
          • You need to restart your instance after the successful scale-up, which interrupts your business.
          • The scale-up of system disk does not change the IP and MAC address of your instance.
          • You can not change the disk media during scale-up. The system disk type remains unchanged.
          • To avoid the risk, Create a Snapshot before scale-up.

          The scale-up steps are as follows:

          1. Log in to the Baidu AI Cloud platform.
          2. Select "BCC" in the left navigation bar to enter the "Instance List" page.
          3. Select the instance name to scale up the system disk to enter the "Instance Details" page, and then click Current Instance Disk to enter the Disk Details page.
          4. Select the disk, and select Scale-up in More Actions, and then click Next in the pop-up menu bar to enter the "Scale-up" page.
          5. Select the capacity you want to scale up to in Change Configuration. For example, if you want to scale up the capacity to 100 GB, you need to pay for 60 GB of disk capacity only. And then click Next in the order bar on the right to pay for the order.
          6. After the successful pay for order, you also need to restart the instance or execute the script and restart the instance according to the prompt to scale up the system disk successfully.

          Restart an Instance

          After you purchase the additional system disk capacity, you need to restart the instance to make the additional capacity take effect.

          Execution Script

          For they have different operating systems and images, some users need to execute the script provided by Baidu AI Cloud, and then restart the server to make the scale-up operation take effect. If you want to execute the script, Baidu AI Cloud performs the following steps in the user script:

          1. Download the script file parted.sh.
          2. Select the instance name to execute the script, and then click "Log in to BCC Through VNC" in the action bar remotely.
          3. Click the "Send Ctrl+Alt+Del" button to send the command Ctrl+Alt+Del to the operating system.
          4. Query the short message received when you create the BCC instance initially or the information in notice, and obtain the user name and password of this instance, and then enter the user name and password to log in to the BCC operating system.

            Note:

            The user name is root in the Linux system and Administrator in the Windows system.

            If the password is reset, you need to log in to the system with the latest password.

          5. After you log in to the BCC operating system, copy the script, and then enter the commandbash parted.shfor running. The command is run successfully when it displays "Running Successful".
          6. After the successful execution of script, restart the instance to make the additional system disk capacity purchased takes effect. You can query whether the disk capacity takes effect through thelsblkcommand.
          Previous
          Overview
          Next
          Security