Proteggiamo il tuo ambiente digitale da qualsiasi attacco informatico. Sfrutta tutte le potenzialità della piattaforma SGBox!

Gallery

Contatti

Via Melchiorre Gioia, 168 - 20125 Milano

info@sgbox.it

+39 02 60830172

Search another article?

You are here:
< Back

The data disk

This article explains how to expand the capacity of SGBox’s data disk. Using LVM partitions you can add new disks and show them as a big single disc.
In order to extend disk

Requirements:

  • Sgbox must support LVM partitions: in the login screen there is an L next to the version number.
  • You have to add a new disk to the virtual machine.
  • SGBox must be updated to version 4.0.0.

Connect in ssh (using for example Putty program) to SGBox specifying the user cli.
If you haven’t changed them through the wizard, the default credentials are:

user: cli
pass: CL1changePW

Select Hard disk management
Extend Data Disk (SGBox V4)

Re-enter cli user password.
Extend Data Disk (SGBox V4)

Select Rescan drives.
Extend Data Disk (SGBox V4)

In our case, we see that:

  • The hard disk sda: has a partition ( sda2 ) with the LVM configured (vg_sgbox-lv_sgbox)
  • New added disk appears with sdb and is not partitioned

Extend Data Disk (SGBox V4)

Select Extend SGBox storage to another disk.
Extend Data Disk (SGBox V4)

A warning asks if we want to continue with the installation.
Click on Yes.
Extend Data Disk (SGBox V4)

Write the name of the hard disk you want to partition, in our case sdb.
Extend Data Disk (SGBox V4)

A warning tells us that hard disk will be partitioned and all data on the hard disk we have indicated will be deleted.
Click on Yes.
Extend Data Disk (SGBox V4)

We are shown as first step the partitioned sdb hard disk.
Click on OK
Extend Data Disk (SGBox V4)

We are then shown the hard disk with LVM configured.
Click on OK.
Extend Data Disk (SGBox V4)

Click OK again to exit the wizard.
Extend Data Disk (SGBox V4)

Below we can see two images of the dashboard, before and after the disk extension.
data disk is 15G
Extend Data Disk (SGBox V4)

After the procedure, the data disk is 16G
Extend Data Disk (SGBox V4)