A guide explaining how to attach and mount Vultr Block Storage volumes on Linux operating systems.
Mounting a Vultr File System volume on Linux allows you to expand storage and share files across multiple Vultr Cloud Compute instances. This process involves creating a mount point, mounting the Vultr File System volume, and configuring it for automatic mounting at boot.
Follow this guide to mount a Vultr File System volume on Linux.
Check your system's Linux Kernel version and ensure it's 5.4.x or later.
Ensure your system is compatible with virtiofs.
Verify that the virtiofs Kernel module is loaded.
If the virtiofs module is not loaded, run the following command to load it manually:
Create a new directory such as /mnt/vfs to mount the Vultr File System volume.
Mount the Vultr File System volume to the directory using its Mount Tag. For instance, 79287343.
Open the Vultr File System volume's management page to find the Mount Tag to use in the above command.
Query the /etc/mtab file to get information about the newly mounted volume.
Copy the command's output to your clipboard. For instance:
Open the /etc/fstab file to automatically mount the new volume at boot.
Append the volume information you copied earlier to the end of the file.
Save and close the file.
List all mounted file systems and verify that the virtiofs volume is available.
Output:
Create a new greetingsfromvultr.txt file in the /mnt/vfs directory to test write permissions on the volume.
0 Comments
Be the first to comment and share your perspective with the community.