Is it possible to add an entire HDD drive to KVM VPS as a secondary disk in SolusVM?

Have more questions? Submit a request

Applicable to:

  • SolusVM

Question

Is it possible to add an entire HDD drive to KVM VPS as a secondary disk in SolusVM?

Answer

SolusVM does not support this scenario.
As a workaround, it can be added using the custom config:

  1. Add the HDD drive to the KVM slave node.
  2. Connect to the node via SSH
  3. Let's assume it is identified as /dev/sdc. Create a physical volume from this HDD:

    # pvcreate /dev/sdc

  4. Login to SolusVM admin panel
  5. Go to SolusVM > Virtual Servers > {VPS} > Custom Config
    ______.PNG
  6. Copy Live Config and paste it in Custom Config field:
    ______.PNG
  7. Add the following part in <devices></devices> section:

    CONFIG_TEXT: <devices>
    ...
    <disk type='file' device='disk'>
        <source file='/dev/sdc'/>
        <target dev='hde' bus='virtio'/>
        </disk>
    ...
    </devices>

    For example:

    ______.PNG

  8. Tick Enable Custom Config checkbox and click Save & Reboot

    ______.PNG

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.