Local Storage
Each Voltage Park On Demand bare metal server has a 512GB boot disk and 6 3.2TB NVMe SSDs of locally-attached storage. This article will guide you on how to mount a partition.
Overview
By default, Voltage Park On Demand bare metal servers come with 1 NVMe SSD mounted at the root
partition. Additional NVMe SSDs come unmounted, providing unparalleled customizability for HPC workloads — you can configure custom hyperconverged storage clusters, distributed storage, and RAID.
In this article, we'll guide you on how to create an LVM volume from the 6 disks not mounted at the /
partition and mount it at /data.
Step 1: Status Check
When deploying your server, verify that all disks are present by running the following command:
Confirm that disks
/dev/nvme1n1
through/dev/nvme6n1
are present.
Step 2: Set up the LVM partition
Initialize the physical volume across all NVMe SSDs
Run the following command:
Confirm that your output matches the following:
Run the following command:
Confirm that your output matches the following:
Run the following command:
Confirm that your output matches the following:
Run the following command:
Please note that this may take a few moments to complete.
Once completed, confirm that your output looks like the following:
Step 3: Temporarily Mount the LVM to the Filesystem
For this example, we will mount the 6x 3.2 TB LVM at /data
. To do this, run the following command:
If this command succeeds, you will not see any errors returned.
Run the following command, replacing /data
with the folder where you want to mount the LVM:
Confirm that there are no issues
If you run df -h
, you should see the LVM mounted at /data
. Please refer to the last line of the output below.
If this succeeds, we know that the partition is correctly configured and that our mount point has been correctly created. In Step 4 below, we'll unmount the LVM and configure the partition to be set up on boot.
Run the following command:
Please make sure that no errors persist beyond this point before proceeding.
Step 4: Permanently Mount the LVM to the Filesystem
Run the following command to find the UUID of the LVM and copy the UUID from the output:
In the following example, the UUID is 505cf49d-a247-428e-8941-6bcf3b72d5b3
.
The fstab
file defines directories and mount points for the next boot.
Step 1: Run the following command
Step 2: Append the following line to the bottom of the file, replacing
[INSERT UUID HERE]
with the UUID you copied from above.UUID=[INSERT UUID HERE] /data ext4 defaults 0 0
Please see the example file below.
To close and exit Nano
, press Ctrl + X
, then type y
when prompted to save changes, and press Enter
to confirm.
The fstab
file determines which partitions are mounted at boot.
If this file is invalid and the system reboots, it may fail to boot properly. Therefore, it’s essential to verify that the fstab
file is correct and valid.
Run the following command:
Make sure your output matches the following:
Run the following command:
Step 5: Congratulations!
Verify that
df -h
now shows an 18 TB partition mounted at/data
Run the following command:
Please review the last line of the output below to confirm that it shows an 18 TB partition mounted at /data
.
If you've reached this point, congratulations! You're now ready to use your 18TB partition! :)
If you have not yet reached this point and need assistance, please reach out to support@voltagepark.com. Our round-the-clock support is ready to help!
Last updated