Skip to content

Commit d403394

Browse files
fix(fls): fix link to API doc + other fixes (#5327)
* fix(fls): fix link to API doc * fix(fls): update * fix(fls): update * fix(fls): update * fix(fls): update
1 parent 43fd448 commit d403394

File tree

4 files changed

+34
-13
lines changed

4 files changed

+34
-13
lines changed

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

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,32 @@ 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
39-
mount -t virtiofs <file_system_id> /mnt
41+
mount -t virtiofs <file_system_id> /mnt/my_fs
4042
```
4143

42-
<Message type="note">
43-
You can specify a different mount point by replacing `/mnt` by the desired directory.
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`).
4446
</Message>
4547

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+
```
63+
4664
Your file system is now mounted and accessible from the specified mount point in your Instance.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ This page explains how to unmount a file system from one or several Scaleway Ins
3232
5. Run the following command. Make sure to replace the placeholder and mount point with the appropriate values:
3333

3434
```sh
35-
unmount <file_system_id> /mnt
35+
umount /mnt/my_fs
3636
```
3737

3838
Your file system is now unmounted from the specified Instance.

pages/file-storage/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ description: Explore Scaleway File Storage with quickstart guides, how-tos, and
4949
productLogo="cli"
5050
title="File Storage API"
5151
description="Manage File Storage using the Scaleway API."
52-
url="https://www.scaleway.com/en/developers/api/file/"
52+
url="https://www.scaleway.com/en/developers/api/file-storage/"
5353
label="Go to File Storage API"
5454
/>
5555

pages/file-storage/quickstart.mdx

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,16 +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
100-
mount -t virtiofs <file_system_id> /mnt
102+
mount -t virtiofs <file_system_id> /mnt/my_fs
101103
```
102104

103-
<Message type="note">
104-
You can specify a different mount point by replacing `/mnt` by the desired directory.
105+
<Message type="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`).
105107
</Message>
106108

107109
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
117119
tmpfs 794M 992K 793M 1% /run
118120
/dev/sda1 8.0G 2.1G 6.0G 26% /
119121
/dev/sda2 881M 61M 758M 8% /boot
120-
2933ea63-example-file-system-c05fe2 94G 0 94G 0% /mnt
122+
2933ea63-example-file-system-c05fe2 94G 0 94G 0% /mnt/my_fs
123+
```
121124

122125
Your file system is now mounted and accessible from the specified mount point in your Instance.
123126

@@ -134,7 +137,7 @@ Your file system is now mounted and accessible from the specified mount point in
134137
5. Run the following command. Make sure to replace the placeholder and mount point with the appropriate values:
135138

136139
```sh
137-
unmount <file_system_id> /mnt
140+
umount /mnt/my_fs
138141
```
139142

140143
Your file system is now unmounted from the specified Instance.

0 commit comments

Comments
 (0)