Manage Smart Server Disks

Smart server storage is provided by disks. A disk is a partition of a data store that is allocated to a specific smart server. Disks can be assigned as standard or swap disks (there are no swap disks for Windows-based templates). They can also be set as primary (that is, the disk from which an OS will boot).

It is possible to use incremental backups. For details, see Smart Server Backups section of this guide. 
Managing disks for the entire cloud is handled through the Control Panel's Settings menu. Disks for individual smart servers are managed through the Control Panel's Smart Servers menu, where you can:

PLEASE NOTE: Creating multiple partitions on one disk is forbidden for Windows-based virtual servers.


Add Disks to Smart Server



Adding a disk to a smart server will require that server to be rebooted. If a smart server is running when you try to add a new disk to it, you'll be asked to confirm the reboot. To add a disk to a smart server:

  1. Go to your Control Panel > Cloud > Smart Servers menu.
  2. Click a smart server label to open its details screen.
  3. Click the Storage tab > Disks.
  4. Click the "+" button  or the Create Disk button.
  5. Fill in the details:

    • Specify disk's label
    • Choose the data store to create a disk on from the drop-down menu.
    • Set the desired disk size.

      The disk size should not exceed 2 TB when a new disk is added. You can later resize the disk if you need it to be larger than 2 TB.

    • Specify if this disk is swap space, and requires formatting.
    • Specify whether the disk should be added to Linux FSTAB, and its mount point. The maximum length of a Mount Point is 256 characters. Spaces are not allowed. No more than one slash is allowed. If the mount point is not specified the default mount point will be used: 

      /mnt/onapp-disk-#{disk.identifier}

      To be able to take incremental backups for virtual server’s disk, you must mount this disk to FSTAB (either Linux or FreeBSD) and specify the proper mount point manually. 

      Swap disks are not backed up.

  6. Click the Add Disk button to finish.

    When you add a new disk to a smart Compute resource it will automatically become available to that Compute resource.

Edit Smart Server Disks



You can easily resize disks when needed. The resize will fail if your current usage is greater than the new size you request. Note, that any changes on disk size will lead to reboot of your smart server.

To change disk size:

  1. Go to your Control Panel > Cloud > Smart Servers menu.
  2. Make sure your smart server is powered off, then click its label to open its details screen.
  3. Click the Storage tab > Disks.
  4. Click the Actions button next to the disk you want to change, then click the Edit link.
  5. Enter a new disk label and size in GB in the fields provided.
  6. Click the Save Disk button.


Migrate Smart Server Disks



You can migrate disks of your smart servers to other data stores, which are allocated to the same smart Compute resource or smart Compute zone. Disk migration requires reboot of the smart server (despite the template it is based on).

To migrate a disk:

  1. Go to your Control Panel > Cloud > Smart Servers menu.
  2. Make sure your smart server is powered off, then click its label to open its details screen.
  3. Click the Storage tab > Disks.
  4. Click the Actions button next to the disk you want to move to another data store, then click the Migrate button.
  5. On the screen that appears, select a target data store from a drop-down box.

  6. Click Start Migrate. 

  • You can only migrate disks to data stores in data store zones assigned to your bucket. 
  • You cannot migrate a disk to a data store with less capacity than the disk size.
  • If you movea 850GBdisk between aggregates with 10GB actual usage, the 'dd' image of the local volume manager will take 850GB space, because the entire local volume manager is copied, includingzero 'dspace which may not be able to be recovered.



Delete Smart Server Disks



To delete a disk:

  1. Go to your Control Panel > Cloud > Smart Servers menu.
  2. Make sure your smart server is powered off, then click its label to open its details screen.
  3. Click the Storage > Disks tab.
  4. Click the Actions button next to the disk you want to delete, then click Delete.