You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/file-storage/how-to/mount-file-system.mdx
+13-9Lines changed: 13 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,24 +28,28 @@ This page explains how to mount a file system to one or several Scaleway Instanc
28
28
3. From the **Mount** section of the **Overview** page, copy the mounting command:
29
29
30
30
```bash
31
-
mount -t virtiofs <file_system_id> /mnt
31
+
mount -t virtiofs <file_system_id> /mnt/my_fs
32
32
```
33
33
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
+
<Messagetype="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>
35
37
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/).
37
39
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:
39
41
40
42
```bash
41
-
mount -t virtiofs <file_system_id> /mnt/my_fs
43
+
mkdir mnt/my_fs
42
44
```
43
45
44
-
<Messagetype="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
+
```
47
51
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:
Copy file name to clipboardExpand all lines: pages/file-storage/quickstart.mdx
+14-9Lines changed: 14 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,7 @@ This guide teaches you how to quickly create, attach, mount, unmount, detach, an
21
21
22
22
- A Scaleway account logged into the [console](https://console.scaleway.com)
23
23
-[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/)
24
25
25
26
## How to create a file system
26
27
@@ -91,24 +92,28 @@ To mount a file system to an Instance, you must have [attached your file system
91
92
3. From the **Mount** section of the **Overview** page, copy the mounting command:
92
93
93
94
```bash
94
-
mount -t virtiofs <file_system_id> /mnt
95
+
mount -t virtiofs <file_system_id> /mnt/my_fs
95
96
```
97
+
98
+
<Messagetype="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>
96
101
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/).
98
103
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:
100
105
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:
102
111
103
112
```bash
104
113
mount -t virtiofs <file_system_id> /mnt/my_fs
105
114
```
106
115
107
-
<Messagetype="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:
0 commit comments