External Storage
This feature is not available with Genymotion Desktop at this time.
This feature is not available with Genymotion SaaS at this time.
It is possible to migrate an instance /data partition via external disks: any attached external disk will be used as internal storage by the Android OS (the /data partition). In that case, the /data partition that belongs to the primary disk won't be used. This disk can then be migrated to another instance if it runs with the same Android version.
This section provides you with detailed guides for each Cloud platform.
Generate and attach an external disk
- Create a new EBS volume from the EC2 console (Elastic Book Store > Volumes).
- Attach the volume to the desired instance.
- Start the instance.
From this point the external disk will be mounted on /data and will be seen as the instance internal storage by the Android OS.
- Create a new disk from the Disks section of the Compute Engine console
- Edit your instance details and add the new disk as an additional disk to your instance1
- Save the changes
- Start the instance
From this point the external disk will be mounted on /data and will be seen as the instance internal storage by the Android OS.
- Create a new disk from Storage & Snapshots > Disks > Create Disk
- Create a Data Disk type disk
- Click on your instance and go to the Disks section
- Click Attach Disk and select the disk you created
- Start the instance
From this point the external disk will be mounted on /data and will be seen as the instance internal storage by the Android OS.
- Go to Virtual Machines and click on your virtual machine (make sure it is Stopped)
- Go to Disks
- In the Data Disk section, click Create and attach a new disk
- Set the name, size and type to your needs and click
- Click Save
- When save is complete, start the virtual machine
From this point the external disk will be mounted on /data and will be seen as the instance internal storage by the Android OS.
It is also possible to create the external disk when creating the instance.
Migrate the external disk to another instance
The original and target instances MUST have the same Android version, or your target instance may become unusable.
- Make sure that both the original and target instances are powered off
- Detach the external volume from the original instance
- From Elastic Book Store > Volumes, attach the volume to the target instance
- Start the target instance
The original instance internal storage /data will then replace the target instance one - all the applications and settings installed in the original instance will be available in the target instance.
- Edit your original instance details and remove the external disk from Additional disks
- Edit your target instance details and add the external disk in Additional disks > Attach existing disk
If the instances are running, they will reboot when the external disk is removed or attached.
The original instance internal storage /data will then replace the target instance one - all the applications and settings installed in the original instance will be available in the target instance.
- Make sure that both the original and target instances are powered off
-
Detach the Data Disk from the original instance:
-
Attach the Disk to the target instance:
-
Start the target instance
The original instance internal storage /data will then replace the target instance one - all the applications and settings installed in the original instance will be available in the target instance.
- Make sure that both the original and target virtual machines are powered off
- Go to Virtual Machines and click on the original instance (make sure it is Stopped)
- Go to Disks
- In the Data Disk section, click next to the external disk you wish to detach
- Click Save
- Open the target virtual machine and go to Disks
- In the Data Disk section, click Attach existing disk
- In the Disk name drop down box, select the external disk
- Click Save
- Start the target virtual machine
The original instance internal storage /data will then replace the target instance one - all the applications and settings installed in the original instance will be available in the target instance.
-
If your instance is already running, it will automatically reboot to mount the external disk. ↩