Question

Mounting disk that persists over rebuilds

  • Posted August 9, 2013

I’m looking to deploy servers by building images which I then use to create identical copies of servers. I also want to mount a separate disk that persists over rebuilding a server.

On EC2, I would do this by having an ephemeral root filesystem and an EBS volume mounted at /var/lib/mysql, for example.

But EBS is really slow. What would be brilliant is if I could in essence have two local disks – one which is the root filesystem and can be rebuilt from images, and another that persists over the reimage and can be mounted again in the same place.

See also: http://martinfowler.com/bliki/ImmutableServer.html

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

The best way to get this done is to create a uservoice suggestion: https://digitalocean.uservoice.com/forums/136585-digital-ocean <br> <br>If it gets enough votes, it might be considered on the roadmap :]