Question

Mounting disk that persists over rebuilds

Posted August 9, 2013 3.2k views
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

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.

×
1 answer
The best way to get this done is to create a uservoice suggestion: https://digitalocean.uservoice.com/forums/136585-digital-ocean

If it gets enough votes, it might be considered on the roadmap :]
Submit an Answer