Skip to content

Commit d4b48ce

Browse files
committed
fix(fls): update
1 parent 9639598 commit d4b48ce

File tree

2 files changed

+24
-7
lines changed

2 files changed

+24
-7
lines changed

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

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,31 @@ This page explains how to mount a file system to one or several Scaleway Instanc
3333

3434
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/).
3535

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:
3739

3840
```sh
3941
mount -t virtiofs <file_system_id> /mnt/my_fs
4042
```
4143

4244
<Message type="important">
43-
- You can specify a different mount point by replacing `/mnt` by the desired directory.
44-
- We recommend creating a dedicated directory to mount your file system, such as `/mnt/my_fs`
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`).
4546
</Message>
4647

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:
55+
56+
```sh
57+
Filesystem Size Used Avail Use% Mounted on
58+
tmpfs 794M 992K 793M 1% /run
59+
/dev/sda1 8.0G 2.1G 6.0G 26% /
60+
/dev/sda2 881M 61M 758M 8% /boot
61+
2933ea63-example-file-system-c05fe2 94G 0 94G 0% /mnt/my_fs
62+
4763
Your file system is now mounted and accessible from the specified mount point in your Instance.

pages/file-storage/quickstart.mdx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,17 +92,18 @@ To mount a file system to an Instance, you must have [attached your file system
9292
mount -t virtiofs <file_system_id> /mnt
9393
```
9494

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.
9698

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:
98100

99101
```sh
100102
mount -t virtiofs <file_system_id> /mnt/my_fs
101103
```
102104

103105
<Message type="important">
104-
- You can specify a different mount point by replacing `/mnt` by the desired directory.
105-
- We recommend creating a dedicated directory to mount your file system, such as `/mnt/my_fs`
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`).
106107
</Message>
107108

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

0 commit comments

Comments
 (0)