From e084290f464e109d28f98ee3ff6d0e3d38bbb4b6 Mon Sep 17 00:00:00 2001 From: SamyOubouaziz Date: Thu, 24 Jul 2025 10:16:18 +0200 Subject: [PATCH 1/5] fix(fls): fix link to API doc --- pages/file-storage/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/file-storage/index.mdx b/pages/file-storage/index.mdx index 367174dde8..2d70d98175 100644 --- a/pages/file-storage/index.mdx +++ b/pages/file-storage/index.mdx @@ -49,7 +49,7 @@ description: Explore Scaleway File Storage with quickstart guides, how-tos, and productLogo="cli" title="File Storage API" description="Manage File Storage using the Scaleway API." - url="https://www.scaleway.com/en/developers/api/file/" + url="https://www.scaleway.com/en/developers/api/file-storage/" label="Go to File Storage API" /> From 96395987bfec1d2438fa0f4542a41ea380301821 Mon Sep 17 00:00:00 2001 From: SamyOubouaziz Date: Thu, 24 Jul 2025 10:49:44 +0200 Subject: [PATCH 2/5] fix(fls): update --- pages/file-storage/how-to/mount-file-system.mdx | 7 ++++--- pages/file-storage/how-to/unmount-file-system.mdx | 2 +- pages/file-storage/quickstart.mdx | 11 ++++++----- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/pages/file-storage/how-to/mount-file-system.mdx b/pages/file-storage/how-to/mount-file-system.mdx index 2650817114..2d1e248e2c 100644 --- a/pages/file-storage/how-to/mount-file-system.mdx +++ b/pages/file-storage/how-to/mount-file-system.mdx @@ -36,11 +36,12 @@ This page explains how to mount a file system to one or several Scaleway Instanc 5. Run the previously copied mount command to mount your file system at the specified mount point (`/mnt` by default): ```sh - mount -t virtiofs /mnt + mount -t virtiofs /mnt/my_fs ``` - - You can specify a different mount point by replacing `/mnt` by the desired directory. + + - You can specify a different mount point by replacing `/mnt` by the desired directory. + - We recommend creating a dedicated directory to mount your file system, such as `/mnt/my_fs` Your file system is now mounted and accessible from the specified mount point in your Instance. diff --git a/pages/file-storage/how-to/unmount-file-system.mdx b/pages/file-storage/how-to/unmount-file-system.mdx index df8aee23ac..aeb78002be 100644 --- a/pages/file-storage/how-to/unmount-file-system.mdx +++ b/pages/file-storage/how-to/unmount-file-system.mdx @@ -32,7 +32,7 @@ This page explains how to unmount a file system from one or several Scaleway Ins 5. Run the following command. Make sure to replace the placeholder and mount point with the appropriate values: ```sh - unmount /mnt + umount /mnt/my_fs ``` Your file system is now unmounted from the specified Instance. diff --git a/pages/file-storage/quickstart.mdx b/pages/file-storage/quickstart.mdx index 82b039f303..fb5aefd52b 100644 --- a/pages/file-storage/quickstart.mdx +++ b/pages/file-storage/quickstart.mdx @@ -97,11 +97,12 @@ To mount a file system to an Instance, you must have [attached your file system 5. Run the previously copied mount command to mount your file system at the specified mount point (`/mnt` by default): ```sh - mount -t virtiofs /mnt + mount -t virtiofs /mnt/my_fs ``` - - You can specify a different mount point by replacing `/mnt` by the desired directory. + + - You can specify a different mount point by replacing `/mnt` by the desired directory. + - We recommend creating a dedicated directory to mount your file system, such as `/mnt/my_fs` 6. Run the following command to display the file systems of your Instance: @@ -117,7 +118,7 @@ To mount a file system to an Instance, you must have [attached your file system tmpfs 794M 992K 793M 1% /run /dev/sda1 8.0G 2.1G 6.0G 26% / /dev/sda2 881M 61M 758M 8% /boot - 2933ea63-example-file-system-c05fe2 94G 0 94G 0% /mnt + 2933ea63-example-file-system-c05fe2 94G 0 94G 0% /mnt/my_fs Your file system is now mounted and accessible from the specified mount point in your Instance. @@ -134,7 +135,7 @@ Your file system is now mounted and accessible from the specified mount point in 5. Run the following command. Make sure to replace the placeholder and mount point with the appropriate values: ```sh - unmount /mnt + umount /mnt/my_file_system ``` Your file system is now unmounted from the specified Instance. From d4b48cebddb226cd574ae398276dc199d7c80f2a Mon Sep 17 00:00:00 2001 From: SamyOubouaziz Date: Thu, 24 Jul 2025 14:25:40 +0200 Subject: [PATCH 3/5] fix(fls): update --- .../file-storage/how-to/mount-file-system.mdx | 22 ++++++++++++++++--- pages/file-storage/quickstart.mdx | 9 ++++---- 2 files changed, 24 insertions(+), 7 deletions(-) diff --git a/pages/file-storage/how-to/mount-file-system.mdx b/pages/file-storage/how-to/mount-file-system.mdx index 2d1e248e2c..793caca0ac 100644 --- a/pages/file-storage/how-to/mount-file-system.mdx +++ b/pages/file-storage/how-to/mount-file-system.mdx @@ -33,15 +33,31 @@ This page explains how to mount a file system to one or several Scaleway Instanc 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/). -5. Run the previously copied mount command to mount your file system at the specified mount point (`/mnt` by default): +5. Create a dedicated directory at the desired location (e.g. `/mnt/my_fs`) to use as a mount point. + +5. Run the previously copied mount command to mount your file system. Make sure to specify the appropriate mount point: ```sh mount -t virtiofs /mnt/my_fs ``` - - You can specify a different mount point by replacing `/mnt` by the desired directory. - - We recommend creating a dedicated directory to mount your file system, such as `/mnt/my_fs` + 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`). +6. Run the following command to display the file systems of your Instance: + + ```sh + df -h + ``` + + A list of your file systems displays, containing the one you just mounted: + + ```sh + Filesystem Size Used Avail Use% Mounted on + tmpfs 794M 992K 793M 1% /run + /dev/sda1 8.0G 2.1G 6.0G 26% / + /dev/sda2 881M 61M 758M 8% /boot + 2933ea63-example-file-system-c05fe2 94G 0 94G 0% /mnt/my_fs + Your file system is now mounted and accessible from the specified mount point in your Instance. diff --git a/pages/file-storage/quickstart.mdx b/pages/file-storage/quickstart.mdx index fb5aefd52b..9f92fb96cb 100644 --- a/pages/file-storage/quickstart.mdx +++ b/pages/file-storage/quickstart.mdx @@ -92,17 +92,18 @@ To mount a file system to an Instance, you must have [attached your file system mount -t virtiofs /mnt ``` -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/). +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/). + +5. Create a dedicated directory at the desired location (e.g. `/mnt/my_fs`) to use as a mount point. -5. Run the previously copied mount command to mount your file system at the specified mount point (`/mnt` by default): +5. Run the previously copied mount command to mount your file system. Make sure to specify the appropriate mount point: ```sh mount -t virtiofs /mnt/my_fs ``` - - You can specify a different mount point by replacing `/mnt` by the desired directory. - - We recommend creating a dedicated directory to mount your file system, such as `/mnt/my_fs` + 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`). 6. Run the following command to display the file systems of your Instance: From c0cd52ccc54e170c9e9374fe8edf8c268ba427a4 Mon Sep 17 00:00:00 2001 From: SamyOubouaziz Date: Thu, 24 Jul 2025 14:26:52 +0200 Subject: [PATCH 4/5] fix(fls): update --- pages/file-storage/how-to/mount-file-system.mdx | 1 + pages/file-storage/quickstart.mdx | 1 + 2 files changed, 2 insertions(+) diff --git a/pages/file-storage/how-to/mount-file-system.mdx b/pages/file-storage/how-to/mount-file-system.mdx index 793caca0ac..89d99a2807 100644 --- a/pages/file-storage/how-to/mount-file-system.mdx +++ b/pages/file-storage/how-to/mount-file-system.mdx @@ -59,5 +59,6 @@ This page explains how to mount a file system to one or several Scaleway Instanc /dev/sda1 8.0G 2.1G 6.0G 26% / /dev/sda2 881M 61M 758M 8% /boot 2933ea63-example-file-system-c05fe2 94G 0 94G 0% /mnt/my_fs + ``` Your file system is now mounted and accessible from the specified mount point in your Instance. diff --git a/pages/file-storage/quickstart.mdx b/pages/file-storage/quickstart.mdx index 9f92fb96cb..0e7f60f1cd 100644 --- a/pages/file-storage/quickstart.mdx +++ b/pages/file-storage/quickstart.mdx @@ -120,6 +120,7 @@ To mount a file system to an Instance, you must have [attached your file system /dev/sda1 8.0G 2.1G 6.0G 26% / /dev/sda2 881M 61M 758M 8% /boot 2933ea63-example-file-system-c05fe2 94G 0 94G 0% /mnt/my_fs + ``` Your file system is now mounted and accessible from the specified mount point in your Instance. From 5fceaddda0de1fbce0609ade3adbc06eca7ef791 Mon Sep 17 00:00:00 2001 From: SamyOubouaziz Date: Thu, 24 Jul 2025 14:34:40 +0200 Subject: [PATCH 5/5] fix(fls): update --- pages/file-storage/quickstart.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/file-storage/quickstart.mdx b/pages/file-storage/quickstart.mdx index 0e7f60f1cd..22a614eb9b 100644 --- a/pages/file-storage/quickstart.mdx +++ b/pages/file-storage/quickstart.mdx @@ -137,7 +137,7 @@ Your file system is now mounted and accessible from the specified mount point in 5. Run the following command. Make sure to replace the placeholder and mount point with the appropriate values: ```sh - umount /mnt/my_file_system + umount /mnt/my_fs ``` Your file system is now unmounted from the specified Instance.