Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions macros/block-storage/block-storage-volume-types.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ macro: block-storage-volume-types

| Volume type | IOPS | Underlying hardware | Latency | Max volume size | Recommended use cases | Availability & resilience |
|-----------------------------------|----------|--------------------------------|---------------------|----------------------|-------------------------|----------------------------|
| `b_ssd` (Block Storage 5K legacy) | 5,000 | Legacy SSDs | High | Up to 10 TB | General-purpose workloads that do not demand high IOPS or low latency | Data is replicated three times across multiple disks for high availability and integrity |
| `sbs_5k` (Block Low Latency 5K) | 5,000 | Modern NVMe disks | Low | 5 GB to 10 TB | Development environments, web servers, and applications needing consistent performance | 99.99% SLA, triple-replicated data to safeguard against hardware failures |
| `sbs_15k` (Block Low Latency 15K) | 15,000 | Modern NVMe disks | Very low | 5 GB to 10 TB | High-performance databases, transactional applications, and I/O-intensive workloads | 99.99% SLA, triple-replicated data to safeguard against hardware failures |
| `b_ssd` (Block Storage legacy) | 5,000 | Legacy SSDs | High | Up to 10 TB | General-purpose workloads that do not demand high IOPS or | Data is replicated three times across multiple disks for high availability and integrity |
| `sbs_5k` (Block 5K) | 5,000 | Modern NVMe disks | Low | 5 GB to 10 TB | Development environments, web servers, and applications needing consistent performance | 99.99% SLA, triple-replicated data to safeguard against hardware failures |
| `sbs_15k` (Block 15K) | 15,000 | Modern NVMe disks | Very low | 5 GB to 10 TB | High-performance databases, transactional applications, and I/O-intensive workloads | 99.99% SLA, triple-replicated data to safeguard against hardware failures |
63 changes: 63 additions & 0 deletions pages/block-storage/api-cli/increasing-partition-size.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
---
title: Increasing the size of a partition
description: Learn how to increase the size of a partition within a Block Storage volume
tags: volume block-storage block resize growpart increase size
dates:
validation: 2025-10-13
posted: 2019-11-29
---
import Requirements from '@macros/iam/requirements.mdx'

The `growpart` utility allows you to resize partitions. If you have increased the size of the partition's underlying volume, for example, you can increase the size of the partition to make use of the additional space.

<Requirements />

- A Scaleway account logged into the [console](https://console.scaleway.com)
- [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
- An [Instance](/instances/concepts/#instance)
- [Attached](/block-storage/how-to/attach-a-volume/) an additional Block Storage volume to your Instance

<Message type="important">
- Make sure to make a backup of your data using the [snapshot](/block-storage/how-to/create-a-snapshot/) feature beforehand to avoid any potential data loss
- You must have partitioned your volume to follow the procedure below
- If the partition you want to resize is mounted, you must [unmount it](/block-storage/api-cli/unmounting-a-volume/) beforehand
</Message>

1. Connect to your Instance using [SSH](/instances/how-to/connect-to-instance/).

2. Use the `lsblk` command to identify your volume partition. Ensure that the partition is **not mounted before you resize it**. In the following example, we are resizing `sdb1`:

```
root@scw-festive-agnesi:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 23.3G 0 disk
├─sda1 8:1 0 23.2G 0 part /
├─sda14 8:14 0 4M 0 part
└─sda15 8:15 0 106M 0 part /boot/efi
sdb 8:16 0 38.6G 0 disk
└─sdb1 8:17 0 18.6G 0 part
```

3. Use `growpart` to increase the partition size of your Block Storage volume (here `sdb1`):

```
# Replace /dev/sdX 1 with the name of your partition
growpart /dev/sdX 1
```

An output similar to the following displays:

```
CHANGED: partition=1 start=0 old: size=39061504 end=39061504 new: size=58490880 end=58490880
```

4. Use `lsblk` to check that the partition was correctly resized. In the following output, you can see that our partition `sbd1` went from `18.6G` (step 2) to `27.9G`.
```
root@scw-festive-agnesi:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 18.6G 0 disk
├─sda1 8:1 0 18.5G 0 part /
├─sda14 8:14 0 4M 0 part
└─sda15 8:15 0 106M 0 part /boot/efi
sdb 8:16 0 27.9G 0 disk
└─sdb1 8:17 0 27.9G 0 part
2 changes: 1 addition & 1 deletion pages/block-storage/api-cli/increasing-volume-size.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Increasing the size of Block Storage volumes via the Scaleway API
description: This page explains how to increase the size of a Block Storage volume using the Scaleway API.
tags: increase expand increment raise storage volume block
dates:
validation: 2025-09-17
validation: 2025-10-13
posted: 2025-03-04
---
import Requirements from '@macros/iam/requirements.mdx'
Expand Down
236 changes: 0 additions & 236 deletions pages/block-storage/api-cli/managing-a-volume.mdx

This file was deleted.

44 changes: 44 additions & 0 deletions pages/block-storage/api-cli/transfer-local-data-to-volume.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
title: Transferring local data to a Block Storage volume
description: This page explains how to transfer local data to a Block Storage volume mounted to a Scaleway Instance.
tags: copy transfer upload rsync ftp send data file local fylesystem
dates:
validation: 2025-10-10
posted: 2025-10-10
---
import Requirements from '@macros/iam/requirements.mdx'

You can transfer files from your local machine to your Instance's remote Block volume with [rsync](https://en.wikipedia.org/wiki/Rsync), a tool for efficiently transferring and copying files. The rsync utility is pre-installed on most Linux distributions and macOS.

<Requirements />

- A Scaleway account logged into the [console](https://console.scaleway.com)
- [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
- An [Instance](/instances/concepts/#instance)
- [Attached](/block-storage/how-to/attach-a-volume/) a Block Storage volume to your Instance
- Installed [Rsync](https://rsync.samba.org/)

1. Check that rsync is installed on your local machine with the following command:
```
rsync --version
```

An output similar to the following displays:

```sh no-copy
rsync version 3.1.3 protocol version 31
```

2. Run the following command to transfer the file to your Instance's mounted block volume. Ensure that you use your own Instance's IP address:

```
rsync -a path/to/file.txt root@<your_instance_ip>:/mnt/block-volume
```

3. The file is now transferred. Connect to your Instance again, then run the command below to check that your file is present in your Block Storage volume:

```bash
ls /mnt/block-volume
```

Refer to the [official Rsync documentation](https://download.samba.org/pub/rsync/rsync.1#OPTION_SUMMARY) for more information on the different options available.
5 changes: 1 addition & 4 deletions pages/block-storage/api-cli/unmounting-a-volume.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@ title: Unmounting a Block Storage volume
description: Learn how to safely unmount a Block Storage volume from your Instance, and ensure data integrity.
tags: volume block-storage block unmount
dates:
validation: 2025-06-09
validation: 2025-10-10
posted: 2023-11-23
---
import Requirements from '@macros/iam/requirements.mdx'


## Unmounting a Block Storage volume

Unmounting a volume means detaching it from the operating system so it is no longer accessible. You can do this if you want to stop using it, prevent data corruption, or plan to [detach it](/block-storage/how-to/detach-a-volume/) from your Instance and attach it to another. This page shows you how to unmount a volume from the operating system using the `umount` command.

<Requirements />
Expand Down
2 changes: 1 addition & 1 deletion pages/block-storage/concepts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import StorageBootOnBlock from '@macros/storage/boot-on-block.mdx'

IOPS or Input/Ouptut Operations Per Second, is a unit of measurement that indicates how many read/write operations a storage device is performing per second.

Scaleway Block Storage Low Latency offers two IOPS limits:
Scaleway Block Storage offers two IOPS limits:

- 5000 IOPS (5K IOPS)
- 15 000 IOPS (15K IOPS)
Expand Down
Loading