Skip to content

Commit a0b822c

Browse files
committed
fix(fls): update mount command with subfolder
1 parent fe15699 commit a0b822c

File tree

2 files changed

+27
-18
lines changed

2 files changed

+27
-18
lines changed

pages/file-storage/how-to/mount-file-system.mdx

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,24 +28,28 @@ This page explains how to mount a file system to one or several Scaleway Instanc
2828
3. From the **Mount** section of the **Overview** page, copy the mounting command:
2929

3030
```bash
31-
mount -t virtiofs <file_system_id> /mnt
31+
mount -t virtiofs <file_system_id> /mnt/my_fs
3232
```
3333

34-
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/).
34+
<Message type="important">
35+
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`).
36+
</Message>
3537

36-
5. Create a dedicated directory at the desired location (e.g. `/mnt/my_fs`) to use as a mount point.
38+
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/).
3739

38-
5. Run the previously copied mount command to mount your file system. Make sure to specify the appropriate mount point:
40+
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:
3941

4042
```bash
41-
mount -t virtiofs <file_system_id> /mnt/my_fs
43+
mkdir mnt/my_fs
4244
```
4345

44-
<Message type="important">
45-
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`).
46-
</Message>
46+
6. Run the previously copied mount command to mount your file system. Make sure to specify the appropriate mount point:
47+
48+
```bash
49+
mount -t virtiofs <file_system_id> /mnt/my_fs
50+
```
4751

48-
6. Run the following command to display the file systems of your Instance:
52+
7. Run the following command to display the file systems of your Instance:
4953

5054
```bash
5155
df -h

pages/file-storage/quickstart.mdx

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ This guide teaches you how to quickly create, attach, mount, unmount, detach, an
2121

2222
- A Scaleway account logged into the [console](https://console.scaleway.com)
2323
- [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
24+
- [Created at least one POP2 Instance](/instances/how-to/create-an-instance/)
2425

2526
## How to create a file system
2627

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

9394
```bash
94-
mount -t virtiofs <file_system_id> /mnt
95+
mount -t virtiofs <file_system_id> /mnt/my_fs
9596
```
97+
98+
<Message type="important">
99+
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`).
100+
</Message>
96101

97-
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/).
102+
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/).
98103

99-
5. Create a dedicated directory at the desired location (e.g. `/mnt/my_fs`) to use as a mount point.
104+
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:
100105

101-
5. Run the previously copied mount command to mount your file system. Make sure to specify the appropriate mount point:
106+
```bash
107+
mkdir mnt/my_fs
108+
```
109+
110+
6. Run the previously copied mount command to mount your file system. Make sure to specify the appropriate mount point:
102111

103112
```bash
104113
mount -t virtiofs <file_system_id> /mnt/my_fs
105114
```
106115

107-
<Message type="important">
108-
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`).
109-
</Message>
110-
111-
6. Run the following command to display the file systems of your Instance:
116+
7. Run the following command to display the file systems of your Instance:
112117

113118
```bash
114119
df -h

0 commit comments

Comments
 (0)