Link to home
Start Free TrialLog in
Avatar of Yovan Escobar
Yovan Escobar

asked on

How can I duplicate multiple ebs volume from a single volume in AWS

I am trying to duplicate my SP2 EBS volume and mount it on multiple (Dev1, Dev2, QA) instances in AWS. So my main concern is how can I copy it or duplicate it? So I know i need to do the following for Dev1:

  1. create a snapshot of my Dev1 instance
  2. stop the server
  3. umount /opt  ----in the command line
  4. detach the old EBS block device:  /dev/sdf which is my /opt.
  5. --how to I copy the SP2 volume so I can attach it on the next step?
  6. attach the new volume
  7. mount -a   ----in the command line
  8. e2fsck -f /dev/xvdj
  9. resize2fs /dev/xvdj
  10. start the server
ASKER CERTIFIED SOLUTION
Avatar of George Khairallah
George Khairallah
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial