---
title: "Change network volume capacity"
sidebar_label: "Change network volume capacity"
sidebar_position: 7
description: "How to change network volume capacity"
---

import MoreVerticalIcon from '@selectel/docux/icons/more-vertical'
import Formbricks from '@theme/MDXComponents/Formbricks'

# Change network volume capacity

The disk size can only be increased; each GB of network volumes is charged. For more details, see the [Network volume payment model and prices](/block-storage/about/payment.mdx) guide. You cannot decrease the disk size after it has been created. The maximum network volume size depends on its type; for more details, see the [Network volume limits](/block-storage/about/about-block-storage.mdx#block-storage-limits) table.

1. [Change the network volume capacity in the control panel](#change-block-storage-size).
2. [Update the iSCSI session and file system on the server](#update-iscsi-session-and-file-system).

## 1. Change the network volume capacity in the control panel \{#change-block-storage-size}

1. In the control panel, on the top menu, click **Products** and select **Dedicated Servers**.
2. Go to the **Network Volumes and Storage** section.
3. Open the **Network Volumes** tab.
4. In the <MoreVerticalIcon /> disk menu, select **Resize**.
5. Specify the disk size in GB. You will not be able to reduce the size of the network volume.
6. Click **Save**.

## 2. Update the iSCSI session and the network volume capacity on the server \{#update-iscsi-session-and-file-system}

1. [Connect to the server via SSH](/dedicated/manage/connect-to-server.mdx#connect-via-ssh) or through the [KVM console](/dedicated/manage/connect-to-server.mdx#connect-via-kvm-console).

2. Update the iSCSI session:

   ```bash
   iscsiadm --mode session --rescan
   ```

3. Output the network volume information:

   ```bash
   multipath -ll
   ```

4. Update the multipathd session. If multiple network volumes are connected to the server, update the session for each network volume:

   ```bash
   multipathd resize map <block_storage_name>
   ```

   Specify `<block_storage_name>` — the network volume name that you obtained in step 3, for example `mpatha`.

5. Output information about partitions on the disks:

   ```bash
   lsblk
   ```

6. Update the network volume partition capacity:

   ```bash
   resize2fs /dev/<partition>
   ```

   Specify `<partition>` — the network volume partition that you obtained in step 5, for example `mpatha1`.

<Formbricks />
