Add additional Hard disk partition for OpenVZ VM.
It is not possible to add an additional partition to the VPS in SolusVM at the moment.
However, it is possible to do this using OpenVZ native tools.
For example, there is a device /dev/sdb on the hardware node and it is necessary to add it to the VPS 101.
Here is the instruction:
Create a partition /dev/sdb1 and format it in ext4 filesystem type.
Add /dev/sdb1 to the VPS with the command:
# vzctl set 101 --devnodes sdb1:rw --save
Enter the VPS and mount the device to filesystem:
# vzctl enter 101
# mount -t ext4 /dev/sdb1 /mnt
It would be good if we have this built-in option in SolusVM.
4
votes
Harsha
shared this idea
-
Marcelo commented
This will indeed be a great feature for SolusVM.
Hope you can consider it.