Enlarge a disk in Classic mode

Disk enlargement via the Gandi.net admin interface

This part is automatic and comparable to the Gandi AI peocedure

You can click on the disk in question:

Then on the link to enlarge it:

Then, chose the new size of your disk within the limit of your available disk quota.

Enlarging the disk of your virtual server

If this is not done automatically, if /proc/partitions is up to date on the virtual server (otherwise, stop/reboot to update it), you can enlarge the size in real-time of your system, data, or backup disks by the resize2fs /dev/xvdX command when logged in as root directly.

Distributions earlier than Cent OS6 must ust the resize2fs /dev/xvdX command (found in the e2fsprogs packet) or resize4fs /dev/xvdX (in the e4fsprogs packet), depending on the file system used to resize the disks in real-time.

Disks on the old storage infrastructure

Disks and servers created before April 2011 are still on the old storage platform. To not perform any hazardous manipulation while resizing the partitions of your disk (particularly the system disk), we suggest that you follow this new procedure.

In the list of your disks, you can see if there is an icon that warns you if the disk is on the old storage platform:

You can then click on this icon to create a copy of this disk, and it will be automatically migrated to the new storage infrastructure:

Warning: if the disk is attached to a virtual server, it will be stopped for the time necessary to perform the copy.

You can then replace the old disk by the new one (after attaching it to the virtual server) on the administration page of your server in the list of disks.

Warning: in the event of a system disk, it is necessary to select the one that you want to use as a boot disk.

Enlarge the target disk as needed, and then reboot your virtual server.

Last modified: 02/13/2014 at 16:00 by Ryan A. (Gandi)