Resize Disk Images At Linode

Virtual private servers or VPS such as Linode, where this site is hosted, allow users the ability to resize their disk images. Resizing allows you to allocate more storage to a disk image so you can store more files, or shrink a disk image so you have more storage for the other disk images in your account.

Here’s a quick checklist on how to resize a disk image in Linode.

  1. Log in to the Linode Manager.
  2. Click the Linodes tab. A list of your virtual private servers appears.
  3. Select a Linode. The Linode’s dashboard appears.
  4. Click Shut down to turn your Linode off.
  5. Select the disk image you want to resize. The Edit Disk Image webpage appears.
  6. In the New Size field, enter a different size for the disk image in megabytes.
  7. Click Save Changes. The Linode’s dashboard appears.
  8. Click Boot to turn on the Linode.
  9. You have successfully resized the disk image.

Batch Resize Images Using ImageMagick

If you are using Linux and you need to resize a hundred images or so, you can certainly use Gimp, but that would be too much work. Consider ImageMagick set of graphic tools. You can install ImageMagick on Ubuntu by going to the Terminal and typing: “sudo apt-get install imagemagick.” Once the application is installed, all you need to do is go to your image directory and execute the following command:

mogrify -resize 900x600 *.jpg

This command will resize any image with a .jpg extension to a size of 900×600 pixels.

One more thing. Make a backup of your originals.