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
+22-4Lines changed: 22 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,14 +33,32 @@ This page explains how to mount a file system to one or several Scaleway Instanc
33
33
34
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/).
35
35
36
-
5. Run the previously copied mount command to mount your file system at the specified mount point (`/mnt` by default):
36
+
5. Create a dedicated directory at the desired location (e.g. `/mnt/my_fs`) to use as a mount point.
37
+
38
+
5. Run the previously copied mount command to mount your file system. Make sure to specify the appropriate mount point:
37
39
38
40
```sh
39
-
mount -t virtiofs <file_system_id> /mnt
41
+
mount -t virtiofs <file_system_id> /mnt/my_fs
40
42
```
41
43
42
-
<Messagetype="note">
43
-
You can specify a different mount point by replacing `/mnt`by the desired directory.
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`).
44
46
</Message>
45
47
48
+
6. Run the following command to display the file systems of your Instance:
49
+
50
+
```sh
51
+
df -h
52
+
```
53
+
54
+
A list of your file systems displays, containing the one you just mounted:
Copy file name to clipboardExpand all lines: pages/file-storage/quickstart.mdx
+10-7Lines changed: 10 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,16 +92,18 @@ To mount a file system to an Instance, you must have [attached your file system
92
92
mount -t virtiofs <file_system_id> /mnt
93
93
```
94
94
95
-
4. Open a terminal and [connect via SSH to the Instances](/instances/how-to/connect-to-instance/) you previously [attached to your file system](/file-storage/how-to/attach-file-system/).
95
+
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/).
96
+
97
+
5. Create a dedicated directory at the desired location (e.g. `/mnt/my_fs`) to use as a mount point.
96
98
97
-
5. Run the previously copied mount command to mount your file system at the specified mount point (`/mnt` by default):
99
+
5. Run the previously copied mount command to mount your file system. Make sure to specify the appropriate mount point:
98
100
99
101
```sh
100
-
mount -t virtiofs <file_system_id> /mnt
102
+
mount -t virtiofs <file_system_id> /mnt/my_fs
101
103
```
102
104
103
-
<Messagetype="note">
104
-
You can specify a different mount point by replacing `/mnt`by the desired directory.
105
+
<Messagetype="important">
106
+
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`).
105
107
</Message>
106
108
107
109
6. Run the following command to display the file systems of your Instance:
@@ -117,7 +119,8 @@ To mount a file system to an Instance, you must have [attached your file system
0 commit comments