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
22 changes: 13 additions & 9 deletions pages/file-storage/how-to/mount-file-system.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,24 +28,28 @@ This page explains how to mount a file system to one or several Scaleway Instanc
3. From the **Mount** section of the **Overview** page, copy the mounting command:

```bash
mount -t virtiofs <file_system_id> /mnt
mount -t virtiofs <file_system_id> /mnt/my_fs
```

4. Open a terminal and [connect via SSH to the Instances](/instances/how-to/connect-to-instance/) you have [attached to your file system](/file-storage/how-to/attach-file-system/).
<Message type="important">
For safety reasons, we do not recommend mounting your file system directly to the `/mnt` directory, but rather to a dedicated sub-folder (such as `/mnt/my_fs`).
</Message>

5. Create a dedicated directory at the desired location (e.g. `/mnt/my_fs`) to use as a mount point.
4. Open a terminal and [connect via SSH to the Instance](/instances/how-to/connect-to-instance/) you have [attached to your file system](/file-storage/how-to/attach-file-system/).

5. Run the previously copied mount command to mount your file system. Make sure to specify the appropriate mount point:
5. Run the command below to create a dedicated directory at the desired location (e.g. `/mnt/my_fs`) to use as a mount point:

```bash
mount -t virtiofs <file_system_id> /mnt/my_fs
mkdir mnt/my_fs
```

<Message type="important">
For safety reasons, we do not recommend mounting your file system directly to the `/mnt` directory, but rather to a dedicated sub-folder (such as `/mnt/my_fs`).
</Message>
6. Run the previously copied mount command to mount your file system. Make sure to specify the appropriate mount point:

```bash
mount -t virtiofs <file_system_id> /mnt/my_fs
```

6. Run the following command to display the file systems of your Instance:
7. Run the following command to display the file systems of your Instance:

```bash
df -h
Expand Down
23 changes: 14 additions & 9 deletions pages/file-storage/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ This guide teaches you how to quickly create, attach, mount, unmount, detach, an

- 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 at least one POP2 Instance](/instances/how-to/create-an-instance/)

## How to create a file system

Expand Down Expand Up @@ -91,24 +92,28 @@ To mount a file system to an Instance, you must have [attached your file system
3. From the **Mount** section of the **Overview** page, copy the mounting command:

```bash
mount -t virtiofs <file_system_id> /mnt
mount -t virtiofs <file_system_id> /mnt/my_fs
```

<Message type="important">
For safety reasons, we do not recommend mounting your file system directly to the `/mnt` directory, but rather to a dedicated sub-folder (such as `/mnt/my_fs`).
</Message>

4. Open a terminal and [connect via SSH to the Instances](/instances/how-to/connect-to-instance/) you have [attached to your file system](/file-storage/how-to/attach-file-system/).
4. Open a terminal and [connect via SSH to the Instance](/instances/how-to/connect-to-instance/) you have [attached to your file system](/file-storage/how-to/attach-file-system/).

5. Create a dedicated directory at the desired location (e.g. `/mnt/my_fs`) to use as a mount point.
5. Run the command below to create a dedicated directory at the desired location (e.g. `/mnt/my_fs`) to use as a mount point:

5. Run the previously copied mount command to mount your file system. Make sure to specify the appropriate mount point:
```bash
mkdir mnt/my_fs
```

6. Run the previously copied mount command to mount your file system. Make sure to specify the appropriate mount point:

```bash
mount -t virtiofs <file_system_id> /mnt/my_fs
```

<Message type="important">
For safety reasons, we do not recommend mounting your file system directly to the `/mnt` directory, but rather to a dedicated sub-folder (such as `/mnt/my_fs`).
</Message>

6. Run the following command to display the file systems of your Instance:
7. Run the following command to display the file systems of your Instance:

```bash
df -h
Expand Down