---
title: How to unmount a Block Storage volume
description: This guide explains how to safely unmount a Block Storage volume from your Scaleway Instance to avoid data loss.
tags: unmount umount disconnect unlink block volume
dates:
  validation: 2025-10-21
  posted: 2019-11-29
---
import Requirements from '@macros/iam/requirements.mdx'

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 />

- 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
- Created an [SSH key](/organizations-and-projects/how-to/create-ssh-key/)
- Created an [Instance](/instances/how-to/create-an-instance/) with a Block Storage volume [attached](/block-storage/how-to/attach-a-volume/) and [mounted](/block-storage/how-to/mount-a-volume/) to it


1. Open a terminal and use the following command to [connect to your Instance](/instances/how-to/connect-to-instance/). Make sure that you replace `<your_instance_ip>` with your Instance's IP. You can also find the SSH command in your Instance's **Overview** tab in the Scaleway console.

    ```bash
    ssh root@<your_instance_ip>
    ```

2. Run the `lsblk` command to check where your volume is mounted. An output similar to the following displays:

    ```bash
    root@scw-heuristic-shtern:~# lsblk
    NAME    MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
    sdb       8:0    0 18.6G  0 disk /mnt/block-volume
    ```

3. Run the command below to unmount the volume to remove it from your current setup. Replace `/mnt/block-volume` with your mount point.

    ```bash
    umount /mnt/block-volume
    ```

4.  Check that the volume is no longer mounted in the system with `lsblk`. The `sdb` volume is no longer mounted at `/mnt/block-volume`.

    ```bash
    root@scw-festive-agnesi:~# lsblk
    NAME    MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
    sdb       8:0    0 18.6G  0 disk
    ```

5. If you used [Persistent Mounting](/block-storage/how-to/mount-a-volume/#using-fstab-for-persistent-mounting), edit the `/etc/fstab` file and delete the line corresponding to your block volume.

Your Block Storage volume is now unmounted from your Instance.