diff --git a/pages/file-storage/how-to/mount-file-system.mdx b/pages/file-storage/how-to/mount-file-system.mdx index dd7972a8f7..90fd9fb626 100644 --- a/pages/file-storage/how-to/mount-file-system.mdx +++ b/pages/file-storage/how-to/mount-file-system.mdx @@ -28,24 +28,28 @@ This page explains how to mount a file system to one or several Scaleway Instanc 3. From the **Mount** section of the **Overview** page, copy the mounting command: ```bash - mount -t virtiofs /mnt + mount -t virtiofs /mnt/my_fs ``` -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/). + + 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`). + -5. Create a dedicated directory at the desired location (e.g. `/mnt/my_fs`) to use as a mount point. +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/). -5. Run the previously copied mount command to mount your file system. Make sure to specify the appropriate mount point: +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: ```bash - mount -t virtiofs /mnt/my_fs + mkdir 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 previously copied mount command to mount your file system. Make sure to specify the appropriate mount point: + + ```bash + mount -t virtiofs /mnt/my_fs + ``` -6. Run the following command to display the file systems of your Instance: +7. Run the following command to display the file systems of your Instance: ```bash df -h diff --git a/pages/file-storage/quickstart.mdx b/pages/file-storage/quickstart.mdx index 992e83c0a9..1c43c69b68 100644 --- a/pages/file-storage/quickstart.mdx +++ b/pages/file-storage/quickstart.mdx @@ -21,6 +21,7 @@ This guide teaches you how to quickly create, attach, mount, unmount, detach, an - A Scaleway account logged into the [console](https://console.scaleway.com) - [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization +- [Created at least one POP2 Instance](/instances/how-to/create-an-instance/) ## How to create a file system @@ -91,24 +92,28 @@ To mount a file system to an Instance, you must have [attached your file system 3. From the **Mount** section of the **Overview** page, copy the mounting command: ```bash - mount -t virtiofs /mnt + mount -t virtiofs /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`). + -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/). +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/). -5. Create a dedicated directory at the desired location (e.g. `/mnt/my_fs`) to use as a mount point. +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: -5. Run the previously copied mount command to mount your file system. Make sure to specify the appropriate mount point: + ```bash + mkdir mnt/my_fs + ``` + +6. Run the previously copied mount command to mount your file system. Make sure to specify the appropriate mount point: ```bash mount -t virtiofs /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: +7. Run the following command to display the file systems of your Instance: ```bash df -h