Migrating a Volume

Introduction

When you migrate an instance from one availability zone (AZ) to another, the volumes that it uses need to be migrated as well.  The Nectar federation does not allow a volume in one AZ to be attached to an instance in a different AZ.

We will describe three distinct approaches to dealing with volume migration.  

  • Discarding and recreating scratch volumes

  • Migrating using Volume Backup

  • Migrating by copying data between volumes.

Each one has advantages and disadvantages.

Assumptions

The instructions on our tutorial page assume that you understand how to detach and attach volumes, and format new file systems (when required) and unmount and mount file systems, and deal with Linux’s mechanisms for configuring mounts to persist over reboots.  For more information on these topics, please refer to:

View the volume migration tutorial here.