> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://helpdesk.gbcloud.net/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Extend a Volume?

This guide will walk you through the process of extend a volume on your cloud control panel.

|| To extend a Volume, you must  follow the proper step. Firstly, the user must [__create__](https://helpdesk.gbcloud.net/en/article/how-to-create-a-volume-u3g0eo/) volume to the instance.

1. From the left sidebar, navigate to the **Volumes** tab, and select the volume that you want to extend.
![](https://storage.crisp.chat/users/helpdesk/website/-/4/5/e/a/45ea6b0d34729400/k_wiv8g4.png)

2. Click on the **Extend Volume** icon on the right side of the page.
![](https://storage.crisp.chat/users/helpdesk/website/-/4/5/e/a/45ea6b0d34729400/q_1sqy5ts.png)

3. In the pop-up window, type the desired new size in the **Size** field, and click **Extend** after entering the new size for user Volume.
![](https://storage.crisp.chat/users/helpdesk/website/-/4/5/e/a/45ea6b0d34729400/dua_8g6358.png)

3. After extending the volume size, you needs to **detach** and **re-attach** the volume to the Instance. 

|| For detailed steps on how to detach and attach a volume, refer to this guide: [How to Detach a Volume](https://helpdesk.gbcloud.net/en/article/how-to-detach-a-volume-rg24oy/) and [How to Attach a Volume](https://helpdesk.gbcloud.net/en/article/how-to-attach-a-volume-flu6q0/).

4.  Access the instance via SSH or the console. Then, check for filesystem issues using this command:

* `e2fsck -f /dev/vdb`
![](https://storage.crisp.chat/users/helpdesk/website/-/4/5/e/a/45ea6b0d34729400/5_1k9rphn.png =666xauto)

||| Important: If you mount the volume you **must unmount** the volume first before running the command. Use the command below to unmount the volume:

* `umount /dev/vdb`
![](https://storage.crisp.chat/users/helpdesk/website/-/4/5/e/a/45ea6b0d34729400/w_a01y5t.png =400x58)


5. Using this command to use the new volume capacity, resize the filesystem:

* `resize2fs /dev/vdb`  
![](https://storage.crisp.chat/users/helpdesk/website/-/4/5/e/a/45ea6b0d34729400/6_4oqk6e.png =667xauto)

6. Then, need to mount the volume again using this command:

* `mount /dev/vdb /Volume` 
![](https://storage.crisp.chat/users/helpdesk/website/-/4/5/e/a/45ea6b0d34729400/7_qn2its.png =450xauto)

| You have successfully extend a volume.

If you face any issues or need assistance, don’t hesitate to reach out — **our support team is always ready to help!**

🔧 **Need help?** [__Submit a Support Ticket__](https://billing.gbcloud.net/submitticket.php?step=2&deptid=2)
💬 **Chat with us on Live Chat via our** [website](https://www.gbcloud.net/)