Skip to content

Instantly share code, notes, and snippets.

@pingali
Created March 26, 2009 19:24
Show Gist options
  • Save pingali/86260 to your computer and use it in GitHub Desktop.
Save pingali/86260 to your computer and use it in GitHub Desktop.
Striping across EBS volumes
http://developer.amazonwebservices.com/connect/thread.jspa?threadID=30122&tstart=0
Create the new EBS volumes
Attach them to your instance
Use mdadm to create an md0 device in RAID 0 striped mode using the new EBS volumes
Stop MySQL
Format/mount md0 and copy all your data from the original EBS's mount point to the md0 device's mount point
Make any required changes to MySQL so it knows where to find the databases at the new mount point (or unmount the old EBS and remount md0 to the original mount point)
Test MySQL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment