Report this

What is the reason for this report?

Getting started with btrfs

Posted on November 30, 2013

I would like to try using btrfs so that I can easily snapshot my application data before rolling out new versions. I don’t need my whole filesystem to be btrfs (as nice as that might be), one mount point (say, /data) would be fine.

Are there any guides for how to repartition disks in the context of Digital Ocean?



This textbox defaults to using Markdown to format your 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.

One solution would be to use btrfs with a loop device. Your data will be stored in a btrfs image file.

Note: I recommend you use a recent kernel version (4+). I use BTRFS on my personal system and things are mostly ok, some performance issues when databases/indexing happens. I’ve read that Facebook is preparing to roll it in production systems. The future is bright :)

Some notes: https://meta.discourse.org/t/rough-notes-getting-btrfs-working-on-digital-ocean/20246 http://www.funtoo.org/BTRFS_Fun

Unfortunately we do not support partitioning yet.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.