---
title: "Unmount file storage from a dedicated or cloud server"
sidebar_label: "Unmount file storage"
sidebar_position: 6
description: "How to unmount file storage from a dedicated or cloud server"
---

import Formbricks from '@theme/MDXComponents/Formbricks'
import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
import {TabItemLabel} from '@selectel/docux/components'

# Unmount file storage from a dedicated or cloud server

The process of unmounting file storage from a server depends on the storage protocol: [NFSv4](#disable-storage-with-nfsv4-protocol) or [CIFS SMBv3](#disable-storage-with-cifs-smbv3-protocol).

## Unmount storage using the NFSv4 protocol \{#disable-storage-with-nfsv4-protocol}

<Tabs queryString="disable-storage-with-nfsv4-protocol">
  <TabItem value="linux" default>
    <TabItemLabel>
      Linux
    </TabItemLabel>

    1. [Connect to a cloud server](/cloud-servers/manage/connect-to-server.mdx) or [dedicated server](/dedicated/manage/connect-to-server.mdx) to which the file storage is mounted.

    2. Unmount the file storage:

       ```bash
       umount <path>
       ```

       Specify `<path>` — the path to the folder where the file storage was mounted, for example `/mnt/nfs`.
  </TabItem>

  <TabItem value="windows">
    <TabItemLabel>
      Windows
    </TabItemLabel>

    To work with file storage from Windows, we recommend using file storage with the CIFS protocol. If you need to connect storage with the NFSv4 protocol, install and use a client that supports this protocol, and then mount the file storage. To mount the file storage, refer to the documentation of your chosen client.

    File storage only works with an NFS client of the NFSv4 version. By default, Windows OS supports NFS clients of versions NFSv2 and NFSv3. Learn more about NFS versions in the [NFS Overview](https://learn.microsoft.com/ru-ru/windows-server/storage/nfs/nfs-overview) article in the Microsoft documentation.

    If you used a third-party client that supports NFSv4 to mount the storage, refer to the documentation for your chosen client to unmount the file storage.
  </TabItem>
</Tabs>

## Unmount storage using the CIFS SMBv3 protocol \{#disable-storage-with-cifs-smbv3-protocol}

<Tabs queryString="disable-storage-with-cifs-smbv3-protocol">
  <TabItem value="linux" default>
    <TabItemLabel>
      Linux
    </TabItemLabel>

    1. [Connect to a cloud server](/cloud-servers/manage/connect-to-server.mdx) or [dedicated server](/dedicated/manage/connect-to-server.mdx) to which the file storage is mounted.

    2. Unmount the file storage:

       ```bash
       umount <path>
       ```

       Specify `<path>` — the path to the folder where the file storage was mounted, for example `/mnt/cifs`.
  </TabItem>

  <TabItem value="windows">
    <TabItemLabel>
      Windows
    </TabItemLabel>

    1. [Connect to a cloud server](/cloud-servers/manage/connect-to-server.mdx) or [dedicated server](/dedicated/manage/connect-to-server.mdx) to which the file storage is mounted.

    2. Unmount the file storage:

       ```bash
       net use X: /delete
       ```
  </TabItem>
</Tabs>

<Formbricks />
